SpECTRE
v2025.03.17
|
Holds tensor components on a grid, to be written into an H5 file. More...
#include <TensorData.hpp>
Public Member Functions | |
ElementVolumeData (std::string element_name_in, std::vector< TensorComponent > components, std::vector< size_t > extents_in, std::vector< Spectral::Basis > basis_in, std::vector< Spectral::Quadrature > quadrature_in) | |
template<size_t Dim> | |
ElementVolumeData (const ElementId< Dim > &element_id, std::vector< TensorComponent > components, const Mesh< Dim > &mesh) | |
void | pup (PUP::er &p) |
Public Attributes | |
std::string | element_name {} |
Name of the grid (should be human-readable). For standard volume data this name must be the string representation of an ElementId, such as [B0,(L0I1,L0I0,L3I2)]. Code that reads the volume data may rely on this pattern to reconstruct the ElementId. | |
std::vector< TensorComponent > | tensor_components {} |
All tensor components on the grid. | |
std::vector< size_t > | extents {} |
Number of grid points in every dimension of the grid. | |
std::vector< Spectral::Basis > | basis {} |
Spectral::Basis in every dimension of the grid. | |
std::vector< Spectral::Quadrature > | quadrature {} |
Spectral::Quadrature in every dimension of the grid. | |
Holds tensor components on a grid, to be written into an H5 file.