www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComputeCosseratElasticityTensor Class Reference

ComputeElasticityTensor defines an elasticity tensor material for isi. More...

#include <ComputeCosseratElasticityTensor.h>

Inheritance diagram for ComputeCosseratElasticityTensor:
[legend]

Public Member Functions

 ComputeCosseratElasticityTensor (const InputParameters &parameters)
 
bool hasGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 

Protected Member Functions

virtual void computeQpElasticityTensor ()
 
virtual void computeQpProperties ()
 
void issueGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 
void revokeGuarantee (const MaterialPropertyName &prop_name, Guarantee guarantee)
 

Protected Attributes

RankFourTensor _Eijkl
 Conventional elasticity tensor. More...
 
RankFourTensor _Bijkl
 Flexural rigidity tensor. More...
 
MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
 Flexural rigidity tensor at the qps. More...
 
std::string _base_name
 
std::string _elasticity_tensor_name
 
MaterialProperty< RankFourTensor > & _elasticity_tensor
 
Function *const _prefactor_function
 prefactor function to multiply the elasticity tensor with More...
 

Detailed Description

ComputeElasticityTensor defines an elasticity tensor material for isi.

Definition at line 23 of file ComputeCosseratElasticityTensor.h.

Constructor & Destructor Documentation

◆ ComputeCosseratElasticityTensor()

ComputeCosseratElasticityTensor::ComputeCosseratElasticityTensor ( const InputParameters &  parameters)

Definition at line 30 of file ComputeCosseratElasticityTensor.C.

31  : ComputeElasticityTensorBase(parameters),
32  _Eijkl(getParam<std::vector<Real>>("E_ijkl"),
33  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method")),
34  _Bijkl(getParam<std::vector<Real>>("B_ijkl"),
35  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method_bending")),
37  declareProperty<RankFourTensor>("elastic_flexural_rigidity_tensor"))
38 {
39  if (!isParamValid("elasticity_tensor_prefactor"))
41 }
MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
Flexural rigidity tensor at the qps.
RankFourTensor _Bijkl
Flexural rigidity tensor.
void issueGuarantee(const MaterialPropertyName &prop_name, Guarantee guarantee)
RankFourTensor _Eijkl
Conventional elasticity tensor.
ComputeElasticityTensorBase(const InputParameters &parameters)

Member Function Documentation

◆ computeQpElasticityTensor()

void ComputeCosseratElasticityTensor::computeQpElasticityTensor ( )
protectedvirtual

Implements ComputeElasticityTensorBase.

Definition at line 44 of file ComputeCosseratElasticityTensor.C.

45 {
48 }
MaterialProperty< RankFourTensor > & _elastic_flexural_rigidity_tensor
Flexural rigidity tensor at the qps.
RankFourTensor _Bijkl
Flexural rigidity tensor.
RankFourTensor _Eijkl
Conventional elasticity tensor.
MaterialProperty< RankFourTensor > & _elasticity_tensor

◆ computeQpProperties()

void ComputeElasticityTensorBase::computeQpProperties ( )
protectedvirtualinherited

Definition at line 41 of file ComputeElasticityTensorBase.C.

42 {
44 
45  // Multiply by prefactor
47  _elasticity_tensor[_qp] *= _prefactor_function->value(_t, _q_point[_qp]);
48 }
Function *const _prefactor_function
prefactor function to multiply the elasticity tensor with
virtual void computeQpElasticityTensor()=0
MaterialProperty< RankFourTensor > & _elasticity_tensor

◆ hasGuarantee()

bool GuaranteeProvider::hasGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
inherited

Definition at line 16 of file GuaranteeProvider.C.

17 {
18  auto it = _guarantees.find(prop_name);
19  if (it == _guarantees.end())
20  return false;
21 
22  auto it2 = it->second.find(guarantee);
23  return it2 != it->second.end();
24 }
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees

◆ issueGuarantee()

void GuaranteeProvider::issueGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
protectedinherited

◆ revokeGuarantee()

void GuaranteeProvider::revokeGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
protectedinherited

Definition at line 34 of file GuaranteeProvider.C.

Referenced by ComputeElasticityTensorCP::ComputeElasticityTensorCP().

35 {
36  auto it = _guarantees.find(prop_name);
37  if (it != _guarantees.end())
38  it->second.erase(guarantee);
39 }
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees

Member Data Documentation

◆ _base_name

std::string ComputeElasticityTensorBase::_base_name
protectedinherited

◆ _Bijkl

RankFourTensor ComputeCosseratElasticityTensor::_Bijkl
protected

Flexural rigidity tensor.

Definition at line 35 of file ComputeCosseratElasticityTensor.h.

Referenced by computeQpElasticityTensor().

◆ _Eijkl

RankFourTensor ComputeCosseratElasticityTensor::_Eijkl
protected

Conventional elasticity tensor.

Definition at line 32 of file ComputeCosseratElasticityTensor.h.

Referenced by computeQpElasticityTensor().

◆ _elastic_flexural_rigidity_tensor

MaterialProperty<RankFourTensor>& ComputeCosseratElasticityTensor::_elastic_flexural_rigidity_tensor
protected

Flexural rigidity tensor at the qps.

Definition at line 38 of file ComputeCosseratElasticityTensor.h.

Referenced by computeQpElasticityTensor().

◆ _elasticity_tensor

MaterialProperty<RankFourTensor>& ComputeElasticityTensorBase::_elasticity_tensor
protectedinherited

◆ _elasticity_tensor_name

std::string ComputeElasticityTensorBase::_elasticity_tensor_name
protectedinherited

◆ _prefactor_function

Function* const ComputeElasticityTensorBase::_prefactor_function
protectedinherited

prefactor function to multiply the elasticity tensor with

Definition at line 42 of file ComputeElasticityTensorBase.h.

Referenced by ComputeLayeredCosseratElasticityTensor::computeQpElasticityTensor(), and ComputeElasticityTensorBase::computeQpProperties().


The documentation for this class was generated from the following files: