#include <ChannelType_Reac.h>
Channel type for (non-fission) reactions. More...
Public Types | |
typedef SP_ChannelType | SP |
strong pointer More... | |
typedef WP_ChannelType | WP |
weak pointer More... | |
INTERFACE<<Origen::Checkable>> | |
See Origen::Checkable for details. | |
std::string | name () const |
void | get_name (std::string &name) const |
void | set_name (std::string name) |
int | id () const |
void | get_id (int &id) const |
void | set_id (int id) |
bool | has_initialized_id () const |
std::string | to_string () const |
bool | good () const |
bool | good (Vec_Str &errors) const |
bool | is_initialized () const |
Scale::Json::Value | to_json () const |
Public Member Functions | |
ChannelType_Reac () | |
ChannelType_Reac (Field::SP field, int reaction_mt) | |
Static Public Member Functions | |
static int | channel_id (int decay_mode) |
channel id for decay only More... | |
static int | channel_id (SP_Field field, int reaction_mt, int decay_mode=0) |
channel id for reaction+decay More... | |
Private Member Functions | |
virtual int | reaction_mt_impl () const |
virtual void | set_reaction_mt_impl (int reaction_mt) |
virtual int | decay_mode_impl () const |
virtual void | set_decay_mode_impl (int decay_mode) |
virtual Field::SP | field_impl () const |
virtual void | set_field_impl (Field::SP field) |
virtual bool | is_reaction_impl () const |
virtual bool | is_decay_impl () const |
virtual bool | has_followon_decay_impl () const |
virtual bool | has_distribution_of_daughters_impl () const |
virtual double | num_residuals_per_event_impl () const |
virtual ByproductCount_t | num_byproducts_impl () const |
virtual int | delta_nucleus_protons_impl () const |
virtual int | delta_nucleus_neutrons_impl () const |
virtual int | delta_mass_number_impl () const |
virtual int | delta_charge_number_impl () const |
virtual bool | good_impl (Vec_Str &errors) const |
useful to chain More... | |
void | update_byproducts () |
Private Attributes | |
Field::SP | b_field |
int | b_reaction_mt |
int | b_delta_mass_number |
int | b_delta_charge_number |
int | b_delta_nucleus_protons |
int | b_delta_nucleus_neutrons |
ByproductCount_t | b_num_byproducts |
Detailed Description
Channel type for (non-fission) reactions.
- See also
- ChannelType
- Examples:
- tstTransitionSystem_Gen.cpp.
Member Typedef Documentation
|
inherited |
strong pointer
|
inherited |
weak pointer
Constructor & Destructor Documentation
ChannelType_Reac | ( | ) |
ChannelType_Reac | ( | Field::SP | field, |
int | reaction_mt | ||
) |
References ChannelType::set_field(), and ChannelType::set_reaction_mt().
Member Function Documentation
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_reaction_mt.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_reaction_mt, ChannelType::reaction_mt(), and ChannelType_Reac::update_byproducts().
|
privatevirtual |
Implements ChannelType.
|
privatevirtual |
Implements ChannelType.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_field.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_field, ChannelType::field(), and ChannelType_Reac::update_byproducts().
|
privatevirtual |
Reimplemented from ChannelType.
|
privatevirtual |
Reimplemented from ChannelType.
|
privatevirtual |
Reimplemented from ChannelType.
|
privatevirtual |
Reimplemented from ChannelType.
|
privatevirtual |
Reimplemented from ChannelType.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_num_byproducts.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_delta_nucleus_protons.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_delta_nucleus_neutrons.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_delta_mass_number.
|
privatevirtual |
Implements ChannelType.
References ChannelType_Reac::b_delta_charge_number.
|
privatevirtual |
useful to chain
Reimplemented from Checkable.
References ChannelType::field(), Checkable::name(), and ChannelType::reaction_mt().
|
private |
Numbers of various byproducts
References Origen::ALPHA_BYPRODUCT_ID, ChannelType_Reac::b_delta_charge_number, ChannelType_Reac::b_delta_mass_number, ChannelType_Reac::b_delta_nucleus_neutrons, ChannelType_Reac::b_delta_nucleus_protons, ChannelType_Reac::b_field, ChannelType_Reac::b_num_byproducts, ChannelType_Reac::b_reaction_mt, Origen::BAD_INT, Origen::DEUTERON_BYPRODUCT_ID, Origen::HELION_BYPRODUCT_ID, Origen::NEUTRON_BYPRODUCT_ID, Origen::PROTON_BYPRODUCT_ID, and Origen::TRITON_BYPRODUCT_ID.
Referenced by ChannelType_Reac::set_field_impl(), and ChannelType_Reac::set_reaction_mt_impl().
|
inherited |
|
inherited |
Referenced by ChannelType_Fiss::ChannelType_Fiss(), and ChannelType_Reac::ChannelType_Reac().
|
inherited |
|
inherited |
|
inherited |
Referenced by ChannelType_Decay::good_impl().
|
inherited |
Referenced by ChannelType_Decay::ChannelType_Decay().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Referenced by ChannelType_Fiss::ChannelType_Fiss(), and ChannelType_Reac::ChannelType_Reac().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
channel id for decay only
Referenced by TransitionSystem_Gen::channel_type_impl(), and TransitionSystemAdapter_AmpxN::update().
|
staticinherited |
channel id for reaction+decay
|
inherited |
|
inherited |
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by TEST().
|
inherited |
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by TEST().
|
inherited |
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by TransitionSystem_Gen::add_nuclide_impl(), TransitionSystem_Gen::add_species_impl(), Channel_Gen::add_transition_impl(), LibraryBuilder::create_decay_transitions(), LibraryBuilder::create_reaction_transitions(), Nuclide_Gen::gain_impl(), LibraryBuilder::search_reaction_transitions(), Nuclide_Gen::set_losses_impl(), Channel_Gen::set_transition_impl(), TEST(), and TEST_F().
|
inherited |
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by TEST().
|
inherited |
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by TEST().
|
inherited |
|
inherited |
- Examples:
- tstTransitionSystemAdapter_AmpxN.cpp.
Referenced by TEST_F().
|
inherited |
|
inherited |
|
inherited |
Referenced by ChannelType_Decay::good_impl(), and ChannelType_Decay::update_byproducts().
|
inherited |
Member Data Documentation
|
private |
|
private |
|
private |
Referenced by ChannelType_Reac::delta_mass_number_impl(), and ChannelType_Reac::update_byproducts().
|
private |
Referenced by ChannelType_Reac::delta_charge_number_impl(), and ChannelType_Reac::update_byproducts().
|
private |
Referenced by ChannelType_Reac::delta_nucleus_protons_impl(), and ChannelType_Reac::update_byproducts().
|
private |
Referenced by ChannelType_Reac::delta_nucleus_neutrons_impl(), and ChannelType_Reac::update_byproducts().
|
private |
Referenced by ChannelType_Reac::num_byproducts_impl(), and ChannelType_Reac::update_byproducts().
The documentation for this class was generated from the following files:
- Core/ts/ChannelType_Reac.h
- Core/ts/ChannelType_Reac.cpp