|
SpECTRE
2021.08.02
|
An untyped tensor component with a name for observation. More...
#include <TensorData.hpp>
Public Member Functions | |
| TensorComponent (std::string in_name, DataVector in_data) noexcept | |
| TensorComponent (std::string in_name, std::vector< float > in_data) noexcept | |
| void | pup (PUP::er &p) noexcept |
Public Attributes | |
| std::string | name {} |
| std::variant< DataVector, std::vector< float > > | data {} |
An untyped tensor component with a name for observation.
The name should be a path inside an H5 file, typically starting with the name of the volume subfile. For example, element_volume_data.vol/ObservationId[ID]/[ElementIdName]/psi_xx.