#include <GIDI_settings.hh>
Definition at line 184 of file GIDI_settings.hh.
◆ GIDI_settings_particle() [1/2]
GIDI_settings_particle::GIDI_settings_particle |
( |
int |
PoPId, |
|
|
bool |
transporting, |
|
|
int |
energyMode |
|
) |
| |
Definition at line 16 of file GIDI_settings_particle.cc.
GIDI_settings_group mGroup
int initialize(int PoPId, bool transporting, int energyMode)
◆ GIDI_settings_particle() [2/2]
Definition at line 23 of file GIDI_settings_particle.cc.
25 initialize( particle.mPoPId, particle.mTransporting, particle.mEnergyMode );
27 for( std::vector<GIDI_settings_processedFlux>::const_iterator iter = particle.mProcessedFluxes.begin( ); iter != particle.mProcessedFluxes.end( ); ++iter ) {
void setGroup(GIDI_settings_group const &group)
int initialize(int PoPId, bool transporting, int energyMode)
std::vector< GIDI_settings_processedFlux > mProcessedFluxes
◆ ~GIDI_settings_particle()
GIDI_settings_particle::~GIDI_settings_particle |
( |
| ) |
|
◆ addFlux()
Definition at line 75 of file GIDI_settings_particle.cc.
77 double temperature = flux.getTemperature( );
78 std::vector<GIDI_settings_processedFlux>::iterator iter;
81 if( temperature <= iter->getTemperature( ) )
break;
GIDI::ptwXPoints * mGroupX
std::vector< GIDI_settings_processedFlux > mProcessedFluxes
◆ getEnergyMode()
int GIDI_settings_particle::getEnergyMode |
( |
void |
| ) |
const |
|
inline |
◆ getFlux()
◆ getGroup()
◆ getGroupIndexFromEnergy()
int GIDI_settings_particle::getGroupIndexFromEnergy |
( |
double |
e_in, |
|
|
bool |
encloseOutOfRange |
|
) |
| const |
|
inline |
Definition at line 202 of file GIDI_settings.hh.
GIDI_settings_group mGroup
int getGroupIndexFromEnergy(double energy, bool encloseOutOfRange) const
◆ getNumberOfGroups()
int GIDI_settings_particle::getNumberOfGroups |
( |
void |
| ) |
const |
|
inline |
Definition at line 203 of file GIDI_settings.hh.
GIDI_settings_group mGroup
int getNumberOfGroups(void) const
◆ getPoPId()
int GIDI_settings_particle::getPoPId |
( |
void |
| ) |
const |
|
inline |
◆ getProcessedFlux()
GIDI_settings_flux const* GIDI_settings_particle::getProcessedFlux |
( |
double |
temperature | ) |
const |
|
private |
◆ getTransporting()
bool GIDI_settings_particle::getTransporting |
( |
void |
| ) |
const |
|
inline |
◆ groupFunction()
Definition at line 118 of file GIDI_settings_particle.cc.
120 if(
mGroupX == NULL )
return( NULL );
122 if( processedFlux == NULL )
return( NULL );
GIDI_settings_processedFlux const * nearestFluxToTemperature(double temperature) const
GIDI::ptwXPoints * groupFunction(GIDI::statusMessageReporting *smr, GIDI::ptwXPoints *groupX, GIDI::ptwXYPoints *ptwXY1, int order) const
GIDI::ptwXPoints * mGroupX
◆ initialize()
int GIDI_settings_particle::initialize |
( |
int |
PoPId, |
|
|
bool |
transporting, |
|
|
int |
energyMode |
|
) |
| |
Definition at line 34 of file GIDI_settings_particle.cc.
43 if( energyMode_ != energyMode )
throw 1;
void setGroup(GIDI_settings_group const &group)
GIDI_settings_group mGroup
GIDI::ptwXPoints * mGroupX
#define GIDI_settings_projectileEnergyMode_grouped
#define GIDI_settings_projectileEnergyMode_continuousEnergy
◆ isEnergyMode_continuous()
bool GIDI_settings_particle::isEnergyMode_continuous |
( |
void |
| ) |
const |
|
inline |
Definition at line 212 of file GIDI_settings.hh.
#define GIDI_settings_projectileEnergyMode_continuousEnergy
◆ isEnergyMode_fixedGrid()
bool GIDI_settings_particle::isEnergyMode_fixedGrid |
( |
void |
| ) |
const |
|
inline |
Definition at line 214 of file GIDI_settings.hh.
#define GIDI_settings_projectileEnergyMode_fixedGrid
◆ isEnergyMode_grouped()
bool GIDI_settings_particle::isEnergyMode_grouped |
( |
void |
| ) |
const |
|
inline |
Definition at line 213 of file GIDI_settings.hh.
#define GIDI_settings_projectileEnergyMode_grouped
◆ nearestFluxToTemperature()
Definition at line 90 of file GIDI_settings_particle.cc.
92 double priorTemperature, lastTemperature;
93 std::vector<GIDI_settings_processedFlux>::const_iterator iter;
101 lastTemperature = iter->getTemperature( );
102 if( lastTemperature > temperature )
break;
104 priorTemperature = iter->getTemperature( );
111 if( std::fabs( lastTemperature - temperature ) > std::fabs( temperature - priorTemperature ) ) --iter;
std::vector< GIDI_settings_processedFlux > mProcessedFluxes
◆ setGroup()
Definition at line 53 of file GIDI_settings_particle.cc.
double const * pointer(void) const
GIDI_settings_group mGroup
GIDI::ptwXPoints * mGroupX
ptwXPoints * ptwX_create(int64_t size, int64_t length, double const *xs, nfu_status *status)
ptwXPoints * ptwX_free(ptwXPoints *ptwX)
enum nfu_status_e nfu_status
◆ mEnergyMode
int GIDI_settings_particle::mEnergyMode |
|
private |
◆ mGroup
◆ mGroupX
◆ mPoPId
int GIDI_settings_particle::mPoPId |
|
private |
◆ mProcessedFluxes
◆ mTransporting
bool GIDI_settings_particle::mTransporting |
|
private |
The documentation for this class was generated from the following files: