#include <string.h>
#include <PoPs.h>
#include "MCGIDI.h"
Go to the source code of this file.
|  | 
| MCGIDI_POPs * | MCGIDI_POPs_new (statusMessageReporting *smr, int size) | 
|  | 
| int | MCGIDI_POPs_initial (statusMessageReporting *, MCGIDI_POPs *pops, int size) | 
|  | 
| void * | MCGIDI_POPs_free (MCGIDI_POPs *pops) | 
|  | 
| int | MCGIDI_POPs_release (MCGIDI_POPs *pops) | 
|  | 
| MCGIDI_POP * | MCGIDI_POPs_addParticleIfNeeded (statusMessageReporting *smr, MCGIDI_POPs *pops, char const *name, double mass_MeV, double level_MeV, MCGIDI_POP *parent, int globalParticle) | 
|  | 
| int | MCGIDI_POPs_findParticleIndex (MCGIDI_POPs *pops, char const *name) | 
|  | 
| MCGIDI_POP * | MCGIDI_POPs_findParticle (MCGIDI_POPs *pops, char const *name) | 
|  | 
| void | MCGIDI_POPs_writeSortedList (MCGIDI_POPs *pops, FILE *f) | 
|  | 
| void | MCGIDI_POPs_printSortedList (MCGIDI_POPs *pops) | 
|  | 
| MCGIDI_POP * | MCGIDI_POP_new (statusMessageReporting *smr, char const *name, double mass_MeV, double level_MeV, MCGIDI_POP *parent) | 
|  | 
| MCGIDI_POP * | MCGIDI_POP_free (MCGIDI_POP *pop) | 
|  | 
| MCGIDI_POP * | MCGIDI_POP_release (MCGIDI_POP *pop) | 
|  | 
| double | MCGIDI_POP_getMass_MeV (MCGIDI_POP *pop) | 
|  | 
Definition at line 191 of file MCGIDI_pop.cc.
  193     if( pop == NULL ) 
return( NULL );
 
MCGIDI_POP * MCGIDI_POP_release(MCGIDI_POP *pop)
void * smr_freeMemory(void **p)
 
 
 
Definition at line 165 of file MCGIDI_pop.cc.
  170     if( pop == NULL ) 
return( NULL );
 
#define smr_allocateCopyString2(smr, s, forItem)
double A(double temperature)
static constexpr double m
MCGIDI_GammaBranching * gammas
#define smr_malloc2(smr, size, zero, forItem)
int MCGIDI_miscNameToZAm(statusMessageReporting *smr, const char *name, int *Z, int *A, int *m, int *level)
void * smr_freeMemory(void **p)
 
 
 
Definition at line 201 of file MCGIDI_pop.cc.
  203     if( pop == NULL ) 
return( NULL );
 
MCGIDI_GammaBranching * gammas
void * smr_freeMemory(void **p)
 
 
 
Definition at line 67 of file MCGIDI_pop.cc.
   78         if( sorted == NULL ) 
return( NULL );
 
   85     if( ( pop = 
MCGIDI_POP_new( smr, 
name, mass_MeV, level_MeV, parent ) ) == NULL ) 
return( NULL );
 
   88     if( pops->
first == NULL ) {
 
   96     if( globalParticle ) {
 
int MCGIDI_POPs_findParticleIndex(MCGIDI_POPs *pops, char const *name)
int lPoPs_addParticleIfNeeded(statusMessageReporting *smr, char const *name, char const *special)
#define smr_malloc2(smr, size, zero, forItem)
void * smr_freeMemory(void **p)
MCGIDI_POP * MCGIDI_POP_new(statusMessageReporting *smr, char const *name, double mass_MeV, double level_MeV, MCGIDI_POP *parent)
 
 
 
Definition at line 133 of file MCGIDI_pop.cc.
  137     if( index < 0 ) 
return( NULL );
 
  138     return( pops->
sorted[index] );
 
int MCGIDI_POPs_findParticleIndex(MCGIDI_POPs *pops, char const *name)
 
 
 
      
        
          | int MCGIDI_POPs_findParticleIndex | ( | MCGIDI_POPs * | pops, | 
        
          |  |  | char const * | name | 
        
          |  | ) |  |  | 
      
 
Definition at line 104 of file MCGIDI_pop.cc.
  108     if( 
max == 0 ) 
return( -1 );
 
  109     while( ( 
max - 
min ) > 1 ) {
 
  112         if( iCmp == 0 ) 
return( mid );
 
  122     if( max < pops->numberOfPOPs ) {
 
T max(const T t1, const T t2)
brief Return the largest of the two arguments 
T min(const T t1, const T t2)
brief Return the smallest of the two arguments 
 
 
 
Definition at line 41 of file MCGIDI_pop.cc.
   43     if( pops == NULL ) 
return( NULL );
 
int MCGIDI_POPs_release(MCGIDI_POPs *pops)
void * smr_freeMemory(void **p)
 
 
 
Definition at line 19 of file MCGIDI_pop.cc.
#define smr_malloc2(smr, size, zero, forItem)
void * smr_freeMemory(void **p)
int MCGIDI_POPs_initial(statusMessageReporting *smr, MCGIDI_POPs *pops, int size)
 
 
 
Definition at line 153 of file MCGIDI_pop.cc.
void MCGIDI_POPs_writeSortedList(MCGIDI_POPs *pops, FILE *f)
 
 
 
Definition at line 51 of file MCGIDI_pop.cc.
   55     if( pops == NULL ) 
return( 0 );
 
   56     for( pop = pops->
first; pop != NULL; pop = next ) {
 
MCGIDI_POP * MCGIDI_POP_free(MCGIDI_POP *pop)
void * smr_freeMemory(void **p)
int MCGIDI_POPs_initial(statusMessageReporting *smr, MCGIDI_POPs *pops, int size)