12#ifndef BELFEM_CL_IFG_TRI6B_HPP
13#define BELFEM_CL_IFG_TRI6B_HPP
64 aXiHat( 0, 0 ) = 0.00 ;
65 aXiHat( 0, 1 ) = 0.75 ;
67 aXiHat( 1, 0 ) = 0.00 ;
68 aXiHat( 1, 1 ) = 0.25 ;
77 const Vector <real> & aXi,
78 Matrix <real> & aN )
const
80 const real xi = aXi( 0 );
81 const real eta = aXi( 1 );
82 const real zeta = 1. - xi - eta ;
85 aN( 0, 0 ) = 32./3 * eta * zeta * ( eta*eta - zeta*zeta );
86 aN( 0, 1 ) = -aN( 0, 0 );
96 const Vector <real> & aXi,
97 Matrix <real> & adNdXi )
const
99 const real xi = aXi( 0 );
100 const real eta = aXi( 1 );
101 const real zeta = 1. - xi - eta ;
109 adNdXi( 0, 0 ) =
K * eta * ( 3. * zeta * zeta - eta * eta ) ;
112 adNdXi( 0, 1 ) =
K * ((eta+zeta)*(2.*eta*zeta-(eta-zeta)*(eta-zeta))) ;
114 adNdXi( 1, 0 ) = -adNdXi( 0, 0 );
115 adNdXi( 1, 1 ) = -adNdXi( 0, 1 );
125 const Vector <real> & aXi,
126 Matrix <real> & ad2NdXi2 )
const
128 const real xi = aXi( 0 );
129 const real eta = aXi( 1 );
130 const real zeta = 1. - xi - eta ;
135 ad2NdXi2( 0, 0 ) = -64. * eta * zeta ;
138 ad2NdXi2( 1, 0 ) = 64. *(xi - 1.)*( eta - zeta );
141 ad2NdXi2( 2, 0 ) = 32. * ( (zeta-eta)*(zeta-eta) - 2. * eta*eta);
143 ad2NdXi2( 0, 1 ) = -ad2NdXi2( 0, 0 ) ;
144 ad2NdXi2( 1, 1 ) = -ad2NdXi2( 1, 0 ) ;
145 ad2NdXi2( 2, 1 ) = -ad2NdXi2( 2, 0 ) ;
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
@ K
Stiffness matrix.
Definition cl_TimestepMatrices.hpp:35
USER GUIDES:
Definition cl_Capacitor.cpp:16
@ BubbleEdge1
Definition Mesh_Enums.hpp:104
ElementType element_type(const std::string &aStr)
Definition Mesh_Enums.hpp:370
ElementType
Element types.
Definition Mesh_Enums.hpp:27
@ TRI6
Definition Mesh_Enums.hpp:37
InterpolationOrder
Definition Mesh_Enums.hpp:85
@ CUBIC
Definition Mesh_Enums.hpp:90
double real
Definition typedefs.hpp:36
@ TRI
Definition Mesh_Enums.hpp:73