6 #define GIDI_USE_BDFLS 0
8 #ifndef GIDI_settings_hpp_included
9 #define GIDI_settings_hpp_included 1
20 #if defined( __INTEL_COMPILER )
21 #pragma warning( push )
23 #if __INTEL_COMPILER > 1399
24 #pragma warning( disable:2021 )
25 #elif __INTEL_COMPILER > 1199
26 #pragma warning( disable:2304 )
31 #define GIDI_settings_projectileEnergyMode_continuousEnergy 1
32 #define GIDI_settings_projectileEnergyMode_grouped ( 1 << 1 )
33 #define GIDI_settings_projectileEnergyMode_fixedGrid ( 1 << 2 )
57 inline bool isLabel( std::string &label )
const {
return( label ==
mLabel ); }
58 void print(
bool outline =
false,
int valuesPerLine = 10 )
const;
67 class GIDI_settings_groups_from_bdfls {
70 std::vector<GIDI_settings_group> mGroups;
73 GIDI_settings_groups_from_bdfls( std::string
const &fileName );
74 GIDI_settings_groups_from_bdfls(
char const *fileName );
75 GIDI_settings_groups_from_bdfls( cbdfls_file
const *bdfls );
76 ~GIDI_settings_groups_from_bdfls( );
79 std::vector<std::string> getLabels(
void )
const;
80 std::vector<int> getGIDs(
void )
const;
81 void print(
bool outline =
true,
int valuesPerLine = 10 )
const;
85 void initialize2( cbdfls_file
const *bdfls );
103 double const *energies ,
104 double const *fluxes );
106 std::vector<double>
const &energies ,
107 std::vector<double>
const &fluxes );
116 void print(
int valuesPerLine = 10 )
const;
119 void initialize(
int order,
int length,
double const *energies,
double const *fluxes );
141 inline bool isLabel( std::string
const &label )
const {
return( label ==
mLabel ); }
142 inline bool isLabel(
char const *label )
const {
return( label ==
mLabel ); }
145 void print(
bool outline =
true,
int valuesPerLine = 10 )
const;
149 class GIDI_settings_fluxes_from_bdfls {
152 std::vector<GIDI_settings_flux> mFluxes;
155 GIDI_settings_fluxes_from_bdfls( std::string
const &fileName,
double temperature_MeV );
156 GIDI_settings_fluxes_from_bdfls(
char const *fileName,
double temperature_MeV );
157 GIDI_settings_fluxes_from_bdfls( cbdfls_file
const *bdfls,
double temperature_MeV );
158 ~GIDI_settings_fluxes_from_bdfls( );
161 std::vector<std::string> getLabels(
void );
162 std::vector<int> getFIDs(
void );
163 void print(
bool outline =
true,
int valuesPerLine = 10 );
166 void initialize(
char const *fileName,
double temperature_MeV );
167 void initialize2( cbdfls_file
const *bdfls,
double temperature_MeV );
201 int initialize(
int PoPId,
bool transporting,
int energyMode );
239 #if defined( __INTEL_COMPILER )
240 #pragma warning( pop )
243 #endif // End of GIDI_settings_hpp_included