|
Celeritas 0.7.0-dev.162+develop.12e60fa0f
|
Access material properties on the device. More...
#include <MaterialData.hh>
Public Types | |
| template<class T > | |
| using | Items = Collection< T, W, M > |
| template<class T > | |
| using | MaterialItems = Collection< T, W, M, PhysMatId > |
Public Member Functions | |
| CELER_FUNCTION | operator bool () const |
| Whether the data is assigned. | |
| template<Ownership W2, MemSpace M2> | |
| MaterialParamsData & | operator= (MaterialParamsData< W2, M2 > const &other) |
| Assign from another set of data. | |
Public Attributes | |
| Items< IsotopeRecord > | isotopes |
| Items< ElementRecord > | elements |
| Items< ElIsotopeComponent > | isocomponents |
| Items< MatElementComponent > | elcomponents |
| Collection< MaterialRecord, W, M, PhysMatId > | materials |
| IsotopeComponentId::size_type | max_isotope_components {} |
| ElementComponentId::size_type | max_element_components {} |
| MaterialItems< OptMatId > | optical_id |
Access material properties on the device.
This view is created from MaterialParams.
If a material has optical properties defined, optical_id will give the index into the optical properties data. Otherwise, it will be a null ID, or empty if no optical properties are present for any material.