#include <GIDI_settings.hh>
Definition at line 120 of file GIDI_settings.hh.
GIDI_settings_flux::GIDI_settings_flux |
( |
std::string const & |
label, |
|
|
double |
temperature_MeV |
|
) |
| |
GIDI_settings_flux::GIDI_settings_flux |
( |
char const * |
label, |
|
|
double |
temperature_MeV |
|
) |
| |
Definition at line 105 of file GIDI_settings_flux.cc.
107 mLabel = flux.getLabel( );
108 mTemperature = flux.mTemperature;
109 for( std::vector<GIDI_settings_flux_order>::const_iterator iter = flux.mFluxOrders.begin( ); iter < flux.mFluxOrders.end( ); ++iter )
addFluxOrder( *iter );
void addFluxOrder(GIDI_settings_flux_order const &fluxOrder)
GIDI_settings_flux::~GIDI_settings_flux |
( |
| ) |
|
Definition at line 127 of file GIDI_settings_flux.cc.
131 int order = fluxOrder.getOrder( );
133 if( order > (
int) mFluxOrders.size( ) )
throw 1;
134 mFluxOrders.push_back( fluxOrder );
std::string GIDI_settings_flux::getLabel |
( |
| ) |
const |
|
inline |
int GIDI_settings_flux::getMaxOrder |
( |
void |
| ) |
const |
|
inline |
Definition at line 134 of file GIDI_settings.hh.
134 {
return( (
int) mFluxOrders.size( ) - 1 ); }
double GIDI_settings_flux::getTemperature |
( |
| ) |
const |
|
inline |
bool GIDI_settings_flux::isLabel |
( |
std::string const & |
label | ) |
const |
|
inline |
bool GIDI_settings_flux::isLabel |
( |
char const * |
label | ) |
const |
|
inline |
void GIDI_settings_flux::print |
( |
bool |
outline = true , |
|
|
int |
valuesPerLine = 10 |
|
) |
| const |
Definition at line 139 of file GIDI_settings_flux.cc.
141 std::cout <<
"FLUX: label = '" << mLabel <<
"': maximum order = " << (
size( ) + 1 ) << std::endl;
142 if( outline )
return;
143 for( std::vector<GIDI_settings_flux_order>::const_iterator iter = mFluxOrders.begin( ); iter < mFluxOrders.end( ); ++iter ) iter->print( valuesPerLine );
int GIDI_settings_flux::size |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: