MaterialMap Class Reference
#include <MaterialMap.h>
Inheritance diagram for MaterialMap:
Simple map of materials id->Origen::Material. More...
INTERFACE<<Standard::Serializable>> | |
| virtual int | serialize (Standard::AbstractStream *stream) const |
| virtual int | deserialize (Standard::AbstractStream *stream) |
| virtual unsigned long | getSerializedSize () const |
| virtual Standard::Serializable * | getCopy () const |
Public Member Functions | |
| SP_Material | get (int id) const |
| get a material (returns nullptr if not found) More... | |
| void | add (SP_Material mat) |
| add a new material More... | |
| double | power () const |
| total power (W) for last step More... | |
| double | power_over (int i) const |
| total power (W) for any interval More... | |
| double | cold_volume () const |
| total cold volume (cm^3) More... | |
| double | initial_mass () const |
| total mass (g) More... | |
| double | initial_hm_mass () const |
| total hm mass (g) More... | |
| std::string | to_string () const |
Public Attributes | |
| K | keys |
| STL member. More... | |
| T | elements |
| STL member. More... | |
Detailed Description
Simple map of materials id->Origen::Material.
- Examples:
- exNEAMS.cpp, tstio.cpp, tstMaterialBuffer.cpp, tstMultiZoneDepleter.cpp, and tstParallelDepletion.cpp.
Member Function Documentation
| SP_Material get | ( | int | id | ) | const |
get a material (returns nullptr if not found)
| void add | ( | SP_Material | mat | ) |
add a new material
Referenced by Origen::test::TEST().
| double power | ( | ) | const |
total power (W) for last step
| double power_over | ( | int | i | ) | const |
total power (W) for any interval
| double cold_volume | ( | ) | const |
total cold volume (cm^3)
Referenced by Origen::test::TEST().
| double initial_mass | ( | ) | const |
total mass (g)
Referenced by Origen::test::TEST().
| double initial_hm_mass | ( | ) | const |
total hm mass (g)
Referenced by Origen::test::TEST().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| std::string to_string | ( | ) | const |
Member Data Documentation
|
inherited |
STL member.
|
inherited |
STL member.
The documentation for this class was generated from the following files:
- Core/dc/MaterialMap.h
- Core/dc/MaterialMap.cpp

1.8.10