SpECTRE
v2024.08.03
|
Value initialize the items corresponding to Tags. More...
#include <DefaultInitialize.hpp>
Public Types | |
using | return_tags = tmpl::list< Tags... > |
using | argument_tags = tmpl::list<> |
Static Public Member Functions | |
template<size_t Dim> | |
static void | apply (const gsl::not_null< typename Tags::type * >... items, const std::pair< Mesh< Dim >, Element< Dim > > &) |
template<typename FinalArg > | |
static void | apply (const gsl::not_null< typename Tags::type * >..., const FinalArg &) |
Value initialize the items corresponding to Tags.
There is a specialization for DefaultInitialize<tmpl::list<Tags...>>
that can be used if a tmpl::list
is available.
For each item corresponding to each tag, value initialize the item by setting it equal to an object constructed with an empty initializer. This is the default state of mutable items in a DataBox if they are neither set from input file options, nor mutated by initialization actions.