SpECTRE  v2024.04.12
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 = tmpl::list< Tags::ConstitutiveRelationPerBlock< Dim >, Tags::MaterialBlockGroups< Dim > >
 
using simple_tags = tmpl::list< Tags::MaterialLayerName, observers::Tags::ObservationKey< Tags::MaterialLayerName > >
 
using compute_tags = tmpl::list< Tags::ConstitutiveRelationReference< Dim > >
 
using return_tags = simple_tags
 
using argument_tags = tmpl::list< Tags::MaterialBlockGroups< Dim >, domain::Tags::Element< Dim >, domain::Tags::Domain< Dim > >
 

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: