|
| Tally () |
| Tally Constructors.
|
|
| Tally (std::string type, std::string particle_name, int entity, std::string entity_type, std::string entity_name, std::string tally_name="", double entity_size=0.0, double normalization=1.0) |
| empty constructor More...
|
|
hid_t | create_dataspace (hid_t file, std::string datapath) |
| default destructor
|
|
hid_t | create_filetype () |
|
hid_t | create_memtype () |
|
void | from_hdf5 (char *filename, char *datapath, int row=-1) |
|
void | from_hdf5 (std::string filename, std::string datapath, int row=-1) |
|
void | write_hdf5 (char *filename, char *datapath) |
|
void | write_hdf5 (std::string filename, std::string datapath) |
|
std::string | mcnp (int tally_index=1, std::string mcnp_version="mcnp5") |
|
std::string | fluka (std::string unit_number="-21") |
|
|
std::map< std::string, std::string > | rx2fluka |
|
std::map< std::string, std::string > | rx2mcnp5 |
|
std::map< std::string, std::string > | rx2mcnp6 |
|
std::string | entity_type |
| fundamental tally variables More...
|
|
std::string | entity_name |
| the name of the entity (optional)
|
|
std::string | particle_name |
| particle name string
|
|
std::string | tally_type |
| type of tally flux or current
|
|
std::string | tally_name |
| name of the tally
|
|
int | entity_id |
| id number of the entity being tallied upon
|
|
double | entity_size |
| the physical size of the entity
|
|
double | normalization |
| the tally normalization
|
|
pyne::Tally::Tally |
( |
std::string |
type, |
|
|
std::string |
particle_name, |
|
|
int |
entity, |
|
|
std::string |
entity_type, |
|
|
std::string |
entity_name, |
|
|
std::string |
tally_name = "" , |
|
|
double |
entity_size = 0.0 , |
|
|
double |
normalization = 1.0 |
|
) |
| |
empty constructor
Constructor from passed in vars
- Parameters
-
type | the type of tally (flux or current) |
particle_name | the name of the particle type |
entity | the entity id of the tally (eg. surface index, volume number) |
entity_type | (volume or surface) |
entity_name | string identifying the entity |
tally_name | string identifying the tally |
entity_size | the physical size of the tally volume |
normalization | the number required to normalize your tally |
void pyne::Tally::from_hdf5 |
( |
char * |
filename, |
|
|
char * |
datapath, |
|
|
int |
row = -1 |
|
) |
| |
Dummy read method wrapper around c style strings
- Parameters
-
filename | the filename of the file to read from |
datapath | _name the name of the region where tallies are stored |
row | the array index of data to access |
void pyne::Tally::from_hdf5 |
( |
std::string |
filename, |
|
|
std::string |
datapath, |
|
|
int |
row = -1 |
|
) |
| |
Main read tally method
- Parameters
-
filename | the filename of the file to read from |
datapath | _name the name of the region where tallies are stored |
row | the array index of data to access |
void pyne::Tally::write_hdf5 |
( |
char * |
filename, |
|
|
char * |
datapath |
|
) |
| |
Dummy write method wrapper around c style strings
- Parameters
-
filename | the filename of the file to write to |
datapath | _name the name of the region where tallies are to be stored |
void pyne::Tally::write_hdf5 |
( |
std::string |
filename, |
|
|
std::string |
datapath |
|
) |
| |
Main write tally method
- Parameters
-
filename | the filename of the file to write to |
datapath | _name the name of the region where tallies are to be stored |
std::string pyne::Tally::entity_type |
fundamental tally variables
the type of entity (volume,surface)
The documentation for this class was generated from the following files:
- /home/ubuntu/Documents/pyne.github.com/src/tally.h
- /home/ubuntu/Documents/pyne.github.com/src/tally.cpp