|
| | ControlMaterial () |
| | Normal Constructor.
|
| |
| | ControlMaterial (int theNumber) |
| | Special Constructor.
|
| |
| | ControlMaterial (const ControlMaterial &m) |
| | Copy constructor.
|
| |
| | ControlMaterial (const Material &m) |
| | Copy constructor.
|
| |
| | ~ControlMaterial () override |
| | Destructor.
|
| |
| Material * | Copy () override |
| | Correct copy method. Use instead of copy constructor!
|
| |
| void | AddTheControlNucleus (int Z, int A, double Proportion, ProportionUnitType ProportionUnit=kpMOL) |
| | Add the nucleus chosen as the control nucleus (tallies are taken for it)
|
| |
| Material * | Clone (double Temperature=- 1) override |
| | Clone a ControlMaterial.
|
| |
| vector< int > & | GetControlIndex () |
| |
| vector< Reaction > & | GetControlReactions () |
| |
| void | AddControlReaction (int code) |
| | add a reaction code (ENSDF) to be tallied
|
| |
| void | AddControlReaction (Reaction r) |
| |
| ControlMaterial * | Mix (Material *M2, double part, ProportionUnitType ProportionUnit) |
| | Mix 2 Materials.
|
| |
| vector< Material * > | Duplicate (int N, bool TrueClone=true) override |
| | Duplicate material n times over.
|
| |
| void | CopyMaterialControl (ControlMaterial *m) |
| |
| | Material () |
| | Normal Constructor.
|
| |
| | Material (int theNumber) |
| | Special Constructor.
|
| |
| | Material (const Material &m) |
| | Copy constructor.
|
| |
| virtual | ~Material () |
| | Destructor.
|
| |
| virtual Material * | Copy () |
| | Copy a Material.
|
| |
| virtual Material * | Clone (double Temperature=- 1) |
| | Clone a Material.
|
| |
| void | AddNucleus (int Z, int A, double Proportion=1., ProportionUnitType ProportionUnit=kpMOL, string ModeratorCategory="") |
| | Add a new Nucleus to the Material composition in the ground state.
|
| |
| void | AddNucleus (int Z, int A, int I, double Proportion, ProportionUnitType ProportionUnit=kpMOL, string ModeratorCategory="") |
| | Add a new Nucleus to the Material composition.
|
| |
| void | AddNucleus (ZAI *zai, double Proportion=1., ProportionUnitType ProportionUnit=kpMOL, string ModeratorCategory="") |
| | Add a new Nucleus to the Material composition.
|
| |
| void | AddNucleus (Nucleus_ptr nucleus, double Proportion=1., ProportionUnitType ProportionUnit=kpMOL) |
| | Add a new Nucleus to the Material composition.
|
| |
| vector< Nucleus_ptr > & | GetComposition () |
| |
| Nucleus_ptr | GetComposition (int i) |
| |
| void | SetComposition (vector< Nucleus_ptr > f) |
| |
| Nucleus_ptr | GetNucleus (int Z, int A, int I=0) |
| | return the Nucleus Z, A, I
|
| |
| double | GetProportion (int i, ProportionUnitType ProportionUnit) |
| |
| void | SetProportion (int i, double proportion, ProportionUnitType ProportionUnit) |
| | Set the Proportion of the ith nucleus.
|
| |
| void | ResetProportion () |
| | set all proprtion to 0.
|
| |
| Material * | Mix (Material *M2, double part, ProportionUnitType ProportionUnit=kpMOL) |
| | Mix 2 Materials.
|
| |
| void | Proportion2AtomCM3 () |
| | Convert proportion unit (kpMOL or kpMASS) in at/cm3.
|
| |
| ProportionUnitType | GetProportionUnit () |
| |
| double | SumProportion () |
| | return the sum of Proportion of each nucleus
|
| |
| int | GetZAIIndex (ZAI *zai) |
| | Get the index of a given zai in the composition vector. Return -1 if not there.
|
| |
| int | GetZAIIndex (int Z, int A, int I) |
| | Get the index of a given zai in the composition vector. Return -1 if not there.
|
| |
| void | UpdateZAI (bool WithReactions=true, bool WithSF=true) |
| | Update all ZAI of material (With reactions&decays or just decays).
|
| |
| void | AddToGlobalNucleiVector () |
| | add all nuclei of this material to GlobalNucleiVector
|
| |
| void | AddZAIDaughters (ZAI *zai) |
| | add the daughters of zai in this with proportion=0
|
| |
| void | CFAddElement (int Z, double p) |
| |
| void | CFAddElement (double h, int Z, double p) |
| |
| void | CFAddElement (double h, string Z, double p) |
| |
| void | CFAddElement (string Z, double p) |
| |
| void | CFAddElementNucleus (int Z, int A, int I, double frac, ProportionUnitType unit) |
| |
| void | CFAddElementNucleus (int Z, int A, double frac, ProportionUnitType unit) |
| |
| void | CFCalculateMaterial () |
| |
| void | CFSetDensity (double dens, DensityUnitType unit) |
| |
| double | GetDensity (DensityUnitType DensityUnit) |
| |
| void | SetDensity (double Density, DensityUnitType DensityUnit=kdGCM3) |
| | Set the density.
|
| |
| DensityUnitType | GetDensityUnit () |
| |
| double | GetTemperature () |
| |
| void | SetTemperature (double T=293.6) |
| | Set the temperature in K.
|
| |
| bool | HasModerator () |
| |
| void | SetModeratorName (string name) |
| |
| string | GetModeratorName () |
| |
| double | MeanMolarMass () |
| | return the mean molar mass (in gram)
|
| |
| bool | IsFuel () |
| |
| bool | IsModerator () |
| |
| bool | IsCladding () |
| |
| bool | IsCoolant () |
| |
| bool | IsCoolantGap () |
| |
| bool | IsModeratorBox () |
| |
| bool | IsControlMaterial () |
| |
| void | SetFuel (bool flag=true) |
| |
| void | SetModerator (bool flag=true) |
| |
| void | SetCladding (bool flag=true) |
| |
| void | SetCoolant (bool flag=true) |
| |
| void | SetCoolantGap (bool flag=true) |
| |
| void | SetModeratorBox (bool flag=true) |
| |
| string | PrintAll () |
| | Print the Material (and its Nuclei) in MCNP format.
|
| |
| string | PrintCompositionInfo () |
| |
| void | ForbidPrint () |
| | Forbid Material print in MCNP.
|
| |
| void | EnablePrint () |
| |
| void | SetPseudoMaterial () |
| | Define a pesudo material.
|
| |
| bool | IsPseudoMaterial () |
| |
| bool | IsPrintable () |
| |
| string | PrintDensityUnit (DensityUnitType DensityUnit=kdUNDEFINED) |
| | Pretty print of density units.
|
| |
| string | PrintProportionUnit (ProportionUnitType ProportionUnit=kpUNDEFINED) |
| | Pretty print of proportion units.
|
| |
| void | DumpMaterial (string filename="material.dat") |
| | Make a nuclear chart &ascii tree of the material &write them to disk.
|
| |
| void | DumpCompositionInfo (string name="CompInfo.dat") |
| | Write the full composition information to a file.
|
| |
| void | DumpMaterial (string Filename, double Mass, double Volume) |
| | Dump a material which can be open with MureGui -onlytox.
|
| |
| int | GetNumber () |
| |
| void | SetNumber (int n) |
| |
| void | SetDefaultXSExtension (string name) |
| | Set a default extension for all nuclei of the material.
|
| |
| string | GetDefaultXSExtension () |
| |
| void | SetEvolution () |
| | Say that this Material will evolve.
|
| |
| bool | IsEvolving () |
| |
| bool | IsPerturbative () |
| |
| void | SetPerturbative (bool flag=true) |
| |
| void | SortCompositionByAmount () |
| | Sort the proportions/compositions in proportion order (highest first).
|
| |
| void | SortCompositionByMass () |
| | Sort the proportions/compositions in atomic mass order (highest first).
|
| |
| void | FindTotalSigmaPerNucleus () |
| | Find total cross-section.
|
| |
| Material * | GetFatherOfPseudoClone () |
| |
| void | SetTemperatureEvolution (bool flag=true) |
| | set the Temperature evolution flag
|
| |
| bool | IsOutCore () |
| |
| Cell * | SetOutCore (int TheNumber, double TheVolume) |
| | return a out core cell of volume TheVolume and number TheNumber
|
| |
| void | SetMaterialName (string name) |
| |
| string | GetMaterialName () |
| |
| void | SetIsPerturbativeTallyMaterial (bool f=true) |
| |
| bool | IsPerturbativeTallyMaterial () |
| |
| bool | IsZAIInTree (ZAI *zai) |
| |
| bool | IsZAIInTree (int Z, int A, int I) |
| |
| ZAI * | GetZAIInTree (ZAI *zai) |
| |
| ZAI * | GetZAIInTree (int Z, int A, int I) |
| |
A ControlMaterial.
ControlMaterial allows to control Evolution via tallies of a material, e.g. poison control or fissile content control. Appropriate EvolutionControl has to be used or defined, as well as reactions used for tallying.
- Author
- Frantisek Havluj
-
PTO
- Version
- 0.1