#include <Telements.h>
◆ d2shape_local()
Second derivatives of shape functions for specific TElement<1,3>: d2psids(i,0) = \( \partial^2 \psi_j / \partial s_0^2 \)
383 d2psids(1, 0) = -8.0;
void dshape_local(const Vector< double > &s, Shape &psi, DShape &dpsids) const
Derivatives of shape functions for specific TElement<1,3>
Definition: Telements.h:359
References s.
◆ dshape_local()
Derivatives of shape functions for specific TElement<1,3>
364 dpsids(0, 0) = 4.0 *
s[0] - 3.0;
365 dpsids(1, 0) = 4.0 - 8.0 *
s[0];
366 dpsids(2, 0) = 4.0 *
s[0] - 1.0;
void shape(const Vector< double > &s, Shape &psi) const
Shape function for specific TElement<1,3>
Definition: Telements.h:348
RealScalar s
Definition: level1_cplx_impl.h:130
References s, and oomph::OneDimLagrange::shape().
◆ local_coordinate_of_node()
Return local coordinates of node j.
333 std::ostringstream error_message;
335 <<
"Element only has three nodes; called with node number " <<
j
338 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<1,3>
350 psi[0] = 2.0 * (
s[0] - 1.0) * (
s[0] - 0.5);
351 psi[1] = 4.0 * (1.0 -
s[0]) *
s[0];
352 psi[2] = 2.0 * (
s[0] - 0.5) *
s[0];
References s.
The documentation for this class was generated from the following file: