xc
Public Member Functions | Protected Member Functions | List of all members
ShapeFunction Class Referenceabstract

Base class for shape functions. More...

#include <ShapeFunction.h>

Inheritance diagram for ShapeFunction:
Inheritance graph
[legend]

Public Member Functions

virtual ~ShapeFunction ()
 Destructor.
 
virtual m_double get_N_vec (const m_double &natcor) const =0
 Return the values of the shape functions at the point. More...
 
virtual m_double getPartialDerivatives (const m_double &natcor) const =0
 Return the values of the partial derivatives of the shape functions at the point which natural coordinates are being passed as parameter. More...
 
virtual IntegrationPoints get_integ_points (void) const =0
 Return the integration points for the shape functions domain.
 
virtual size_t get_nr_integ_points () const =0
 Return the integration points for the shape functions domain.
 
virtual IntegrationPoints get_face_integ_points (size_t face_nr) const =0
 Return the integration points for a side (2D domains) or a face (3D domains) of the shape functions. More...
 
virtual m_double dVdA (size_t face_nr) const =0
 ??
 

Protected Member Functions

 ShapeFunction ()
 Constructor por defecto.
 

Detailed Description

Base class for shape functions.

Member Function Documentation

◆ get_face_integ_points()

virtual IntegrationPoints ShapeFunction::get_face_integ_points ( size_t  face_nr) const
pure virtual

Return the integration points for a side (2D domains) or a face (3D domains) of the shape functions.

Implemented in Hexaedrico, Quadrilateral, Triangular, and Segmento.

◆ get_N_vec()

virtual m_double ShapeFunction::get_N_vec ( const m_double natcor) const
pure virtual

Return the values of the shape functions at the point.

with the natural coordinates being passed as parameter.

Implemented in Hex_lin, Quad_quad_alt, Quad_quad, Quad_lin, Tri_quad_alt, Tri_quad, Tri_lin, and Seg_lin.

◆ getPartialDerivatives()

virtual m_double ShapeFunction::getPartialDerivatives ( const m_double natcor) const
pure virtual

Return the values of the partial derivatives of the shape functions at the point which natural coordinates are being passed as parameter.

The (i,j) component of the matrix is equal to d(Nj)/d(xi)

Implemented in Hex_lin, Quad_quad_alt, Quad_quad, Quad_lin, Tri_quad_alt, Tri_quad, Tri_lin, and Seg_lin.


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