#include <Transition.h>

Defines the transition interface for the TransitionSystem. More...
Public Types | |
typedef SP_Transition | SP |
strong pointer More... | |
typedef WP_Transition | 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 |
INTERFACE<<Origen::Transition>> | |
See Origen::Transition for details. | |
WP_Nuclide | product () const |
return the product nuclide More... | |
void | set_product (WP_Nuclide product) |
set the product nuclide More... | |
WP_Channel | channel () const |
return the parent channel More... | |
void | set_channel (WP_Channel channel) |
set the channel More... | |
double | yield () const |
return the yield, i.e. number of product nuclides per transition More... | |
void | set_yield (const double &yield) |
set the yield More... | |
bool | has_initialized_yield () const |
whether yield has been initialized for this transition More... | |
double | coeff () const |
double | rate () const |
bool | is_byproduct () const |
whether this transition is a byproduct More... | |
Private Member Functions | |
virtual WP_Nuclide | product_impl () const =0 |
virtual void | set_product_impl (WP_Nuclide product)=0 |
virtual WP_Channel | channel_impl () const =0 |
virtual void | set_channel_impl (WP_Channel channel)=0 |
virtual double | yield_impl () const =0 |
virtual void | set_yield_impl (const double &yield)=0 |
virtual bool | has_initialized_yield_impl () const =0 |
virtual bool | is_byproduct_impl () const |
virtual bool | is_initialized_impl () const |
useful to chain More... | |
virtual std::string | name_impl () const |
virtual int | id_impl () const |
virtual bool | good_impl (Vec_Str &errors) const |
useful to chain More... | |
virtual Scale::Json::Value | to_json_impl () const |
useful to chain More... | |
Detailed Description
Defines the transition interface for the TransitionSystem.
The transition, in the context of the transition system, manages one piece of data:
- yield (number of products produced per transition)
It has
- a weak pointer to its parent channel
- a weak pointer to the product of the transition
- Examples:
- tstTransitionSystem_Gen.cpp.
Member Typedef Documentation
typedef SP_Transition SP |
strong pointer
typedef WP_Transition WP |
weak pointer
Member Function Documentation
Nuclide::WP product | ( | ) | const |
return the product nuclide
Referenced by Transition_Gen::set_product_impl().
void set_product | ( | WP_Nuclide | product | ) |
set the product nuclide
Referenced by Transition_Gen::Transition_Gen().
Channel::WP channel | ( | ) | const |
return the parent channel
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by Nuclide_Gen::append_gain_impl(), LibraryBuilder::create_decay_transitions(), LibraryBuilder::create_reaction_transitions(), LibraryBuilder::search_reaction_transitions(), Transition_Gen::set_channel_impl(), and TEST_F().
void set_channel | ( | WP_Channel | channel | ) |
set the channel
double yield | ( | ) | const |
return the yield, i.e. number of product nuclides per transition
Referenced by Transition_Gen::set_yield_impl().
void set_yield | ( | const double & | yield | ) |
set the yield
bool has_initialized_yield | ( | ) | const |
whether yield has been initialized for this transition
double coeff | ( | ) | const |
- Examples:
- tstTransitionSystem_Gen.cpp.
Referenced by LibraryBuilder::create_decay_transitions(), LibraryBuilder::create_reaction_transitions(), and TEST_F().
double rate | ( | ) | const |
bool is_byproduct | ( | ) | const |
whether this transition is a byproduct
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatepure virtual |
Implemented in Transition_Gen.
|
privatevirtual |
Reimplemented in Transition_GenByp.
|
privatevirtual |
useful to chain
Reimplemented from Checkable.
|
privatevirtual |
Reimplemented from Checkable.
|
privatevirtual |
Reimplemented from Checkable.
References Origen::BAD_INT.
|
privatevirtual |
useful to chain
Reimplemented from Checkable.
|
privatevirtual |
useful to chain
Reimplemented from Checkable.
|
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 |
The documentation for this class was generated from the following files:
- Core/ts/Transition.h
- Core/ts/Transition.cpp