SpECTRE  v2024.04.12
amr::projectors::DefaultInitialize< Tags > Struct Template Reference

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 &)
 

Detailed Description

template<typename... Tags>
struct amr::projectors::DefaultInitialize< Tags >

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.

Details

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.


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