This class defines a basic set of capabilities any elasticity tensor should have. More...
#include <ElasticityTensor.h>
Public Member Functions | |
ElasticityTensor (const bool constant=false) | |
Default constructor... More... | |
virtual | ~ElasticityTensor () |
void | calculate (unsigned int qp) |
Public function that will be called whenever the values for this matrix need to be filled in. More... | |
virtual ColumnMajorMatrix | calculateDerivative (unsigned int qp, unsigned int i) |
Protected Member Functions | |
virtual void | calculateEntries (unsigned int qp)=0 |
Pure virtual (must be overriden by derived class). More... | |
Protected Attributes | |
bool | _constant |
Whether or not the matrix is constant for all of time and space. More... | |
bool | _values_computed |
Whether or not the values have been computed once. More... | |
This class defines a basic set of capabilities any elasticity tensor should have.
The ElasticityTensor (also called C_ijkl) is a 3x3x3x3 tensor that is represented here by a 9x9 matrix.
Note that there is a pure virtual function: calculateEntries. This function MUST be ovewritten by derived classes!
Definition at line 23 of file ElasticityTensor.h.
ElasticityTensor::ElasticityTensor | ( | const bool | constant = false | ) |
Default constructor...
creates a 9x9 matrix.
constant | Determines whether or not the matrix will get recomputed multiple times (false) or just once (true). |
Definition at line 12 of file ElasticityTensor.C.
|
inlinevirtual |
Definition at line 34 of file ElasticityTensor.h.
void ElasticityTensor::calculate | ( | unsigned int | qp | ) |
Public function that will be called whenever the values for this matrix need to be filled in.
Definition at line 18 of file ElasticityTensor.C.
|
virtual |
Definition at line 28 of file ElasticityTensor.C.
|
protectedpure virtual |
Pure virtual (must be overriden by derived class).
This method actually fills in the entries of the tensor... using whatever information it has.
Implemented in AnisotropicElasticityTensor, IsotropicElasticityTensor, and IsotropicElasticityTensorRZ.
Referenced by calculate().
|
protected |
Whether or not the matrix is constant for all of time and space.
Definition at line 48 of file ElasticityTensor.h.
Referenced by calculate().
|
protected |
Whether or not the values have been computed once.
Definition at line 53 of file ElasticityTensor.h.
Referenced by calculate().