|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| Function1dForm (std::string const &a_moniker, FormType a_type, ptwXY_interpolation a_interpolation, int a_index, double a_outerDomainValue) | |
| Function1dForm (std::string const &a_moniker, FormType a_type, Axes const &a_axes, ptwXY_interpolation a_interpolation, int a_index, double a_outerDomainValue) | |
| Function1dForm (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, FormType a_type, Suite *a_suite=nullptr) | |
| Function1dForm (Function1dForm const &a_form) | |
| ~Function1dForm () | |
| Function1dForm & | operator= (Function1dForm const &a_rhs) |
| virtual double | evaluate (double a_x1) const =0 |
| virtual void | mapToXsAndAdd (std::size_t a_offset, std::vector< double > const &a_Xs, std::vector< double > &a_results, double a_scaleFactor) const |
| virtual XYs1d * | asXYs1d (bool a_asLinlin, double a_accuray, double a_lowerEps, double a_upperEps) const |
| virtual void | write (FILE *a_file, std::string const &a_format) const |
| void | print (std::string const &a_format) const |
| Public Member Functions inherited from GIDI::Functions::FunctionForm | |
| FunctionForm (std::string const &a_moniker, FormType a_type, int a_dimension, ptwXY_interpolation a_interpolation, int a_index, double a_outerDomainValue) | |
| FunctionForm (std::string const &a_moniker, FormType a_type, int a_dimension, Axes const &a_axes, ptwXY_interpolation a_interpolation, int a_index, double a_outerDomainValue) | |
| FunctionForm (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, FormType a_type, int a_dimension, Suite *a_suite=nullptr) | |
| FunctionForm (FunctionForm const &a_form) | |
| ~FunctionForm () | |
| FunctionForm & | operator= (FunctionForm const &a_rhs) |
| int | dimension () const |
| int | index () const |
| double | outerDomainValue () const |
| void | setOuterDomainValue (double a_outerDomainValue) |
| Axes const & | axes () const |
| Axes & | axes () |
| ptwXY_interpolation | interpolation () const |
| void | setInterpolation (ptwXY_interpolation a_interpolation) |
| std::string | interpolationString () const |
| virtual double | domainMin () const =0 |
| virtual double | domainMax () const =0 |
| virtual void | toXMLList_func (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, bool a_embedded, bool a_inRegions) const |
| void | toXMLList (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent) const |
| Public Member Functions inherited from GIDI::Form | |
| Form (FormType a_type) | |
| Form (std::string const &a_moniker, FormType a_type, std::string const &a_label) | |
| Form (HAPI::Node const &a_node, SetupInfo &a_setupInfo, FormType a_type, Suite *a_suite=nullptr) | |
| Form (Form const &a_form) | |
| virtual | ~Form () |
| Form & | operator= (Form const &a_rhs) |
| Suite * | parent () const |
| std::string const & | label () const |
| void | setLabel (std::string const &a_label) |
| virtual std::string | actualMoniker () const |
| std::string const & | keyName () const |
| void | setKeyName (std::string const &a_keyName) |
| std::string const & | keyValue () const |
| virtual void | setKeyValue (std::string const &a_keyName) const |
| FormType | type () const |
| Form const * | sibling (std::string a_label) const |
| GUPI::Ancestry * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) |
| GUPI::Ancestry const * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) const |
| std::string | xlinkItemKey () const |
| Public Member Functions inherited from GUPI::Ancestry | |
| Ancestry (std::string const &a_moniker, std::string const &a_attribute="") | |
| virtual | ~Ancestry () |
| Ancestry & | operator= (Ancestry const &a_ancestry) |
| std::string const & | moniker () const |
| void | setMoniker (std::string const &a_moniker) |
| Ancestry * | ancestor () |
| Ancestry const * | ancestor () const |
| void | setAncestor (Ancestry *a_ancestor) |
| std::string | attribute () const |
| Ancestry * | root () |
| Ancestry const * | root () const |
| bool | isChild (Ancestry *a_instance) |
| bool | isParent (Ancestry *a_parent) |
| bool | isRoot () const |
| Ancestry * | findInAncestry (std::string const &a_href) |
| Ancestry const * | findInAncestry (std::string const &a_href) const |
| virtual Ancestry * | findInAncestry3 (std::string const &a_item)=0 |
| virtual Ancestry const * | findInAncestry3 (std::string const &a_item) const =0 |
| virtual LUPI_HOST void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| std::string | toXLink () const |
| void | printXML () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from GUPI::Ancestry | |
| static std::string | buildXLinkItemKey (std::string const &a_name, std::string const &a_key) |
| GIDI::Functions::Function1dForm::Function1dForm | ( | std::string const & | a_moniker, |
| FormType | a_type, | ||
| ptwXY_interpolation | a_interpolation, | ||
| int | a_index, | ||
| double | a_outerDomainValue ) |
| a_moniker | [in] The moniker for this. |
| a_type | [in] The FormType the class represents. |
| a_interpolation | [in] The interpolation along the outer most independent axis and the dependent axis. |
| a_index | [in] Currently not used. |
| a_outerDomainValue | [in] If embedded in a higher dimensional function, the value of the domain of the next higher dimension. |
Definition at line 348 of file GIDI_form.cc.
Referenced by GIDI::Functions::Regions1d::append(), GIDI::Functions::Branching1d::Branching1d(), GIDI::Functions::Constant1d::Constant1d(), GIDI::Functions::Constant1d::Constant1d(), GIDI::Functions::FissionEnergyRelease::delayedBetaEnergy(), GIDI::Functions::FissionEnergyRelease::delayedBetaEnergy(), GIDI::Functions::FissionEnergyRelease::delayedGammaEnergy(), GIDI::Functions::FissionEnergyRelease::delayedGammaEnergy(), GIDI::Functions::FissionEnergyRelease::delayedNeutronKE(), GIDI::Functions::FissionEnergyRelease::delayedNeutronKE(), GIDI::Functions::ResonanceBackground1d::fastRegion(), GIDI::Functions::FissionEnergyRelease::FissionEnergyRelease(), Function1dForm(), GIDI::Functions::Gridded1d::Gridded1d(), GIDI::Functions::Legendre1d::Legendre1d(), GIDI::Functions::Legendre1d::Legendre1d(), GIDI::Functions::Legendre1d::Legendre1d(), GIDI::Functions::FissionEnergyRelease::neutrinoEnergy(), GIDI::Functions::FissionEnergyRelease::neutrinoEnergy(), GIDI::Functions::FissionEnergyRelease::nonNeutrinoEnergy(), GIDI::Functions::FissionEnergyRelease::nonNeutrinoEnergy(), operator=(), GIDI::Functions::Regions1d::operator[](), GIDI::Functions::Polynomial1d::Polynomial1d(), GIDI::Functions::Polynomial1d::Polynomial1d(), GIDI::Functions::Polynomial1d::Polynomial1d(), GIDI::Functions::FissionEnergyRelease::promptGammaEnergy(), GIDI::Functions::FissionEnergyRelease::promptGammaEnergy(), GIDI::Functions::FissionEnergyRelease::promptNeutronKE(), GIDI::Functions::FissionEnergyRelease::promptNeutronKE(), GIDI::Functions::FissionEnergyRelease::promptProductKE(), GIDI::Functions::FissionEnergyRelease::promptProductKE(), GIDI::Functions::Reference1d::Reference1d(), GIDI::Functions::Regions1d::Regions1d(), GIDI::Functions::ResonanceBackground1d::resolvedRegion(), GIDI::Functions::ResonanceBackground1d::ResonanceBackground1d(), GIDI::Functions::ResonanceBackgroundRegion1d::ResonanceBackgroundRegion1d(), GIDI::Functions::ResonancesWithBackground1d::ResonancesWithBackground1d(), GIDI::Functions::ThermalNeutronScatteringLaw1d::ThermalNeutronScatteringLaw1d(), GIDI::Functions::FissionEnergyRelease::totalEnergy(), GIDI::Functions::FissionEnergyRelease::totalEnergy(), GIDI::Functions::ResonanceBackground1d::unresolvedRegion(), GIDI::Functions::Unspecified1d::Unspecified1d(), GIDI::Functions::URR_probabilityTables1d::URR_probabilityTables1d(), GIDI::Functions::Xs_pdf_cdf1d::Xs_pdf_cdf1d(), GIDI::Functions::Xs_pdf_cdf1d::Xs_pdf_cdf1d(), GIDI::Functions::Xs_pdf_cdf1d::Xs_pdf_cdf1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::XYs1d::XYs1d(), GIDI::Functions::Ys1d::Ys1d(), GIDI::Functions::Ys1d::Ys1d(), GIDI::Functions::Ys1d::Ys1d(), and GIDI::Functions::Ys1d::Ys1d().
| GIDI::Functions::Function1dForm::Function1dForm | ( | std::string const & | a_moniker, |
| FormType | a_type, | ||
| Axes const & | a_axes, | ||
| ptwXY_interpolation | a_interpolation, | ||
| int | a_index, | ||
| double | a_outerDomainValue ) |
| a_moniker | [in] The moniker for this. |
| a_type | [in] The FormType the class represents. |
| a_axes | [in] The axes to copy for this. |
| a_interpolation | [in] The interpolation along the outer most independent axis and the dependent axis. |
| a_index | [in] Currently not used. |
| a_outerDomainValue | [in] If embedded in a higher dimensional function, the value of the domain of the next higher dimension. |
Definition at line 362 of file GIDI_form.cc.
| GIDI::Functions::Function1dForm::Function1dForm | ( | Construction::Settings const & | a_construction, |
| HAPI::Node const & | a_node, | ||
| SetupInfo & | a_setupInfo, | ||
| FormType | a_type, | ||
| Suite * | a_suite = nullptr ) |
| a_construction | [in] Used to pass user options to the constructor. |
| a_node | [in] The HAPI::Node to be parsed and used to construct the FunctionForm. |
| a_setupInfo | [in] Information create my the Protare constructor to help in parsing. |
| a_type | [in] The FormType the class represents. |
| a_suite | [in] The parent GIDI::Suite. |
Definition at line 376 of file GIDI_form.cc.
| GIDI::Functions::Function1dForm::Function1dForm | ( | Function1dForm const & | a_form | ) |
| a_form | [in] The Function1dForm to copy. |
Definition at line 386 of file GIDI_form.cc.
| GIDI::Functions::Function1dForm::~Function1dForm | ( | ) |
Definition at line 394 of file GIDI_form.cc.
|
virtual |
This method writes a warning message stating that the write method has not been implemented for this.
| a_file | [in] The C FILE instance to write the data to. |
| a_format | [in] The format string passed to each region's write method. This method returns a nullptr since this methods was not implemented in the the derived class. |
| a_asLinlin | [in] If true, the inpolatation of the returned XYs1d instance will always be lin-lin. Otherwise, the interpolation depends on the child 1d functions. This argument is not needed or used for this class. |
| a_accuracy | [in] The accuracy use to convert the data to lin=lin interpolation if needed. This argument is not needed or used for this cl |
| a_lowerEps | [in] The relative domain ammount to put a point below a boundary between two regions. This argument is not needed or used for |
| a_upperEps | [in] The relative domain ammount to put a point above a boundary between two regions. This argument is not needed or used for |
Reimplemented in GIDI::Functions::Constant1d, GIDI::Functions::Legendre1d, GIDI::Functions::Polynomial1d, GIDI::Functions::Regions1d, GIDI::Functions::Xs_pdf_cdf1d, and GIDI::Functions::XYs1d.
Definition at line 447 of file GIDI_form.cc.
Referenced by evaluate().
|
pure virtual |
Implemented in GIDI::Functions::Branching1d, GIDI::Functions::Constant1d, GIDI::Functions::FissionEnergyRelease, GIDI::Functions::Gridded1d, GIDI::Functions::Legendre1d, GIDI::Functions::Polynomial1d, GIDI::Functions::Reference1d, GIDI::Functions::Regions1d, GIDI::Functions::ResonanceBackground1d, GIDI::Functions::ResonanceBackgroundRegion1d, GIDI::Functions::ResonancesWithBackground1d, GIDI::Functions::ThermalNeutronScatteringLaw1d, GIDI::Functions::Unspecified1d, GIDI::Functions::URR_probabilityTables1d, GIDI::Functions::Xs_pdf_cdf1d, GIDI::Functions::XYs1d, and GIDI::Functions::Ys1d.
Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy(), and GIDI::Product::Product().
|
virtual |
This method executes a throw as the sub-class did not define it. Evaluates this at the X-values in a_Xs[a_offset:] and adds the results to a_results[a_offset:].
| a_offset | [in] The offset in a_Xs to start. |
| a_Xs | [in] The list of domain values to evaluate this at. |
| a_results | [in] The list whose values are added to by the Y-values of this. |
| a_scaleFactor | [in] A factor applied to each evaluation before it is added to a_results. |
Reimplemented in GIDI::Functions::Constant1d, GIDI::Functions::Polynomial1d, GIDI::Functions::Regions1d, and GIDI::Functions::XYs1d.
Definition at line 424 of file GIDI_form.cc.
Referenced by evaluate(), MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy(), and GIDI::Product::mapContinuousEnergyProductData().
| Function1dForm & GIDI::Functions::Function1dForm::operator= | ( | Function1dForm const & | a_rhs | ) |
The assignment operator. This method sets the members of this to those of a_rhs except for those not set by base classes.
| a_rhs | [in] Instance whose member are used to set the members of this. |
Definition at line 405 of file GIDI_form.cc.
Referenced by GIDI::Functions::Xs_pdf_cdf1d::operator=(), and GIDI::Functions::XYs1d::operator=().
| void GIDI::Functions::Function1dForm::print | ( | std::string const & | a_format | ) | const |
Calls the write method with stdout as the file stream.
| a_format | [in] The format string passed to the C printf function. |
Definition at line 463 of file GIDI_form.cc.
|
virtual |
Reimplemented in GIDI::Functions::Gridded1d, GIDI::Functions::Regions1d, GIDI::Functions::XYs1d, and GIDI::Functions::Ys1d.
Definition at line 452 of file GIDI_form.cc.
Referenced by evaluate(), and print().