19#ifndef _SerpentSource_
20#define _SerpentSource_
88 string Print()
override;
Header file for Cell class.
Header file for Monte-Carlo Source abstract class.
Reference_ptr< Shape > Shape_ptr
Definition SerpentSource.hxx:42
Header file for Shape class and Shape_ptr type.
Header file for Spectrum class.
Header file for TReference class and Reference_ptr template.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
Define a Monte-Carlo Source.
Definition MCSource.hxx:53
A MathTube is a finite cylinder with an optional hole inside (like a pipe).
Definition MathTube.hxx:50
Define a Serpent Source.
Definition SerpentSource.hxx:54
string Print() override
Print the Serpent source (into Serpent input file).
Definition SerpentSource.cxx:57
void SaveSourceInFile(string FileToSaveSource)
Definition SerpentSource.cxx:112
void SetSurface(Shape_ptr TheShape) override
set the Surface number for a surface source.
Definition SerpentSource.cxx:132
string fFileToSaveSource
Name of the file in which the source of the current run will be saved.
Definition SerpentSource.hxx:98
void SetCell(Cell *TheCell)
Definition SerpentSource.hxx:77
~SerpentSource() override
destructor
int fCellNumber
Definition SerpentSource.hxx:99
MCSource * Clone() override
Clone method.
Definition SerpentSource.hxx:62
void UsePreviousRunSource(string FirstSource="") override
use a previous kcode source for serpent.
Definition SerpentSource.cxx:124
bool fSaveCurrentSource
Whether MURE must save the source distribution of the current run in a file.
Definition SerpentSource.hxx:97
Abstract class to define geometrical shapes.
Definition Shape.hxx:85
the namespace of the Standard C++