Classes | Namespaces | Functions
shape.h File Reference

Go to the source code of this file.

Classes

class  oomph::Shape
 A Class for shape functions. In simple cases, the shape functions have only one index that can be thought of as corresponding to the nodal points. In general, however, when quantities and their gradients are interpolated separately, the shape function have two indices: one corresponding to the nodal points, and the other to the "type" of quantity being interpolated: function, derivative, &c The second index can also represent the vector coordinate for vector-valued (Nedelec) shape functions. More...
 
class  oomph::DShape
 A Class for the derivatives of shape functions The class design is essentially the same as Shape, but there is on additional index that is used to indicate the coordinate direction in which the derivative is taken. More...
 
class  oomph::ShapeWithDeepCopy
 A shape function with a deep copy constructor. This allows for use with stl operations (e.g. manipulating vectors of shape functions). A seperate class is needed because the basic shape function uses a shallow copy. More...
 
class  oomph::OneDimensionalLegendreShape< NNODE_1D >
 Class that returns the shape functions associated with legendre. More...
 
class  oomph::OneDimensionalLegendreDShape< NNODE_1D >
 
class  oomph::OneDimensionalModalShape
 Non-templated class that returns modal hierachical shape functions based on Legendre polynomials. More...
 
class  oomph::OneDimensionalModalDShape
 

Namespaces

 oomph
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 oomph::OneDimLagrange
 
 oomph::OneDimDiscontinuousGalerkin
 One dimensional shape functions and derivatives. Empty – simply establishes the template parameters.
 
 oomph::OneDimDiscontinuousGalerkinMixedOrderBasis
 One dimensional shape functions and derivatives. Empty – simply establishes the template parameters.
 
 oomph::OneDimDiscontinuousGalerkinMixedOrderTest
 One dimensional shape functions and derivatives. Empty – simply establishes the template parameters.
 
 oomph::OneDimHermite
 One Dimensional Hermite shape functions.
 

Functions

template<unsigned NNODE_1D>
void oomph::OneDimLagrange::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 oomph::OneDimLagrange::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 oomph::OneDimLagrange::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 oomph::OneDimLagrange::shape< 2 > (const double &s, double *Psi)
 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimLagrange::dshape< 2 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimLagrange::d2shape< 2 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimLagrange::shape< 3 > (const double &s, double *Psi)
 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimLagrange::dshape< 3 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimLagrange::d2shape< 3 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimLagrange::shape< 4 > (const double &s, double *Psi)
 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimLagrange::dshape< 4 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimLagrange::d2shape< 4 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions specialised to cubic order (4 Nodes) More...
 
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. More...
 
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. More...
 
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. More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::shape< 2 > (const double &s, double *Psi)
 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::dshape< 2 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::d2shape< 2 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::shape< 3 > (const double &s, double *Psi)
 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::dshape< 3 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::d2shape< 3 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::shape< 4 > (const double &s, double *Psi)
 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::dshape< 4 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkin::d2shape< 4 > (const double &s, double *DPsi)
 Second derivatives of 1D shape functions specialised to cubic order (4 nodes) More...
 
template<unsigned NNODE_1D>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::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 oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::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 oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::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 oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::shape< 2 > (const double &s, double *Psi)
 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::dshape< 2 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::d2shape< 2 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::shape< 3 > (const double &s, double *Psi)
 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::dshape< 3 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::d2shape< 3 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::shape< 4 > (const double &s, double *Psi)
 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::dshape< 4 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderBasis::d2shape< 4 > (const double &s, double *DPsi)
 Second derivatives of 1D shape functions specialised to cubic order (4 nodes) More...
 
template<unsigned NNODE_1D>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::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 oomph::OneDimDiscontinuousGalerkinMixedOrderTest::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 oomph::OneDimDiscontinuousGalerkinMixedOrderTest::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 oomph::OneDimDiscontinuousGalerkinMixedOrderTest::shape< 2 > (const double &s, double *Psi)
 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::dshape< 2 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::d2shape< 2 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to linear order (2 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::shape< 3 > (const double &s, double *Psi)
 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::dshape< 3 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::d2shape< 3 > (const double &s, double *DPsi)
 Second Derivatives of 1D shape functions, specialised to quadratic order (3 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::shape< 4 > (const double &s, double *Psi)
 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::dshape< 4 > (const double &s, double *DPsi)
 Derivatives of 1D shape functions specialised to cubic order (4 Nodes) More...
 
template<>
void oomph::OneDimDiscontinuousGalerkinMixedOrderTest::d2shape< 4 > (const double &s, double *DPsi)
 Second derivatives of 1D shape functions specialised to cubic order (4 nodes) More...
 
void oomph::OneDimHermite::shape (const double &s, double Psi[2][2])
 Constructor sets the values of the shape functions at the position s. More...
 
void oomph::OneDimHermite::dshape (const double &s, double DPsi[2][2])
 Derivatives of 1D Hermite shape functions. More...
 
void oomph::OneDimHermite::d2shape (const double &s, double DPsi[2][2])
 Second derivatives of the Hermite shape functions. More...