SpECTRE
v2025.03.17
|
Initialize the constitutive relation describing properties of the elastic material. More...
#include <InitializeConstitutiveRelation.hpp>
Static Public Member Functions | |
template<typename DbTags , typename... InboxTags, typename Metavariables , typename ActionList , typename ParallelComponent > | |
static Parallel::iterable_action_return_t | apply (db::DataBox< DbTags > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ElementId< Dim > &, const ActionList, const ParallelComponent *const) |
template<typename... AmrData> | |
static void | apply (const gsl::not_null< std::optional< std::string > * > material_layer_name, const gsl::not_null< std::optional< std::string > * > observation_key, const std::unordered_set< std::string > &material_block_groups, const Element< Dim > &element, const Domain< Dim > &domain, const AmrData &...) |
Initialize the constitutive relation describing properties of the elastic material.
Every block in the domain can have a different constitutive relation, allowing for composite materials. All constitutive relations are stored in the global cache indexed by block, and elements reference their block's constitutive relation in the DataBox. This means an element can retrieve the local constitutive relation from the DataBox simply by requesting Elasticity::Tags::ConstitutiveRelation<Dim>
.