12#ifndef BELFEM_CL_IF_PYRA5_HPP
13#define BELFEM_CL_IF_PYRA5_HPP
54 aXiHat( 0, 0 ) = -1.0;
55 aXiHat( 1, 0 ) = -1.0;
59 aXiHat( 1, 1 ) = -1.0;
66 aXiHat( 0, 3 ) = -1.0;
85 const real xi = aXi( 0 );
86 const real eta = aXi( 1 );
87 const real zeta = aXi( 2 );
89 real tau = 1.0 - zeta ;
93 aN( 0, 0 ) = 0.25 * ( tau + xieta - xi - eta );
94 aN( 0, 1 ) = 0.25 * ( tau - xieta + xi - eta );
95 aN( 0, 2 ) = 0.25 * ( tau + xieta + xi + eta );
96 aN( 0, 3 ) = 0.25 * ( tau - xieta - xi + eta );
110 const real xi = aXi( 0 );
111 const real eta = aXi( 1 );
115 adNdXi( 0, 0 ) = 0.25*eta - 0.25;
116 adNdXi( 1, 0 ) = 0.25*xi - 0.25 ;
117 adNdXi( 2, 0 ) = -0.25 ;
119 adNdXi( 0, 1 ) = 0.25 - 0.25*eta ;
120 adNdXi( 1, 1 ) = -0.25*xi - 0.25 ;
121 adNdXi( 2, 1 ) = -0.25 ;
123 adNdXi( 0, 2 ) = 0.25*eta + 0.25 ;
124 adNdXi( 1, 2 ) = 0.25*xi + 0.250 ;
125 adNdXi( 2, 2 ) = -0.25 ;
127 adNdXi( 0, 3 ) = -0.25*eta - 0.25 ;
128 adNdXi( 1, 3 ) = 0.25 - 0.25*xi ;
129 adNdXi( 2, 3 ) = -0.25 ;
131 adNdXi( 0, 4 ) = 0.0 ;
132 adNdXi( 1, 4 ) = 0.0 ;
133 adNdXi( 2, 4 ) = 1.0 ;
149 ad2NdXi2( 5, 0 ) = 0.25 ;
150 ad2NdXi2( 5, 1 ) = -0.25 ;
151 ad2NdXi2( 5, 2 ) = 0.25 ;
152 ad2NdXi2( 5, 3 ) = -0.25 ;
void set_size(const size_t aNumRows, const size_t aNumCols)
Definition cl_AR_Matrix.hpp:186
shape function templated class G : Geometry T : Type D : Dimension B : Number of Basis
Definition cl_IF_InterpolationFunctionTemplate.hpp:25
void param_coords(Matrix< real > &aXiHat) const override
returns a matrix containing the parameter coordinates of the nodes < number of dimensions x number of...
Definition cl_IF_InterpolationFunctionTemplate.hpp:49
InterpolationOrder interpolation_order() const override
returns the interpolation order
Definition cl_IF_InterpolationFunctionTemplate.hpp:145
void d2NdXi2(const Vector< real > &aXi, Matrix< real > &ad2NdXi2) const override
calculates the second derivative of the shape function in parameter space
Definition cl_IF_InterpolationFunctionTemplate.hpp:110
void dNdXi(const Vector< real > &aXi, Matrix< real > &adNdXi) const override
calculates the first derivative of the shape function in parameter space
Definition cl_IF_InterpolationFunctionTemplate.hpp:89
void N(const Vector< real > &aXi, Matrix< real > &aN) const override
evaluates the shape function at a given point
Definition cl_IF_InterpolationFunctionTemplate.hpp:68
Definition cl_IFB_LINE3.hpp:21
USER GUIDES:
Definition cl_Capacitor.cpp:16
@ LAGRANGE
Definition Mesh_Enums.hpp:100
ElementType element_type(const std::string &aStr)
Definition Mesh_Enums.hpp:370
ElementType
Element types.
Definition Mesh_Enums.hpp:27
@ PYRA5
Definition Mesh_Enums.hpp:35
InterpolationOrder
Definition Mesh_Enums.hpp:85
@ LINEAR
Definition Mesh_Enums.hpp:87
double real
Definition typedefs.hpp:36
@ PYRA
Definition Mesh_Enums.hpp:78