Public Types | Public Member Functions | Static Public Attributes | List of all members
domain::creators::time_dependence::None< MeshDim > Class Template Referencefinal

Make the mesh time independent so that it isn't moving. More...

#include <None.hpp>

Public Types

using maps_list = tmpl::list<>
using options = tmpl::list<>
- Public Types inherited from domain::creators::time_dependence::TimeDependence< MeshDim >
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

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

Static Public Attributes

static constexpr Options::String help

Detailed Description

template<size_t MeshDim>
class domain::creators::time_dependence::None< MeshDim >

Make the mesh time independent so that it isn't moving.

Calling the block_maps and functions_of_time functions causes an error because the None class should be detected separately and optimizations applied so that the coordinates, Jacobians, etc. are not recomputed.

Member Data Documentation

◆ help

template<size_t MeshDim>
constexpr Options::String domain::creators::time_dependence::None< MeshDim >::help
Initial value:
= {
"No time dependence in the in grid."}

The documentation for this class was generated from the following files: