Functions
oomph::OneDimDiscontinuousGalerkin Namespace Reference

One dimensional shape functions and derivatives. Empty – simply establishes the template parameters. More...

Functions

template<unsigned NNODE_1D>
void shape (const double &s, double *Psi)
 Definition for 1D Lagrange shape functions. The value of all the shape functions at the local coordinate s are returned in the array Psi. More...
 
template<unsigned NNODE_1D>
void dshape (const double &s, double *DPsi)
 Definition for derivatives of 1D Lagrange shape functions. The value of all the shape function derivatives at the local coordinate s are returned in the array DPsi. More...
 
template<unsigned NNODE_1D>
void d2shape (const double &s, double *DPsi)
 Definition for second derivatives of 1D Lagrange shape functions. The value of all the shape function derivatives at the local coordinate s are returned in the array DPsi. More...
 
template<>
void shape< 2 > (const double &s, double *Psi)
 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void dshape< 2 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void d2shape< 2 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes) More...
 
template<>
void shape< 3 > (const double &s, double *Psi)
 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void dshape< 3 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void d2shape< 3 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes) More...
 
template<>
void shape< 4 > (const double &s, double *Psi)
 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void dshape< 4 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void d2shape< 4 > (const double &s, double *DPsi)
 Second derivatives of 1D shape functions specialised to cubic order (4 nodes) More...
 

Detailed Description

One dimensional shape functions and derivatives. Empty – simply establishes the template parameters.

Function Documentation

◆ d2shape()

template<unsigned NNODE_1D>
void oomph::OneDimDiscontinuousGalerkin::d2shape ( const double &  s,
double *  DPsi 
)

Definition for second derivatives of 1D Lagrange shape functions. The value of all the shape function derivatives at the local coordinate s are returned in the array DPsi.

Definition at line 763 of file shape.h.

◆ d2shape< 2 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::d2shape< 2 > ( const double &  s,
double *  DPsi 
)
inline

Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes)

Definition at line 800 of file shape.h.

◆ d2shape< 3 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::d2shape< 3 > ( const double &  s,
double *  DPsi 
)
inline

Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes)

Definition at line 830 of file shape.h.

◆ d2shape< 4 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::d2shape< 4 > ( const double &  s,
double *  DPsi 
)
inline

Second derivatives of 1D shape functions specialised to cubic order (4 nodes)

Definition at line 861 of file shape.h.

◆ dshape()

template<unsigned NNODE_1D>
void oomph::OneDimDiscontinuousGalerkin::dshape ( const double &  s,
double *  DPsi 
)

Definition for derivatives of 1D Lagrange shape functions. The value of all the shape function derivatives at the local coordinate s are returned in the array DPsi.

Definition at line 743 of file shape.h.

◆ dshape< 2 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::dshape< 2 > ( const double &  s,
double *  DPsi 
)
inline

Derivatives of 1D shape functions specialised to linear order (2 Nodes)

Definition at line 791 of file shape.h.

◆ dshape< 3 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::dshape< 3 > ( const double &  s,
double *  DPsi 
)
inline

Derivatives of 1D shape functions specialised to quadratic order (3 Nodes)

Definition at line 820 of file shape.h.

Referenced by oomph::QTaylorHoodSpaceTimeElement< DIM >::dshape_and_dtest_eulerian_nst().

◆ dshape< 4 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::dshape< 4 > ( const double &  s,
double *  DPsi 
)
inline

Derivatives of 1D shape functions specialised to cubic order (4 Nodes)

Definition at line 850 of file shape.h.

References s.

◆ shape()

template<unsigned NNODE_1D>
void oomph::OneDimDiscontinuousGalerkin::shape ( const double &  s,
double *  Psi 
)

Definition for 1D Lagrange shape functions. The value of all the shape functions at the local coordinate s are returned in the array Psi.

Definition at line 724 of file shape.h.

◆ shape< 2 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::shape< 2 > ( const double &  s,
double *  Psi 
)
inline

1D shape functions specialised to linear order (2 Nodes)

Definition at line 783 of file shape.h.

◆ shape< 3 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::shape< 3 > ( const double &  s,
double *  Psi 
)
inline

1D shape functions specialised to quadratic order (3 Nodes)

Definition at line 810 of file shape.h.

References s.

Referenced by oomph::QTaylorHoodSpaceTimeElement< DIM >::dshape_and_dtest_eulerian_nst(), and oomph::NavierStokesSpaceTimeTractionElement< ELEMENT >::shape_and_test_at_knot().

◆ shape< 4 >()

template<>
void oomph::OneDimDiscontinuousGalerkin::shape< 4 > ( const double &  s,
double *  Psi 
)
inline

1D shape functions specialised to cubic order (4 Nodes)

Definition at line 839 of file shape.h.

References s.