#include <Telements.h>
◆ d2shape_local()
Second derivatives of shape functions for specific TElement<2,3>: d2psids(i,0) = \( \partial^2 \psi_j / \partial s_0^2 \) d2psids(i,1) = \( \partial^2 \psi_j / \partial s_1^2 \) d2psids(i,2) = \( \partial^2 \psi_j / \partial s_0 \partial s_1 \)
698 d2psids(4, 1) = -8.0;
699 d2psids(4, 2) = -4.0;
701 d2psids(5, 0) = -8.0;
703 d2psids(5, 2) = -4.0;
void dshape_local(const Vector< double > &s, Shape &psi, DShape &dpsids) const
Derivatives of shape functions for specific TElement<2,3>
Definition: Telements.h:647
References s.
◆ dshape_local()
Derivatives of shape functions for specific TElement<2,3>
652 dpsids(0, 0) = 4.0 *
s[0] - 1.0;
655 dpsids(1, 1) = 4.0 *
s[1] - 1.0;
656 dpsids(2, 0) = 2.0 * (2.0 *
s[0] - 1.5 + 2.0 *
s[1]);
657 dpsids(2, 1) = 2.0 * (2.0 *
s[0] - 1.5 + 2.0 *
s[1]);
658 dpsids(3, 0) = 4.0 *
s[1];
659 dpsids(3, 1) = 4.0 *
s[0];
660 dpsids(4, 0) = -4.0 *
s[1];
661 dpsids(4, 1) = 4.0 * (1.0 -
s[0] - 2.0 *
s[1]);
662 dpsids(5, 0) = 4.0 * (1.0 - 2.0 *
s[0] -
s[1]);
663 dpsids(5, 1) = -4.0 *
s[0];
void shape(const Vector< double > &s, Shape &psi) const
Shape function for specific TElement<2,3>
Definition: Telements.h:627
RealScalar s
Definition: level1_cplx_impl.h:130
References s, and oomph::OneDimLagrange::shape().
◆ local_coordinate_of_node()
Return local coordinates of node j.
612 std::ostringstream error_message;
614 <<
"Element only has six nodes; called with node number " <<
j
617 throw OomphLibError(error_message.str(),
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
References j, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and s.
◆ shape()
Shape function for specific TElement<2,3>
630 double s_2 = 1.0 -
s[0] -
s[1];
635 psi[0] = 2.0 *
s[0] * (
s[0] - 0.5);
636 psi[1] = 2.0 *
s[1] * (
s[1] - 0.5);
637 psi[2] = 2.0 * s_2 * (s_2 - 0.5);
638 psi[3] = 4.0 *
s[0] *
s[1];
639 psi[4] = 4.0 *
s[1] * s_2;
640 psi[5] = 4.0 * s_2 *
s[0];
References s.
The documentation for this class was generated from the following file: