Public Types | Public Member Functions | List of all members
MarmotElement Class Referenceabstract

#include <MarmotElement.h>

Inheritance diagram for MarmotElement:
[legend]

Public Types

enum  StateTypes {
  Sigma11, Sigma22, Sigma33, HydrostaticStress,
  GeostaticStress, MarmotMaterialStateVars, MarmotMaterialInitialization
}
 
enum  DistributedLoadTypes { Pressure, SurfaceTorsion, SurfaceTraction }
 

Public Member Functions

virtual ~MarmotElement ()
 
virtual int getNumberOfRequiredStateVars ()=0
 
virtual std::vector< std::vector< std::string > > getNodeFields ()=0
 
virtual std::vector< int > getDofIndicesPermutationPattern ()=0
 
virtual int getNNodes ()=0
 
virtual int getNSpatialDimensions ()=0
 
virtual int getNDofPerElement ()=0
 
virtual std::string getElementShape ()=0
 
virtual void assignStateVars (double *stateVars, int nStateVars)=0
 
virtual void assignProperty (const ElementProperties &property)
 
virtual void assignProperty (const MarmotMaterialSection &property)
 
virtual void assignNodeCoordinates (const double *coordinates)=0
 
virtual void initializeYourself ()=0
 
virtual void setInitialConditions (StateTypes state, const double *values)=0
 
virtual void computeYourself (const double *QTotal, const double *dQ, double *Pint, double *K, const double *time, double dT, double &pNewdT)=0
 
virtual void computeDistributedLoad (DistributedLoadTypes loadType, double *Pext, double *K, int elementFace, const double *load, const double *QTotal, const double *time, double dT)=0
 
virtual void computeBodyForce (double *Pext, double *K, const double *load, const double *QTotal, const double *time, double dT)=0
 
virtual StateView getStateView (const std::string &stateName, int quadraturePoint)=0
 
virtual std::vector< double > getCoordinatesAtCenter ()=0
 
virtual std::vector< std::vector< double > > getCoordinatesAtQuadraturePoints ()=0
 
virtual int getNumberOfQuadraturePoints ()=0
 

Member Enumeration Documentation

◆ StateTypes

Enumerator
Sigma11 
Sigma22 
Sigma33 
HydrostaticStress 
GeostaticStress 
MarmotMaterialStateVars 
MarmotMaterialInitialization 

◆ DistributedLoadTypes

Enumerator
Pressure 
SurfaceTorsion 
SurfaceTraction 

Constructor & Destructor Documentation

◆ ~MarmotElement()

virtual MarmotElement::~MarmotElement ( )
virtual

Member Function Documentation

◆ getNumberOfRequiredStateVars()

virtual int MarmotElement::getNumberOfRequiredStateVars ( )
pure virtual

◆ getNodeFields()

virtual std::vector< std::vector< std::string > > MarmotElement::getNodeFields ( )
pure virtual

◆ getDofIndicesPermutationPattern()

virtual std::vector< int > MarmotElement::getDofIndicesPermutationPattern ( )
pure virtual

◆ getNNodes()

virtual int MarmotElement::getNNodes ( )
pure virtual

◆ getNSpatialDimensions()

virtual int MarmotElement::getNSpatialDimensions ( )
pure virtual

◆ getNDofPerElement()

virtual int MarmotElement::getNDofPerElement ( )
pure virtual

◆ getElementShape()

virtual std::string MarmotElement::getElementShape ( )
pure virtual

◆ assignStateVars()

virtual void MarmotElement::assignStateVars ( double *  stateVars,
int  nStateVars 
)
pure virtual

◆ assignProperty() [1/2]

virtual void MarmotElement::assignProperty ( const ElementProperties property)
virtual

◆ assignProperty() [2/2]

virtual void MarmotElement::assignProperty ( const MarmotMaterialSection property)
virtual

◆ assignNodeCoordinates()

virtual void MarmotElement::assignNodeCoordinates ( const double *  coordinates)
pure virtual

◆ initializeYourself()

virtual void MarmotElement::initializeYourself ( )
pure virtual

◆ setInitialConditions()

virtual void MarmotElement::setInitialConditions ( StateTypes  state,
const double *  values 
)
pure virtual

◆ computeYourself()

virtual void MarmotElement::computeYourself ( const double *  QTotal,
const double *  dQ,
double *  Pint,
double *  K,
const double *  time,
double  dT,
double &  pNewdT 
)
pure virtual

◆ computeDistributedLoad()

virtual void MarmotElement::computeDistributedLoad ( DistributedLoadTypes  loadType,
double *  Pext,
double *  K,
int  elementFace,
const double *  load,
const double *  QTotal,
const double *  time,
double  dT 
)
pure virtual

◆ computeBodyForce()

virtual void MarmotElement::computeBodyForce ( double *  Pext,
double *  K,
const double *  load,
const double *  QTotal,
const double *  time,
double  dT 
)
pure virtual

◆ getStateView()

virtual StateView MarmotElement::getStateView ( const std::string &  stateName,
int  quadraturePoint 
)
pure virtual

◆ getCoordinatesAtCenter()

virtual std::vector< double > MarmotElement::getCoordinatesAtCenter ( )
pure virtual

◆ getCoordinatesAtQuadraturePoints()

virtual std::vector< std::vector< double > > MarmotElement::getCoordinatesAtQuadraturePoints ( )
pure virtual

◆ getNumberOfQuadraturePoints()

virtual int MarmotElement::getNumberOfQuadraturePoints ( )
pure virtual

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