Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
G4Volant Class Reference

#include <G4AblaDataDefs.hh>

Public Member Functions

 G4Volant ()
 
 ~G4Volant ()
 
void clear ()
 
G4double getTotalMass ()
 
void dump ()
 

Data Fields

G4double acv [VOLANTSIZE]
 
G4double zpcv [VOLANTSIZE]
 
G4double pcv [VOLANTSIZE]
 
G4double xcv [VOLANTSIZE]
 
G4double ycv [VOLANTSIZE]
 
G4double zcv [VOLANTSIZE]
 
G4bool copied [VOLANTSIZE]
 
G4int iv
 

Detailed Description

Evaporation and fission output data.

Definition at line 223 of file G4AblaDataDefs.hh.

Constructor & Destructor Documentation

G4Volant::G4Volant ( )
inline

Definition at line 226 of file G4AblaDataDefs.hh.

References clear().

227  {
228  clear();
229  }
void clear()
G4Volant::~G4Volant ( )
inline

Definition at line 231 of file G4AblaDataDefs.hh.

231 {};

Member Function Documentation

void G4Volant::clear ( void  )
inline

Definition at line 233 of file G4AblaDataDefs.hh.

References acv, copied, iv, pcv, VOLANTSIZE, xcv, ycv, zcv, and zpcv.

Referenced by G4Abla::breakItUp(), G4AblaInterface::DeExcite(), and G4Volant().

234  {
235  for(G4int i = 0; i < VOLANTSIZE; i++) {
236  copied[i] = false;
237  acv[i] = 0;
238  zpcv[i] = 0;
239  pcv[i] = 0;
240  xcv[i] = 0;
241  ycv[i] = 0;
242  zcv[i] = 0;
243  iv = 0;
244  }
245  }
G4double ycv[VOLANTSIZE]
G4bool copied[VOLANTSIZE]
int G4int
Definition: G4Types.hh:78
G4double xcv[VOLANTSIZE]
#define VOLANTSIZE
G4double zpcv[VOLANTSIZE]
G4double pcv[VOLANTSIZE]
G4double acv[VOLANTSIZE]
G4double zcv[VOLANTSIZE]
void G4Volant::dump ( )
inline

Definition at line 256 of file G4AblaDataDefs.hh.

References acv, iv, pcv, and zpcv.

Referenced by G4Abla::breakItUp(), G4Abla::evapora(), and G4Abla::translab().

257  {
258  G4double totA = 0.0, totZ = 0.0, totP = 0.0;
259  // G4cout <<"i \t ACV \t ZPCV \t PCV" << G4endl;
260  for(G4int i = 0; i <= iv; i++) {
261  if(i == 0 && acv[i] != 0) {
262  // G4cout <<"G4Volant: Particle stored at index " << i << G4endl;
263  }
264  totA += acv[i];
265  totZ += zpcv[i];
266  totP += pcv[i];
267  // G4cout << "volant" << i << "\t" << acv[i] << " \t " << zpcv[i] << " \t " << pcv[i] << G4endl;
268  }
269  // G4cout <<"Particle count index (iv) = " << iv << G4endl;
270  // G4cout <<"ABLA Total: A = " << totA << " Z = " << totZ << " momentum = " << totP << G4endl;
271  }
int G4int
Definition: G4Types.hh:78
G4double zpcv[VOLANTSIZE]
G4double pcv[VOLANTSIZE]
G4double acv[VOLANTSIZE]
double G4double
Definition: G4Types.hh:76
G4double G4Volant::getTotalMass ( )
inline

Definition at line 247 of file G4AblaDataDefs.hh.

References acv, iv, and G4INCL::CrossSections::total().

Referenced by G4Abla::evapora().

248  {
249  G4double total = 0.0;
250  for(G4int i = 0; i <= iv; i++) {
251  total += acv[i];
252  }
253  return total;
254  }
int G4int
Definition: G4Types.hh:78
G4double acv[VOLANTSIZE]
G4double total(Particle const *const p1, Particle const *const p2)
double G4double
Definition: G4Types.hh:76

Field Documentation

G4double G4Volant::acv[VOLANTSIZE]
G4bool G4Volant::copied[VOLANTSIZE]

Definition at line 275 of file G4AblaDataDefs.hh.

Referenced by clear(), and G4Abla::translab().

G4int G4Volant::iv
G4double G4Volant::pcv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.

Referenced by G4Abla::breakItUp(), clear(), dump(), G4Abla::evapora(), and G4Abla::translab().

G4double G4Volant::xcv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.

Referenced by G4Abla::breakItUp(), clear(), G4Abla::evapora(), and G4Abla::translab().

G4double G4Volant::ycv[VOLANTSIZE]

Definition at line 274 of file G4AblaDataDefs.hh.

Referenced by G4Abla::breakItUp(), clear(), G4Abla::evapora(), and G4Abla::translab().

G4double G4Volant::zcv[VOLANTSIZE]

Definition at line 274 of file G4AblaDataDefs.hh.

Referenced by G4Abla::breakItUp(), clear(), G4Abla::evapora(), and G4Abla::translab().

G4double G4Volant::zpcv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.

Referenced by G4Abla::breakItUp(), clear(), dump(), G4Abla::evapora(), and G4Abla::translab().


The documentation for this class was generated from the following file: