Public Member Functions | Private Attributes | List of all members
oomph::GeneralElasticityTensor Class Reference

A general elasticity tensor that provides storage for all 21 independent components. More...

#include <elasticity_tensor.h>

+ Inheritance diagram for oomph::GeneralElasticityTensor:

Public Member Functions

 GeneralElasticityTensor ()
 Empy Constructor. More...
 
double independent_component (const unsigned &i) const
 Overload the independent coefficient function. More...
 
void set_value (const unsigned &i, const unsigned &j, const unsigned &k, const unsigned &l, const double &value)
 Allow the values to be set. More...
 
- Public Member Functions inherited from oomph::ElasticityTensor
virtual ~ElasticityTensor ()
 Empty virtual Destructor. More...
 
double operator() (const unsigned &i, const unsigned &j, const unsigned &k, const unsigned &l) const
 Return the appropriate independent component via the index translation scheme (const version). More...
 
virtual ~ElasticityTensor ()
 Empty virtual Destructor. More...
 
double operator() (const unsigned &i, const unsigned &j, const unsigned &k, const unsigned &l) const
 Return the appropriate independent component via the index translation scheme (const version). More...
 

Private Attributes

double C [21]
 

Additional Inherited Members

- Protected Member Functions inherited from oomph::ElasticityTensor
void range_check (const unsigned &i, const unsigned &j, const unsigned &k, const unsigned &l) const
 Helper range checking function (Note that this only captures over-runs in 3D but errors are likely to be caught in evaluation of the stress and strain tensors anyway...) More...
 
 ElasticityTensor ()
 Empty Constructor. More...
 
void range_check (const unsigned &i, const unsigned &j, const unsigned &k, const unsigned &l) const
 Helper range checking function (Note that this only captures over-runs in 3D but errors are likely to be caught in evaluation of the stress and strain tensors anyway...) More...
 
 ElasticityTensor ()
 Empty Constructor. More...
 
- Static Protected Attributes inherited from oomph::ElasticityTensor
static const unsigned Index [3][3][3][3]
 Translation table from the four indices to the corresponding independent component. More...
 

Detailed Description

A general elasticity tensor that provides storage for all 21 independent components.

Definition at line 246 of file linear_elasticity/elasticity_tensor.h.

Constructor & Destructor Documentation

◆ GeneralElasticityTensor()

oomph::GeneralElasticityTensor::GeneralElasticityTensor ( )
inline

Empy Constructor.

Definition at line 253 of file linear_elasticity/elasticity_tensor.h.

References C, and i.

Member Function Documentation

◆ independent_component()

double oomph::GeneralElasticityTensor::independent_component ( const unsigned &  i) const
inlinevirtual

Overload the independent coefficient function.

Reimplemented from oomph::ElasticityTensor.

Definition at line 263 of file linear_elasticity/elasticity_tensor.h.

References C, and i.

◆ set_value()

void oomph::GeneralElasticityTensor::set_value ( const unsigned &  i,
const unsigned &  j,
const unsigned &  k,
const unsigned &  l,
const double &  value 
)
inlinevirtual

Allow the values to be set.

Reimplemented from oomph::ElasticityTensor.

Definition at line 269 of file linear_elasticity/elasticity_tensor.h.

References C, i, and oomph::ElasticityTensor::Index.

Member Data Documentation

◆ C

double oomph::GeneralElasticityTensor::C[21]
private

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