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

#include <materials.hh>

Inheritance diagram for Opm::Elasticity::OrthotropicSym:
Inheritance graph

Public Member Functions

 OrthotropicSym (int ID, const Dune::DynamicVector< double > &Cu)
 Constructor creating a new material. More...
 
virtual ~OrthotropicSym ()
 Empty virtual destructor. More...
 
virtual int numPar () const
 Returns the number of parameters describing this material. More...
 
virtual double getPar (int ipar=1) const
 Returns the ipar'th parameter describing this material. More...
 
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...
 
int num () const
 Returns the external material id. More...
 
double getMassDensity () const
 Returns the mass density of this material. More...
 

Static Public Member Functions

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...
 

Protected Member Functions

virtual std::ostream & write (std::ostream &os) const
 Prints the material properties to a stream. 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
virtual Opm::Elasticity::OrthotropicSym::~OrthotropicSym ( )
inlinevirtual

Empty virtual destructor.

Member Function Documentation

static Material* Opm::Elasticity::Material::create ( int  ID,
const Dune::DynamicVector< double > &  params 
)
staticinherited

Creates a material object of a given type.

The material type depends on the number of parameters provided.

Parameters
[in]IDExternal number for this material
[in]paramsArray of material parameters

Referenced by Opm::Elasticity::IMPL_FUNC().

static Material* Opm::Elasticity::Material::create ( int  ID,
const std::string &  file 
)
staticinherited

Creates a material object from a rocklist.

Parameters
[in]IDID of the material
[in]fileThe URL to the rocklist
virtual bool Opm::Elasticity::OrthotropicSym::getConstitutiveMatrix ( Dune::FieldMatrix< double, 6, 6 > &  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.

virtual 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.

double Opm::Elasticity::Material::getMassDensity ( ) const
inlineinherited

Returns the mass density of this material.

virtual double Opm::Elasticity::OrthotropicSym::getPar ( int  ipar = 1) const
virtual

Returns the ipar'th parameter describing this material.

Reimplemented from Opm::Elasticity::Material.

int Opm::Elasticity::Material::num ( ) const
inlineinherited

Returns the external material id.

virtual int Opm::Elasticity::OrthotropicSym::numPar ( ) const
inlinevirtual

Returns the number of parameters describing this material.

Implements Opm::Elasticity::Material.

virtual std::ostream& Opm::Elasticity::OrthotropicSym::write ( std::ostream &  os) const
protectedvirtual

Prints the material properties to a stream.

Reimplemented from Opm::Elasticity::Material.


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