NuTo
Numerics Tool
Public Member Functions | List of all members
NuTo::ElementFem Class Reference

#include <ElementFem.h>

Inheritance diagram for NuTo::ElementFem:
NuTo::ElementInterface

Public Member Functions

 ElementFem (std::vector< NodeSimple * > nodes, const InterpolationSimple &interpolation)
 
 ElementFem (std::initializer_list< std::reference_wrapper< NuTo::NodeSimple >> nodes, const InterpolationSimple &interpolation)
 
virtual Eigen::VectorXd ExtractNodeValues (int instance=0) const override
 extracts all node values of this element More...
 
Eigen::MatrixXd GetNMatrix (NaturalCoords ipCoords) const override
 
Eigen::VectorXd GetShapeFunctions (NaturalCoords ipCoords) const override
 
Eigen::MatrixXd GetDerivativeShapeFunctions (NaturalCoords ipCoords) const override
 
int GetDofDimension () const override
 
Eigen::VectorXi GetDofNumbering () const override
 extract the dof numbers from its nodes. More...
 
int GetNumNodes () const override
 
const InterpolationSimpleInterpolation () const
 
NodeSimpleGetNode (int i)
 
const NodeSimpleGetNode (int i) const
 
const ShapeGetShape () const
 
- Public Member Functions inherited from NuTo::ElementInterface
virtual ~ElementInterface () noexcept=default
 

Constructor & Destructor Documentation

NuTo::ElementFem::ElementFem ( std::vector< NodeSimple * >  nodes,
const InterpolationSimple interpolation 
)
inline
NuTo::ElementFem::ElementFem ( std::initializer_list< std::reference_wrapper< NuTo::NodeSimple >>  nodes,
const InterpolationSimple interpolation 
)
inline

Member Function Documentation

virtual Eigen::VectorXd NuTo::ElementFem::ExtractNodeValues ( int  instance = 0) const
inlineoverridevirtual

extracts all node values of this element

They are ordered in blocks belonging to a node, e.g: coordinate Nodes in 3D: NodeValues: (x1,y1,z1, x2,y2,z2, ...)

Implements NuTo::ElementInterface.

Eigen::MatrixXd NuTo::ElementFem::GetDerivativeShapeFunctions ( NaturalCoords  ipCoords) const
inlineoverridevirtual
int NuTo::ElementFem::GetDofDimension ( ) const
inlineoverridevirtual
Eigen::VectorXi NuTo::ElementFem::GetDofNumbering ( ) const
inlineoverridevirtual

extract the dof numbers from its nodes.

Remarks
They have to be in the same order as defined in ExtractNodeValues()

Implements NuTo::ElementInterface.

Eigen::MatrixXd NuTo::ElementFem::GetNMatrix ( NaturalCoords  ipCoords) const
inlineoverridevirtual
NodeSimple& NuTo::ElementFem::GetNode ( int  i)
inline
const NodeSimple& NuTo::ElementFem::GetNode ( int  i) const
inline
int NuTo::ElementFem::GetNumNodes ( ) const
inlineoverridevirtual
const Shape& NuTo::ElementFem::GetShape ( ) const
inline
Eigen::VectorXd NuTo::ElementFem::GetShapeFunctions ( NaturalCoords  ipCoords) const
inlineoverridevirtual
const InterpolationSimple& NuTo::ElementFem::Interpolation ( ) const
inline

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