A utility class for creating instances of tallies.
More...
#include "pinspec/src/TallyFactory.h"
A utility class for creating instances of tallies.
| Tally * TallyFactory::createTally |
( |
Geometry * |
geometry, |
|
|
tallyType |
tally_type, |
|
|
char * |
tally_name = (char*)"" |
|
) |
| |
Method to create a tally for some tally type within the geometry.
- Parameters
-
| geometry | a pointer to the geometry within which to tally |
| tally_type | the type of tally (ie, FLUX, CAPTURE_RATE, etc.) |
| tally_name | a character array for the name of the tally |
- Returns
- a pointer to the newly created tally
| Tally * TallyFactory::createTally |
( |
Region * |
region, |
|
|
tallyType |
tally_type, |
|
|
char * |
tally_name = (char*)"" |
|
) |
| |
Method to create a tally for some tally type within a region.
- Parameters
-
| region | a pointer to the region within which to tally |
| tally_type | the type of tally (ie, FLUX, CAPTURE_RATE, etc.) |
| tally_name | a character array for the name of the tally |
- Returns
- a pointer to the newly created tally
| Tally * TallyFactory::createTally |
( |
Material * |
material, |
|
|
tallyType |
tally_type, |
|
|
char * |
tally_name = (char*)"" |
|
) |
| |
Method to create a tally for some tally type within a material.
- Parameters
-
| material | a pointer to the material within which to tally |
| tally_type | the type of tally (ie, FLUX, CAPTURE_RATE, etc.) |
| tally_name | a character array for the name of the tally |
- Returns
- a pointer to the newly created tally
| Tally * TallyFactory::createTally |
( |
Isotope * |
isotope, |
|
|
tallyType |
tally_type, |
|
|
char * |
tally_name = (char*)"" |
|
) |
| |
Method to create a tally for some tally type within an isotope.
- Parameters
-
| isotope | a pointer to the isotope to tally |
| tally_type | the type of tally (ie, FLUX, CAPTURE_RATE, etc.) |
| tally_name | a character array for the name of the tally |
- Returns
- a pointer to the newly created tally
Assignment operator for static referencing of the TallyFactory.
- Parameters
-
- Returns
- a pointer to the TallyFactory static class object
The documentation for this class was generated from the following files: