SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
TensorComponent Struct Reference

An untyped tensor component with a name for observation. More...

#include <TensorData.hpp>

Public Member Functions

 TensorComponent (std::string in_name, DataVector in_data)
 TensorComponent (std::string in_name, std::vector< float > in_data)
void pup (PUP::er &p)

Public Attributes

std::string name {}
std::variant< DataVector, std::vector< float > > data {}

Detailed Description

An untyped tensor component with a name for observation.

The name should be just the name of the tensor component, such as 'Psi_xx'. It must not include any slashes ('/').


The documentation for this struct was generated from the following file:
  • src/IO/H5/TensorData.hpp