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

ComputeElasticityTensor defines an elasticity tensor material object with a given base name. More...

#include <ComputeElasticityTensor.h>

Inheritance diagram for ComputeElasticityTensor:
[legend]

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

RankFourTensor _Cijkl
 Individual material information. More...
 
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

ComputeElasticityTensor defines an elasticity tensor material object with a given base name.

Definition at line 15 of file ComputeElasticityTensor.h.

Constructor & Destructor Documentation

ComputeElasticityTensor::ComputeElasticityTensor ( const InputParameters &  parameters)

Definition at line 22 of file ComputeElasticityTensor.C.

24  _Cijkl(getParam<std::vector<Real>>("C_ijkl"),
25  (RankFourTensor::FillMethod)(int)getParam<MooseEnum>("fill_method"))
26 {
27  if (!isParamValid("elasticity_tensor_prefactor"))
29 
30  if (_Cijkl.isIsotropic())
32  else
33  {
34  // Define a rotation according to Euler angle parameters
35  RotationTensor R(_Euler_angles); // R type: RealTensorValue
36 
37  // rotate elasticity tensor
38  _Cijkl.rotate(R);
39  }
40 }
void issueGuarantee(const MaterialPropertyName &prop_name, Guarantee guarantee)
RankFourTensor _Cijkl
Individual material information.
ComputeRotatedElasticityTensorBase(const InputParameters &parameters)
This is a RealTensor version of a rotation matrix It is instantiated with the Euler angles...

Member Function Documentation

void ComputeElasticityTensor::computeQpElasticityTensor ( )
overrideprotectedvirtual

Implements ComputeElasticityTensorBase.

Reimplemented in ComputeElasticityTensorCP.

Definition at line 43 of file ComputeElasticityTensor.C.

44 {
45  // Assign elasticity tensor at a given quad point
47 }
RankFourTensor _Cijkl
Individual material information.
MaterialProperty< RankFourTensor > & _elasticity_tensor
void ComputeElasticityTensorBase::computeQpProperties ( )
protectedvirtualinherited

Definition at line 39 of file ComputeElasticityTensorBase.C.

40 {
42 
43  // Multiply by prefactor
45  _elasticity_tensor[_qp] *= _prefactor_function->value(_t, _q_point[_qp]);
46 }
Function *const _prefactor_function
prefactor function to multiply the elasticity tensor with
virtual void computeQpElasticityTensor()=0
MaterialProperty< RankFourTensor > & _elasticity_tensor
bool GuaranteeProvider::hasGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
inherited

Definition at line 14 of file GuaranteeProvider.C.

15 {
16  auto it = _guarantees.find(prop_name);
17  if (it == _guarantees.end())
18  return false;
19 
20  auto it2 = it->second.find(guarantee);
21  return it2 != it->second.end();
22 }
std::map< MaterialPropertyName, std::set< Guarantee > > _guarantees
void GuaranteeProvider::issueGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
protectedinherited
void GuaranteeProvider::revokeGuarantee ( const MaterialPropertyName &  prop_name,
Guarantee  guarantee 
)
protectedinherited

Definition at line 32 of file GuaranteeProvider.C.

Referenced by ComputeElasticityTensorCP::ComputeElasticityTensorCP().

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

Member Data Documentation

std::string ComputeElasticityTensorBase::_base_name
protectedinherited
RankFourTensor ComputeElasticityTensor::_Cijkl
protected
MaterialProperty<RankFourTensor>& ComputeElasticityTensorBase::_elasticity_tensor
protectedinherited
std::string ComputeElasticityTensorBase::_elasticity_tensor_name
protectedinherited
RealVectorValue ComputeRotatedElasticityTensorBase::_Euler_angles
protectedinherited
Function* const ComputeElasticityTensorBase::_prefactor_function
protectedinherited

prefactor function to multiply the elasticity tensor with

Definition at line 34 of file ComputeElasticityTensorBase.h.

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


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