SpECTRE  v2024.09.29
domain::creators::time_dependent_options::FromVolumeFile< FoTName > Struct Template Reference

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 {}
 

Detailed Description

template<typename FoTName>
struct domain::creators::time_dependent_options::FromVolumeFile< FoTName >

Read in FunctionOfTime coefficients from an H5 file and volume subfile.

Details

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


The documentation for this struct was generated from the following file: