Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
oomph::OneDimensionalLegendreShape< NNODE_1D > Class Template Reference

Class that returns the shape functions associated with legendre. More...

#include <shape.h>

+ Inheritance diagram for oomph::OneDimensionalLegendreShape< NNODE_1D >:

Public Member Functions

 OneDimensionalLegendreShape (const double &s)
 Constructor. More...
 
- Public Member Functions inherited from oomph::Shape
 Shape (const unsigned &N)
 Constructor for a single-index set of shape functions. More...
 
 Shape (const unsigned &N, const unsigned &M)
 Constructor for a two-index set of shape functions. More...
 
 Shape (const Shape &shape)=delete
 Broken copy constructor. More...
 
 Shape ()
 Default constructor - just assigns a null pointers and zero index sizes. More...
 
void operator= (const Shape &shape)
 The assignment operator does a shallow copy (resets the pointer to the data) More...
 
void operator= (Shape *const &shape_pt)
 The assignment operator does a shallow copy (resets the pointer to the data) More...
 
 ~Shape ()
 Destructor, clear up the memory allocated by the object. More...
 
void resize (const unsigned &N, const unsigned &M=1)
 Change the size of the storage. More...
 
double & operator[] (const unsigned &i)
 Overload the bracket operator to provide access to values. More...
 
const double & operator[] (const unsigned &i) const
 Overload the bracket operator (const version) More...
 
double & operator() (const unsigned &i)
 Overload the round bracket operator to provide access to values. More...
 
const double & operator() (const unsigned &i) const
 Overload the round bracket operator (const version) More...
 
double & operator() (const unsigned &i, const unsigned &j)
 Overload the round bracket operator, allowing for two indices. More...
 
const double & operator() (const unsigned &i, const unsigned &j) const
 Overload the round bracket operator, allowing for two indices (const version) More...
 
unsigned nindex1 () const
 Return the range of index 1 of the shape function object. More...
 
unsigned nindex2 () const
 Return the range of index 2 of the shape function object. More...
 

Static Public Member Functions

static void calculate_nodal_positions ()
 Static function used to populate the stored positions. More...
 
static double nodal_position (const unsigned &n)
 

Static Public Attributes

static Vector< double > z
 

Static Private Attributes

static bool Nodes_calculated = false
 

Additional Inherited Members

- Protected Member Functions inherited from oomph::Shape
void range_check (const unsigned &i, const unsigned &j) const
 Private function that checks whether the index is in range. More...
 
- Protected Attributes inherited from oomph::Shape
double * Psi
 Pointer that addresses the storage that will be used to read and set the shape functions. The shape functions are packed into a flat array of doubles. More...
 
double * Allocated_storage
 Pointer that addresses the storage allocated by the object on construction. This will be the same as Psi if the object is not copied. More...
 
unsigned Index1
 Size of the first index of the shape function. More...
 
unsigned Index2
 Size of the second index of the shape function. More...
 

Detailed Description

template<unsigned NNODE_1D>
class oomph::OneDimensionalLegendreShape< NNODE_1D >

Class that returns the shape functions associated with legendre.

Definition at line 1233 of file shape.h.

Constructor & Destructor Documentation

◆ OneDimensionalLegendreShape()

template<unsigned NNODE_1D>
oomph::OneDimensionalLegendreShape< NNODE_1D >::OneDimensionalLegendreShape ( const double &  s)
inline

Member Function Documentation

◆ calculate_nodal_positions()

template<unsigned NNODE_1D>
static void oomph::OneDimensionalLegendreShape< NNODE_1D >::calculate_nodal_positions ( )
inlinestatic

◆ nodal_position()

template<unsigned NNODE_1D>
static double oomph::OneDimensionalLegendreShape< NNODE_1D >::nodal_position ( const unsigned &  n)
inlinestatic

Member Data Documentation

◆ Nodes_calculated

template<unsigned NNODE_1D>
bool oomph::OneDimensionalLegendreShape< NNODE_1D >::Nodes_calculated = false
staticprivate

◆ z

template<unsigned NNODE_1D>
Vector< double > oomph::OneDimensionalLegendreShape< NNODE_1D >::z
static

The documentation for this class was generated from the following file: