SpECTRE
v2024.09.29
|
Read in FunctionOfTime coefficients from an H5 file and volume subfile. More...
#include <FromVolumeFile.hpp>
Public Member Functions | |
FromVolumeFile (const std::string &h5_filename, const std::string &subfile_name, double time, const Options::Context &context={}) | |
Public Attributes | |
std::array< DataVector, 3 > | values {} |
Read in FunctionOfTime coefficients from an H5 file and volume subfile.
To use, template the class on one of the structs in domain::creators::time_dependent_options::names
. The general struct will have one member, values
that will hold the function of time and its first two derivatives.
There are specializations for
domain::creators::time_dependent_options::names::Rotation
because of quaternionsdomain::creators::time_dependent_options::name::Expansion
because it also has outer boundary values (a second function of time)domain::creators::time_dependent_options::names::ShapeSize
because it handles both the Shape and Size function of time.