#include <Telements.h>
◆ d2shape_local()
Second derivatives of shape functions for specific TElement<2,4>: d2psids(i,0) = \( \partial^2 \psi_j / \partial s_0^2 \)
void dshape_local(const Vector< double > &s, Shape &psi, DShape &dpsids) const
Derivatives of shape functions for specific TElement<1,4>
Definition: Telements.h:443
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
References OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and s.
◆ dshape_local()
Derivatives of shape functions for specific TElement<1,4>
448 dpsids(0, 0) = -13.5 *
s[0] *
s[0] + 18.0 *
s[0] - 5.5;
449 dpsids(1, 0) = 40.5 *
s[0] *
s[0] - 45.0 *
s[0] + 9.0;
450 dpsids(2, 0) = -40.5 *
s[0] *
s[0] + 36.0 *
s[0] - 4.5;
451 dpsids(3, 0) = 13.5 *
s[0] *
s[0] - 9.0 *
s[0] + 1.0;
void shape(const Vector< double > &s, Shape &psi) const
Shape function for specific TElement<1,4>
Definition: Telements.h:432
RealScalar s
Definition: level1_cplx_impl.h:130
References s, and oomph::OneDimLagrange::shape().
◆ local_coordinate_of_node()
Return local coordinates of node j.
417 std::ostringstream error_message;
419 <<
"Element only has four nodes; called with node number " <<
j
422 throw OomphLibError(error_message.str(),
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,4>
434 psi[0] = 0.5 * (1.0 -
s[0]) * (3.0 *
s[0] - 2.0) * (3.0 *
s[0] - 1.0);
435 psi[1] = -4.5 *
s[0] * (1.0 -
s[0]) * (3.0 *
s[0] - 2.0);
436 psi[2] = 4.5 *
s[0] * (1.0 -
s[0]) * (3.0 *
s[0] - 1.0);
437 psi[3] = 0.5 *
s[0] * (3.0 *
s[0] - 2.0) * (3.0 *
s[0] - 1.0);
References s.
The documentation for this class was generated from the following file: