27 for( std::vector<GIDI_settings_processedFlux>::const_iterator iter = particle.
mProcessedFluxes.begin( ); iter != particle.
mProcessedFluxes.end( ); ++iter ) {
43 if( energyMode_ != energyMode )
throw 1;
78 std::vector<GIDI_settings_processedFlux>::iterator iter;
81 if( temperature <= iter->getTemperature( ) )
break;
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;
120 if(
mGroupX == NULL )
return( NULL );
122 if( processedFlux == NULL )
return( NULL );
136 double const *energies, *fluxes;
138 for(
int order = 0; order < (
int) flux.
size( ); ++order ) {
139 fluxOrder = flux[order];
143 fluxOrder->
size( ), energies, fluxes, &status_nf, 0 ) ) == NULL )
goto err;
144 mFluxXY.push_back( fluxXY );
146 mGroupedFlux.push_back( groupedFluxX );
162 for(
int order = 0; order < (
int)
mFlux.
size( ); ++order ) {
171 for( std::vector<ptwXYPoints *>::iterator iter =
mFluxXY.begin( ); iter !=
mFluxXY.end( ); ++iter )
ptwXY_free( *iter );
179 if (
this != &flux ) {
181 for( std::vector<ptwXYPoints *>::iterator iter =
mFluxXY.begin( ); iter !=
mFluxXY.end( ); ++iter )
ptwXY_free( *iter );
188 for(
int order = 0; order < (
int)
mFlux.
size( ); ++order ) {
198 for( std::vector<ptwXYPoints *>::iterator iter =
mFluxXY.begin( ); iter !=
mFluxXY.end( ); ++iter )
ptwXY_free( *iter );
207 for( std::vector<ptwXYPoints *>::iterator iter =
mFluxXY.begin( ); iter !=
mFluxXY.end( ); ++iter )
ptwXY_free( *iter );
219 if( groupX == NULL )
return( NULL );
220 if( order < 0 ) order = 0;
221 if( order >= (
int)
mFluxXY.size( ) ) order = (
int)
mFluxXY.size( ) - 1;