gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
elasticityTerm Class Reference

#include <elasticityTerm.h>

Inheritance diagram for elasticityTerm:
Collaboration diagram for elasticityTerm:

Public Member Functions

void setFieldC (int i)
 
void setFieldR (int i)
 
virtual int sizeOfR (SElement *se) const
 
virtual int sizeOfC (SElement *se) const
 
Dof getLocalDofR (SElement *se, int iRow) const
 
Dof getLocalDofC (SElement *se, int iCol) const
 
 elasticityTerm (GModel *gm, double E, double nu, int fieldr, int fieldc)
 
 elasticityTerm (GModel *gm, double E, double nu, int fieldr)
 
void setVector (const SVector3 &f)
 
void elementMatrix (SElement *se, fullMatrix< double > &m) const
 
void elementVector (SElement *se, fullVector< double > &m) const
 
- Public Member Functions inherited from femTerm< double >
 femTerm (GModel *gm)
 
virtual ~femTerm ()
 
virtual void elementMatrix (SElement *se, fullMatrix< dataMat > &m) const=0
 
virtual void elementVector (SElement *se, fullVector< dataVec > &m) const
 
void addToMatrix (dofManager< dataVec > &dm, groupOfElements &L, groupOfElements &C) const
 
void addToMatrix (dofManager< dataVec > &dm, SElement *se) const
 
void addToMatrix (dofManager< dataVec > &dm, fullMatrix< dataMat > &localMatrix, SElement *se) const
 
void dirichletNodalBC (int physical, int dim, int comp, int field, const simpleFunction< dataVec > &e, dofManager< dataVec > &dm)
 
void neumannNodalBC (MElement *e, int comp, int field, const simpleFunction< dataVec > &fct, dofManager< dataVec > &dm)
 
void neumannNodalBC (int physical, int dim, int comp, int field, const simpleFunction< dataVec > &fct, dofManager< dataVec > &dm)
 
void neumannNormalNodalBC (int physical, int dim, int field, const simpleFunction< dataVec > &fct, dofManager< dataVec > &dm)
 
void addToRightHandSide (dofManager< dataVec > &dm, groupOfElements &C) const
 

Protected Member Functions

void createData (MElement *) const
 

Protected Attributes

double _e
 
double _nu
 
int _iFieldR
 
int _iFieldC
 
SVector3 _volumeForce
 
std::map< int, elasticityDataAtGaussPoint_data
 
- Protected Attributes inherited from femTerm< double >
GModel_gm
 

Detailed Description

Definition at line 21 of file elasticityTerm.h.

Constructor & Destructor Documentation

◆ elasticityTerm() [1/2]

elasticityTerm::elasticityTerm ( GModel gm,
double  E,
double  nu,
int  fieldr,
int  fieldc 
)
inline

Definition at line 61 of file elasticityTerm.h.

◆ elasticityTerm() [2/2]

elasticityTerm::elasticityTerm ( GModel gm,
double  E,
double  nu,
int  fieldr 
)
inline

Definition at line 65 of file elasticityTerm.h.

Member Function Documentation

◆ createData()

void elasticityTerm::createData ( MElement e) const
protected

Definition at line 12 of file elasticityTerm.cpp.

Referenced by elementMatrix().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ elementMatrix()

void elasticityTerm::elementMatrix ( SElement se,
fullMatrix< double > &  m 
) const

Definition at line 43 of file elasticityTerm.cpp.

Here is the call graph for this function:

◆ elementVector()

void elasticityTerm::elementVector ( SElement se,
fullVector< double > &  m 
) const

Definition at line 127 of file elasticityTerm.cpp.

Here is the call graph for this function:

◆ getLocalDofC()

Dof elasticityTerm::getLocalDofC ( SElement se,
int  iCol 
) const
inlinevirtual

Reimplemented from femTerm< double >.

Definition at line 51 of file elasticityTerm.h.

Here is the call graph for this function:

◆ getLocalDofR()

Dof elasticityTerm::getLocalDofR ( SElement se,
int  iRow 
) const
inlinevirtual

Implements femTerm< double >.

Definition at line 43 of file elasticityTerm.h.

Here is the call graph for this function:

◆ setFieldC()

void elasticityTerm::setFieldC ( int  i)
inline

Definition at line 30 of file elasticityTerm.h.

◆ setFieldR()

void elasticityTerm::setFieldR ( int  i)
inline

Definition at line 31 of file elasticityTerm.h.

◆ setVector()

void elasticityTerm::setVector ( const SVector3 f)
inline

Definition at line 69 of file elasticityTerm.h.

Here is the call graph for this function:

◆ sizeOfC()

virtual int elasticityTerm::sizeOfC ( SElement se) const
inlinevirtual

Implements femTerm< double >.

Definition at line 37 of file elasticityTerm.h.

Here is the call graph for this function:

◆ sizeOfR()

virtual int elasticityTerm::sizeOfR ( SElement se) const
inlinevirtual

Implements femTerm< double >.

Definition at line 33 of file elasticityTerm.h.

Here is the call graph for this function:

Member Data Documentation

◆ _data

std::map<int, elasticityDataAtGaussPoint> elasticityTerm::_data
mutableprotected

Definition at line 26 of file elasticityTerm.h.

Referenced by createData(), and elementMatrix().

◆ _e

double elasticityTerm::_e
protected

Definition at line 23 of file elasticityTerm.h.

Referenced by elementMatrix().

◆ _iFieldC

int elasticityTerm::_iFieldC
protected

Definition at line 24 of file elasticityTerm.h.

Referenced by getLocalDofC(), and setFieldC().

◆ _iFieldR

int elasticityTerm::_iFieldR
protected

Definition at line 24 of file elasticityTerm.h.

Referenced by getLocalDofR(), and setFieldR().

◆ _nu

double elasticityTerm::_nu
protected

Definition at line 23 of file elasticityTerm.h.

Referenced by elementMatrix().

◆ _volumeForce

SVector3 elasticityTerm::_volumeForce
protected

Definition at line 25 of file elasticityTerm.h.

Referenced by elementVector(), and setVector().


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