SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Elasticity::Actions::InitializeConstitutiveRelation< Dim > Struct Template Reference

Initialize the constitutive relation describing properties of the elastic material. More...

#include <InitializeConstitutiveRelation.hpp>

Public Types

using const_global_cache_tags = implementation defined
 
using simple_tags = implementation defined
 
using compute_tags = implementation defined
 
using return_tags = simple_tags
 
using argument_tags = implementation defined
 

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

Detailed Description

template<size_t Dim>
struct Elasticity::Actions::InitializeConstitutiveRelation< Dim >

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>.


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