SpECTRE  v2023.05.16
domain::Tags::FunctionsOfTimeInitialize Struct Reference

The FunctionsOfTime initialized from a DomainCreator or (if override_functions_of_time is true in the metavariables) read from a file. More...

#include <FunctionsOfTime.hpp>

Public Types

using type = std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > >
 
template<typename Metavariables >
using option_tags = typename ::detail::OptionList< Metavariables, ::detail::has_override_functions_of_time_v< Metavariables > >::type
 

Static Public Member Functions

static std::string name ()
 
template<typename Metavariables >
static type create_from_options (const std::unique_ptr<::DomainCreator< Metavariables::volume_dim > > &domain_creator, const std::optional< std::string > &function_of_time_file, const std::map< std::string, std::string > &function_of_time_name_map)
 
template<typename Metavariables >
static type create_from_options (const std::unique_ptr<::DomainCreator< Metavariables::volume_dim > > &domain_creator)
 

Static Public Attributes

static constexpr bool pass_metavariables = true
 

Detailed Description

The FunctionsOfTime initialized from a DomainCreator or (if override_functions_of_time is true in the metavariables) read from a file.

Details

When override_functions_of_time == true in the metavariables, after obtaining the FunctionsOfTime from the DomainCreator, one or more of those FunctionsOfTime (which must be cubic piecewise polynomials) is overriden using data read from an HDF5 file via domain::Tags::read_spec_piecewise_polynomial()


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