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

#include <InterpolationQuadLobatto.h>

Inheritance diagram for NuTo::InterpolationQuadLobatto:
NuTo::InterpolationSimple

Public Member Functions

 InterpolationQuadLobatto (int order)
 
std::unique_ptr< InterpolationSimpleClone () const override
 
Eigen::VectorXd GetShapeFunctions (const NaturalCoords &naturalIpCoords) const override
 calculates the shape functions More...
 
Eigen::MatrixXd GetDerivativeShapeFunctions (const NaturalCoords &naturalIpCoords) const override
 calculates the derivative shape functions More...
 
NaturalCoords GetLocalCoords (int nodeId) const override
 returns the local node coordinates More...
 
int GetNumNodes () const override
 returns the number of nodes More...
 
const ShapeGetShape () const override
 
- Public Member Functions inherited from NuTo::InterpolationSimple
virtual ~InterpolationSimple ()=default
 

Static Public Member Functions

static Eigen::MatrixXd LocalCoords (int nodeId, const Eigen::VectorXd &nodes)
 
static Eigen::VectorXd ShapeFunctions (const Eigen::Vector2d x, const Eigen::VectorXd &nodes)
 
static Eigen::MatrixXd DerivativeShapeFunctions (const Eigen::Vector2d x, const Eigen::VectorXd &nodes)
 

Constructor & Destructor Documentation

NuTo::InterpolationQuadLobatto::InterpolationQuadLobatto ( int  order)

Member Function Documentation

std::unique_ptr< InterpolationSimple > NuTo::InterpolationQuadLobatto::Clone ( ) const
overridevirtual
Eigen::MatrixXd NuTo::InterpolationQuadLobatto::DerivativeShapeFunctions ( const Eigen::Vector2d  x,
const Eigen::VectorXd &  nodes 
)
static
Eigen::MatrixXd NuTo::InterpolationQuadLobatto::GetDerivativeShapeFunctions ( const NaturalCoords naturalIpCoords) const
overridevirtual

calculates the derivative shape functions

Parameters
naturalIpCoordsintegration point coordinates in the natural coordinate system
Returns
matrix of derivate shape functions, dimension: [GetNumNodes() x local dimension]
Remarks
'local dimension' above is the dimension of rLocalIPCoords

Implements NuTo::InterpolationSimple.

NaturalCoords NuTo::InterpolationQuadLobatto::GetLocalCoords ( int  nodeId) const
overridevirtual

returns the local node coordinates

Parameters
nodeIdlocal node number
Returns
node coordinates in the natural coordinate system

Implements NuTo::InterpolationSimple.

int NuTo::InterpolationQuadLobatto::GetNumNodes ( ) const
overridevirtual

returns the number of nodes

Returns
number of nodes

Implements NuTo::InterpolationSimple.

const Shape & NuTo::InterpolationQuadLobatto::GetShape ( ) const
overridevirtual
Eigen::VectorXd NuTo::InterpolationQuadLobatto::GetShapeFunctions ( const NaturalCoords naturalIpCoords) const
overridevirtual

calculates the shape functions

Parameters
naturalIpCoordsintegration point coordinates in the natural coordinate system
Returns
vector of shape functions, dimension: [GetNumNodes() x 1]

Implements NuTo::InterpolationSimple.

Eigen::MatrixXd NuTo::InterpolationQuadLobatto::LocalCoords ( int  nodeId,
const Eigen::VectorXd &  nodes 
)
static
Eigen::VectorXd NuTo::InterpolationQuadLobatto::ShapeFunctions ( const Eigen::Vector2d  x,
const Eigen::VectorXd &  nodes 
)
static

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