www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComputeRotatedElasticityTensorBase Class Referenceabstract

ComputeRotatedElasticityTensorBase is an intermediate base class that rotates an elasticity tensor based on euler angles. More...

#include <ComputeRotatedElasticityTensorBase.h>

Inheritance diagram for ComputeRotatedElasticityTensorBase:
[legend]

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

RealVectorValue _Euler_angles
 
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

ComputeRotatedElasticityTensorBase is an intermediate base class that rotates an elasticity tensor based on euler angles.

Definition at line 24 of file ComputeRotatedElasticityTensorBase.h.

Constructor & Destructor Documentation

◆ ComputeRotatedElasticityTensorBase()

ComputeRotatedElasticityTensorBase::ComputeRotatedElasticityTensorBase ( const InputParameters &  parameters)

Definition at line 24 of file ComputeRotatedElasticityTensorBase.C.

26  : ComputeElasticityTensorBase(parameters),
27  _Euler_angles(getParam<Real>("euler_angle_1"),
28  getParam<Real>("euler_angle_2"),
29  getParam<Real>("euler_angle_3"))
30 {
31 }
ComputeElasticityTensorBase(const InputParameters &parameters)

Member Function Documentation

◆ computeQpElasticityTensor()

virtual void ComputeElasticityTensorBase::computeQpElasticityTensor ( )
protectedpure virtualinherited

◆ 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

◆ _elasticity_tensor

MaterialProperty<RankFourTensor>& ComputeElasticityTensorBase::_elasticity_tensor
protectedinherited

◆ _elasticity_tensor_name

std::string ComputeElasticityTensorBase::_elasticity_tensor_name
protectedinherited

◆ _Euler_angles

RealVectorValue ComputeRotatedElasticityTensorBase::_Euler_angles
protected

◆ _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: