All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Opm::Elasticity::OrthotropicSym Class Reference

Orthotropic linear elastic material with symmetric constitutive matrix. More...

#include <materials.hh>

Inheritance diagram for Opm::Elasticity::OrthotropicSym:
Opm::Elasticity::Material

Public Member Functions

 OrthotropicSym (int ID, const Dune::DynamicVector< double > &Cu)
 Constructor creating a new material. More...
 
virtual ~OrthotropicSym ()
 Empty virtual destructor.
 
virtual int numPar () const
 Returns the number of parameters describing this material.
 
virtual double getPar (int ipar=1) const
 Returns the ipar'th parameter describing this material.
 
virtual bool getConstitutiveMatrix (Dune::FieldMatrix< double, 6, 6 > &C, bool invers=false) const
 Establishes the full constitutive matrix for this material. More...
 
virtual bool getConstitutiveMatrix (Dune::FieldMatrix< double, 3, 3 > &C, bool invers=false) const
 Establishes the full constitutive matrix for this material. More...
 
- Public Member Functions inherited from Opm::Elasticity::Material
virtual ~Material ()
 Empty virtual destructor.
 
int num () const
 Returns the external material id.
 
double getMassDensity () const
 Returns the mass density of this material.
 

Protected Member Functions

virtual std::ostream & write (std::ostream &os) const
 Prints the material properties to a stream.
 
- Protected Member Functions inherited from Opm::Elasticity::Material
 Material (int ID=0, double density=0.0)
 Default constructor creating an empty material.
 

Additional Inherited Members

- Static Public Member Functions inherited from Opm::Elasticity::Material
static Materialcreate (int ID, const Dune::DynamicVector< double > &params)
 Creates a material object of a given type. More...
 
static Materialcreate (int ID, const std::string &file)
 Creates a material object from a rocklist. More...
 

Detailed Description

Orthotropic linear elastic material with symmetric constitutive matrix.

Constructor & Destructor Documentation

Opm::Elasticity::OrthotropicSym::OrthotropicSym ( int  ID,
const Dune::DynamicVector< double > &  Cu 
)

Constructor creating a new material.

Parameters
[in]IDExternal material number
[in]CuUpper triangle of the symmetric constitutive matrix

Member Function Documentation

bool Opm::Elasticity::OrthotropicSym::getConstitutiveMatrix ( Dune::FieldMatrix< double, 6, 6 > &  C,
bool  invers = false 
) const
virtual

Establishes the full constitutive matrix for this material.

\[ [C] = \left[\begin{array}{cccccc} C_{11} & C_{12} & C_{13} & C_{14} & C_{15} & C_{16} \\ & C_{22} & C_{23} & C_{24} & C_{25} & C_{26} \\ & & C_{33} & C_{34} & C_{35} & C_{36} \\ & & & C_{44} & C_{45} & C_{46} \\ \multicolumn{3}{c}{\rm symm.} & & C_{55} & C_{56} \\ & & & & & C_{66} \end{array}\right] \]

Parameters
[out]CThe constitutive matrix
[in]inversIf true, set up the inverse matrix instead

Implements Opm::Elasticity::Material.

bool Opm::Elasticity::OrthotropicSym::getConstitutiveMatrix ( Dune::FieldMatrix< double, 3, 3 > &  C,
bool  invers = false 
) const
virtual

Establishes the full constitutive matrix for this material.

Parameters
[out]CThe constitutive matrix
[in]inversIf true, set up the inverse matrix instead

Implements Opm::Elasticity::Material.


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