6 #ifndef PoPs_h_included
7 #define PoPs_h_included
10 #if __INTEL_COMPILER > 1399
11 #pragma warning( disable:593 )
22 #if defined __cplusplus
27 #define POPS_VERSION_MAJOR 1
28 #define POPS_VERSION_MINOR 0
29 #define POPS_VERSION_PATCHLEVEL 5
31 #define PoPs_packageSymbol "PoPs (properties of particles)"
32 #define PoPs_packageName PoPs_packageSymbol " (properties of particles)"
121 #if defined __cplusplus
int PoPs_getZ_A_l_atIndex(statusMessageReporting *smr, int index, int *Z, int *A, int *l)
void PoPs_print(int sorted)
int PoPs_unitConversionRatio(char const *_from, char const *_to, double *ratio)
int lPoPs_addParticleIfNeeded(statusMessageReporting *smr, char const *name, char const *special)
double PoP_getMassInUnitOf(statusMessageReporting *smr, PoP *pop, char const *unit)
int PoPs_getAtomsIndex(statusMessageReporting *smr, char const *name)
char const * PoPs_getAtomsName(statusMessageReporting *smr, char const *name)
int PoPs_particleLoadInfo(statusMessageReporting *smr, const char *name, PoP *pop)
int PoPs_versionMinor(void)
int PoPs_readDatabase(statusMessageReporting *smr, char const *fileName)
const char * PoPs_version(void)
double PoPs_getMassInUnitOf_atIndex(statusMessageReporting *smr, int index, char const *unit)
int PoPs_versionPatchLevel(void)
PoP * PoPs_particleCreateLoadInfo(statusMessageReporting *smr, const char *name)
int PoPs_numberOfParticle(void)
int PoPs_hasNucleus_atIndex(statusMessageReporting *smr, int index, int protonIsNucleus)
PoP * PoP_makeAlias(statusMessageReporting *smr, char const *name, char const *alias)
char const * PoPs_getAtomsName_atIndex(statusMessageReporting *smr, int index)
enum PoPs_genre PoPs_getGenre(statusMessageReporting *smr, char const *name)
int PoPs_getAtomsIndex_atIndex(statusMessageReporting *smr, int index)
PoP * PoPs_addAliasIfNeeded(statusMessageReporting *smr, char const *name, char const *alias)
int PoPs_particleReadDatabase(statusMessageReporting *smr, char const *name)
int PoPs_versionMajor(void)
char const * PoP_getName(PoP *pop)
int PoPs_particleIndex(char const *name)
void PoPs_write(FILE *f, int sorted)
double A(double temperature)
int PoPs_particleIndex_smr(statusMessageReporting *smr, char const *name, char const *file, int line, char const *func)
int PoP_release(PoP *pop)
char const * PoPs_genreTokenToString(enum PoPs_genre genre)
int PoPs_setBDFLS_File(char const *name)
PoP * PoPs_copyAddParticleIfNeeded(statusMessageReporting *smr, PoP *pop)
int PoP_getIndex(PoP *pop)
char const * PoPs_getName_atIndex(statusMessageReporting *smr, int index)
int PoPs_hasNucleus(statusMessageReporting *smr, char const *name, int protonIsNucleus)
int PoP_setZ_A_l(statusMessageReporting *smr, PoP *pop, int Z, int A, int l)
PoP * PoP_new(statusMessageReporting *smr)
PoP * PoP_makeParticle(statusMessageReporting *smr, enum PoPs_genre genre, char const *name, double mass, char const *massUnit)
void * MPI_Comm
to pass hd2mpi ////////////////////////////////////////////
PoP * PoPs_addParticleIfNeeded(statusMessageReporting *smr, PoP *pop)
enum PoPs_genre PoPs_getGenre_atIndex(statusMessageReporting *smr, int index)
double PoPs_getMassInUnitOf(statusMessageReporting *smr, char const *name, char const *unit)
int PoP_copyParticle(statusMessageReporting *smr, PoP *desc, PoP *src)
int PoP_initialize(statusMessageReporting *smr, PoP *pop)
PoP * PoPs_getParticle_atIndex(int index)
int PoPs_getZ_A_l(statusMessageReporting *smr, char const *name, int *Z, int *A, int *l)
int PoPs_release(statusMessageReporting *smr)