Public Types | Public Member Functions | List of all members
domain::creators::time_dependence::TimeDependence< MeshDim > Struct Template Referenceabstract

The abstract base class off of which specific classes for adding time dependence into a domain creator must inherit off of. More...

#include <TimeDependence.hpp>

Public Types

using creatable_classes = tmpl::append< creatable_classes_any_dim, tmpl::conditional_t< MeshDim==1, creatable_classes_1d, tmpl::conditional_t< MeshDim==2, creatable_classes_2d, creatable_classes_3d > >>
 

Public Member Functions

 TimeDependence (const TimeDependence &)=default
 
TimeDependenceoperator= (const TimeDependence &)=default
 
 TimeDependence (TimeDependence &&)=default
 
TimeDependenceoperator= (TimeDependence &&)=default
 
virtual auto get_clone () const noexcept -> std::unique_ptr< TimeDependence >=0
 Returns a std::unique_ptr pointing to a copy of the TimeDependence.
 
virtual auto block_maps (size_t number_of_blocks) const noexcept -> std::vector< std::unique_ptr< domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, MeshDim >>>=0
 Returns the coordinate maps from the Frame::Grid to the Frame::Inertial frame for each block.
 
virtual auto functions_of_time () const noexcept -> std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime >>=0
 Returns the functions of time for the domain.
 
bool is_none () const noexcept
 Returns true if the instance is None, meaning no time dependence.
 

Detailed Description

template<size_t MeshDim>
struct domain::creators::time_dependence::TimeDependence< MeshDim >

The abstract base class off of which specific classes for adding time dependence into a domain creator must inherit off of.

The simplest examples of a TimeDependence are None and UniformTranslation. The None class is treated in a special manner to communicate to the code that the domain is time-independent.


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