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.
 
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.
 
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.
 
template<>
void shape< 2 > (const double &s, double *Psi)
 1D shape functions specialised to linear order (2 Nodes)
 
template<>
void dshape< 2 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to linear order (2 Nodes)
 
template<>
void d2shape< 2 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes)
 
template<>
void shape< 3 > (const double &s, double *Psi)
 1D shape functions specialised to quadratic order (3 Nodes)
 
template<>
void dshape< 3 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to quadratic order (3 Nodes)
 
template<>
void d2shape< 3 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes)
 
template<>
void shape< 4 > (const double &s, double *Psi)
 1D shape functions specialised to cubic order (4 Nodes)
 
template<>
void dshape< 4 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to cubic order (4 Nodes)
 
template<>
void d2shape< 4 > (const double &s, double *DPsi)
 Second derivatives of 1D shape functions specialised to cubic order (4 nodes)
 

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 889 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 926 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 956 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 987 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 869 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 917 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 946 of file shape.h.

◆ 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 976 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 850 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 909 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 936 of file shape.h.

References s.

◆ 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 965 of file shape.h.

References s.