|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| Ys1d (Axes const &a_axes, ptwXY_interpolation a_interpolation, int a_index=0, double a_outerDomainValue=0.0) | |
| Ys1d (Axes const &a_axes, ptwXY_interpolation a_interpolation, std::size_t a_start, std::vector< double > const &a_Ys, int a_index=0, double a_outerDomainValue=0.0) | |
| Ys1d (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *a_parent) | |
| Ys1d (Ys1d const &a_Ys1d) | |
| ~Ys1d () | |
| std::size_t | size () const |
| double | operator[] (std::size_t a_index) const |
| void | push_back (double a_y) |
| Ys1d | operator+ (Ys1d const &a_Ys1d) const |
| Ys1d & | operator+= (Ys1d const &a_Ys1d) |
| double | domainMin () const |
| double | domainMax () const |
| std::size_t | start () const |
| void | setStart (std::size_t a_start) |
| std::size_t | length () const |
| std::vector< double > const & | Ys () const |
| std::vector< double > & | Ys () |
| double | evaluate (double a_x1) const |
| void | set (std::size_t a_index, double a_value) |
| void | toXMLList_func (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, bool a_embedded, bool a_inRegions) const |
| void | write (FILE *a_file, std::string const &a_format) const |
| Public Member Functions inherited from GIDI::Functions::Function1dForm | |
| 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 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 |
| 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 |
| 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::Ys1d::Ys1d | ( | Axes const & | a_axes, |
| ptwXY_interpolation | a_interpolation, | ||
| int | a_index = 0, | ||
| double | a_outerDomainValue = 0.0 ) |
| a_axes | [in] The axes to copy for this. |
| a_interpolation | [in] The interpolation flag. |
| a_index | [in] If imbedded in a two dimensional function, the index of this instance. |
| a_outerDomainValue | [in] If imbedded in a two dimensional function, the domain value for x2. |
Definition at line 30 of file GIDI_Ys1d.cc.
Referenced by operator+(), operator+=(), Ys1d(), Ys1d(), Ys1d(), and Ys1d().
| GIDI::Functions::Ys1d::Ys1d | ( | Axes const & | a_axes, |
| ptwXY_interpolation | a_interpolation, | ||
| std::size_t | a_start, | ||
| std::vector< double > const & | a_Ys, | ||
| int | a_index = 0, | ||
| double | a_outerDomainValue = 0.0 ) |
| a_axes | [in] The axes to copy for this. |
| a_interpolation | [in] The interpolation flag. |
| a_start | [in] The index of the x1 value the Ys data start at. |
| a_Ys | [in] The list of y values. |
| a_index | [in] If imbedded in a two dimensional function, the index of this instance. |
| a_outerDomainValue | [in] If imbedded in a two dimensional function, the domain value for x2. |
Definition at line 46 of file GIDI_Ys1d.cc.
| GIDI::Functions::Ys1d::Ys1d | ( | Construction::Settings const & | a_construction, |
| HAPI::Node const & | a_node, | ||
| SetupInfo & | a_setupInfo, | ||
| Suite * | a_parent ) |
Constructs the instance from a HAPI::Nodee instance.
| a_construction | [in] Used to pass user options for parsing. |
| a_node | [in] The Ys1d HAPI::Node to be parsed and to construct the instance. |
| a_setupInfo | [in] Information create my the Protare constructor to help in parsing. |
| a_parent | [in] If imbedded in a two dimensional function, its pointers. |
Definition at line 63 of file GIDI_Ys1d.cc.
| GIDI::Functions::Ys1d::Ys1d | ( | Ys1d const & | a_Ys1d | ) |
| GIDI::Functions::Ys1d::~Ys1d | ( | ) |
Definition at line 91 of file GIDI_Ys1d.cc.
|
virtual |
This is currently not implemented.
Implements GIDI::Functions::FunctionForm.
Definition at line 157 of file GIDI_Ys1d.cc.
|
virtual |
This is currently not implemented.
Implements GIDI::Functions::FunctionForm.
Definition at line 142 of file GIDI_Ys1d.cc.
|
virtual |
This is currently not implemented.
| a_x1 | [in] Domain value to evaluate this at. |
Implements GIDI::Functions::Function1dForm.
Definition at line 173 of file GIDI_Ys1d.cc.
|
inline |
Returns the sum of m_start and size( ).
Definition at line 1165 of file GIDI.hpp.
Referenced by operator+=().
Adds two Ys1d instances and returns the result.
| a_rhs | [in] The Ys1d instance to add to this instance. |
Definition at line 102 of file GIDI_Ys1d.cc.
Adds an Ys1d instance to this.
| a_rhs | [in] The Ys1d instance to add to this instance. |
Definition at line 117 of file GIDI_Ys1d.cc.
|
inline |
|
inline |
Definition at line 1157 of file GIDI.hpp.
Referenced by GIDI::gridded1d2GIDI_Ys1d(), and GIDI::vector2GIDI_Ys1d().
|
inline |
Set the value at m_Ys[a_index] to a_value.
Definition at line 1170 of file GIDI.hpp.
Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy().
|
inline |
Sets the m_start member to *a_start.
Definition at line 1164 of file GIDI.hpp.
Referenced by GIDI::gridded1d2GIDI_Ys1d().
|
inline |
Returns the number of values in m_Ys.
Definition at line 1154 of file GIDI.hpp.
Referenced by GIDI::Reaction::modifyCrossSection(), operator+=(), and write().
|
inline |
Returns the value of the m_start member.
Definition at line 1163 of file GIDI.hpp.
Referenced by MCGIDI::HeatedCrossSectionContinuousEnergy::HeatedCrossSectionContinuousEnergy(), GIDI::Reaction::modifyCrossSection(), operator+=(), GIDI::Reaction::Reaction(), GIDI::ProtareTNSL::TNSL_crossSectionSumCorrection(), and Ys1d().
|
virtual |
Fills the argument a_writeInfo with the XML lines that represent this. Recursively enters each sub-node.
| a_writeInfo | [in/out] Instance containing incremental indentation and other information and stores the appended lines. |
| a_indent | [in] The amount to indent this node. |
| a_embedded | [in] If true, this function is embedded in a higher dimensional function. |
| a_inRegions | [in] If true, this is in a Regions1d container. |
Reimplemented from GIDI::Functions::FunctionForm.
Definition at line 191 of file GIDI_Ys1d.cc.
|
virtual |
Writes the pair (index, y) values to a_file. The format string must have a long and a double conversion specifiers (e.g., " %10ld %.6f").
| a_file | [in] The C FILE instance to write the data to. |
| a_format | [in] The format string passed to the C printf function. |
Reimplemented from GIDI::Functions::Function1dForm.
Definition at line 209 of file GIDI_Ys1d.cc.
|
inline |
|
inline |
Returns a reference to the list of y-values.
Definition at line 1166 of file GIDI.hpp.
Referenced by MCGIDI::HeatedReactionCrossSectionContinuousEnergy::HeatedReactionCrossSectionContinuousEnergy(), GIDI::Reaction::modifyCrossSection(), operator+=(), GIDI::ProtareTNSL::TNSL_crossSectionSumCorrection(), and Ys1d().