Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI::DoubleDifferentialCrossSection::n_ThermalNeutronScatteringLaw::S_table Class Reference

#include <GIDI.hpp>

Inheritance diagram for GIDI::DoubleDifferentialCrossSection::n_ThermalNeutronScatteringLaw::S_table:

Public Member Functions

 S_table (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo)
 ~S_table ()
Functions::Function2dFormfunction2d ()
Functions::Function2dForm const * function2d () 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 ()
Formoperator= (Form const &a_rhs)
Suiteparent () 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::AncestryfindInAncestry3 (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 ()
Ancestryoperator= (Ancestry const &a_ancestry)
std::string const & moniker () const
void setMoniker (std::string const &a_moniker)
Ancestryancestor ()
Ancestry const * ancestor () const
void setAncestor (Ancestry *a_ancestor)
std::string attribute () const
Ancestryroot ()
Ancestry const * root () const
bool isChild (Ancestry *a_instance)
bool isParent (Ancestry *a_parent)
bool isRoot () const
AncestryfindInAncestry (std::string const &a_href)
Ancestry const * findInAncestry (std::string const &a_href) const
virtual AncestryfindInAncestry3 (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
virtual void toXMLList (WriteInfo &a_writeInfo, std::string const &a_indent="") 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)

Detailed Description

This class represents a GNDS cumulative scattering factor S_table instance which is a function of temperaure $T$ and energy $E$ as $S(T,E)$.

Definition at line 2069 of file GIDI.hpp.

Constructor & Destructor Documentation

◆ S_table()

GIDI::DoubleDifferentialCrossSection::n_ThermalNeutronScatteringLaw::S_table::S_table ( Construction::Settings const & a_construction,
HAPI::Node const & a_node,
SetupInfo & a_setupInfo )
Parameters
a_construction[in] Used to pass user options for parsing.
a_node[in] The HAPI::Node to be parsed.
a_setupInfo[in] Information create my the Protare constructor to help in parsing.

Definition at line 173 of file GIDI_doubleDifferentialCrossSection.cc.

173 :
174 Form( a_node, a_setupInfo, FormType::generic, nullptr ),
175 m_function2d( data2dParse( a_construction, a_node.first_child( ), a_setupInfo, nullptr ) ) {
176
177 m_function2d->setAncestor( this );
178}
Form(FormType a_type)
Definition GIDI_form.cc:25
Functions::Function2dForm * data2dParse(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *parent)

◆ ~S_table()

GIDI::DoubleDifferentialCrossSection::n_ThermalNeutronScatteringLaw::S_table::~S_table ( )

Definition at line 183 of file GIDI_doubleDifferentialCrossSection.cc.

183 {
184
185 delete m_function2d;
186
187}

Member Function Documentation

◆ function2d() [1/2]

Functions::Function2dForm * GIDI::DoubleDifferentialCrossSection::n_ThermalNeutronScatteringLaw::S_table::function2d ( )
inline

Returns the value of the m_function2d member.

Definition at line 2079 of file GIDI.hpp.

Referenced by MCGIDI::Distributions::CoherentElasticTNSL::CoherentElasticTNSL().

◆ function2d() [2/2]

Functions::Function2dForm const * GIDI::DoubleDifferentialCrossSection::n_ThermalNeutronScatteringLaw::S_table::function2d ( ) const
inline

Returns the value of the m_function2d member.

Definition at line 2080 of file GIDI.hpp.


The documentation for this class was generated from the following files: