20#ifndef _CONNECTORPLUGIN_HXX_
21#define _CONNECTORPLUGIN_HXX_
Header file for Cell class.
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for Monte-Carlo Source abstract class.
Header file for MathNode class.
Header file for MureGroupBin class.
Header file for MureSimpleBin class.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
Define a Connector plugin.
Definition ConnectorPlugin.hxx:55
virtual void UpdateSigmaPhiDetectors()=0
update (read from MC output) automatic tallies for standard evolution
virtual string PrintModeratorMaterial(Material *mat)=0
Print a special S(alpha, Beta) treatment associated to a Material in the MC input file.
MCSource * fSource
The MC particle source.
Definition ConnectorPlugin.hxx:187
virtual MureGroupBin * GetNewGroupBin()=0
a way to obtain a new roupBin (here a MureGroupBin) from every where
bool IsTHMultiGroupTalliesUsed()
Definition ConnectorPlugin.hxx:86
MCSource * GetMCSource()
Definition ConnectorPlugin.hxx:111
bool fRebuildDetector
whether or not rebuild detectors (for thermo-hydraulics)
Definition ConnectorPlugin.hxx:186
virtual void BuildTHMultiGroupDetectors()=0
virtual MathNode * GetNewNode(int sign)
a way to obtain a new Node (here a MathNode) from every where
Definition ConnectorPlugin.cxx:71
virtual void UpdateTHMultiGroupSigmaPhiDetectors()=0
virtual void UpdateMultiGroupSigmaPhiDetectors()=0
update (read from MC output) automatic tallies for multigroup evolution
virtual string Print(Transformation *Transfo)=0
print transformation (translation &rotation) card
virtual void UpdateTallyBinVolume()=0
Reread all bins and assign necessary volume.
bool IsSerpentConnector()
Definition ConnectorPlugin.hxx:177
virtual string PrintMaterialId(int id)
Definition ConnectorPlugin.hxx:173
ConnectorPlugin()
Definition ConnectorPlugin.cxx:34
virtual ConnectorPlugin * Clone()=0
Clone method.
virtual string GetMCExecCommandString(string InputFileName, string Arg="", string FileArg="")
Definition ConnectorPlugin.hxx:124
void SetMCSource(MCSource *source)
set the MC particle source to the Connector
Definition ConnectorPlugin.cxx:77
string GetMCGlobalOutputFileName(string InputFileName)
Definition ConnectorPlugin.hxx:128
bool fPinCellBuilt
whether or not PinCell have already been built
Definition ConnectorPlugin.hxx:190
virtual void SumOutputDetectorFile(string DetectorBaseFileName, int N, string SumDetectorFileName)=0
virtual void FindMissingVolume()=0
Find Missing cell volumes for tallies.
string fMCGlobalOutputSuffix
"o" file for MCNP and it should be "_res.m" file for Serpent
Definition ConnectorPlugin.hxx:188
virtual void BuildMultiGroupDetectors()=0
build automatic tallies for in a multigroup evolution
virtual void UpdateKeff()=0
read from MC output the keff and give it to MURE
bool IsVolumeCalculationNeeded()
scan tallies to find if a bin need a volume that is, for now, unknown
Definition ConnectorPlugin.cxx:85
string fMCDetectorOutputSuffix
"m" files for MCNP or "_det0.m" for Serpent
Definition ConnectorPlugin.hxx:189
virtual ~ConnectorPlugin()
Definition ConnectorPlugin.cxx:49
bool fTHMultigroupTallies
True in Thermal hydraulics multigroup calculation.
Definition ConnectorPlugin.hxx:192
virtual void FindDetectorMCUserFile()=0
Find tallies in a MCUser input files.
virtual string GetMCDetectorOutputFileName(string InputFileName, bool OnlyKeff=false)
Definition ConnectorPlugin.hxx:132
virtual void BuildDetectors()=0
build automatic tallies for standard evolution
virtual string PrintId(Cell *cell)=0
print a "generic" id name to cell number (e.g. "c"=>c1)
virtual MureSimpleBin * GetNewSimpleBin()=0
a way to obtain a new SimpleBin (here a MureSimpleBin) from every where
virtual string Print(Material *mat)=0
Print a material in the MC input file.
virtual string PrintId(Material *material)=0
print a "generic" id name to material number (e.g. "m"=>m1)
virtual void WriteMCFileWithoutDetector(string FileName="inp", bool tmpvol=false)
build a MC input file without tally just to obtain keff for void, temperature coefficient,...
Definition ConnectorPlugin.hxx:160
virtual void BuildPinCells(bool Auto=false)=0
virtual void BuildXSDIR()=0
bool fIsSerpentConnector
Definition ConnectorPlugin.hxx:194
virtual void BuildMCFile(string FileString="")=0
Build the MC input file from the MURE one.
virtual string Print(Cell *TheCell)=0
Print a cell in the MC input file.
Define a Monte-Carlo Source.
Definition MCSource.hxx:53
A Material constituing a Cell.
Definition Material.hxx:83
MathNode allows to construct Union or Intersection of Shape.
Definition MathNode.hxx:50
Define group cell or surface bin.
Definition MureGroupBin.hxx:58
Define a general Simple Tally Bin (cell, universe or surface).
Definition MureSimpleBin.hxx:69