Public Member Functions | List of all members
oomph::OneDimensionalModalDShape Class Reference

#include <shape.h>

+ Inheritance diagram for oomph::OneDimensionalModalDShape:

Public Member Functions

 OneDimensionalModalDShape (const unsigned p_order, const double &s)
 
- Public Member Functions inherited from oomph::Shape
 Shape (const unsigned &N)
 Constructor for a single-index set of shape functions.
 
 Shape (const unsigned &N, const unsigned &M)
 Constructor for a two-index set of shape functions.
 
 Shape (const Shape &shape)=delete
 Broken copy constructor.
 
 Shape ()
 Default constructor - just assigns a null pointers and zero index sizes.
 
void operator= (Shape &shape)
 Assignment operator, shallow copy (not recommended so warning given)
 
void operator= (Shape *const &shape_pt)
 Assignment operator, shallow copy (not recommended so warning given)
 
void shallow_copy_from (Shape &shape)
 This function makes a shallow copy (sets the pointer to the allocated data to be from another Shape object)
 
void shallow_copy_from (Shape *const &shape_pt)
 This function make a shallow copy (sets the pointer to the allocated data to be from another Shape object)
 
 ~Shape ()
 Destructor, clear up the memory allocated by the object.
 
double & operator[] (const unsigned &i)
 Overload the bracket operator to provide access to values.
 
const double & operator[] (const unsigned &i) const
 Overload the bracket operator (const version)
 
double & operator() (const unsigned &i)
 Overload the round bracket operator to provide access to values.
 
const double & operator() (const unsigned &i) const
 Overload the round bracket operator (const version)
 
double & operator() (const unsigned &i, const unsigned &j)
 Overload the round bracket operator, allowing for two indices.
 
const double & operator() (const unsigned &i, const unsigned &j) const
 Overload the round bracket operator, allowing for two indices (const version)
 
unsigned nindex1 () const
 Return the range of index 1 of the shape function object.
 
unsigned nindex2 () const
 Return the range of index 2 of the shape function object.
 

Additional Inherited Members

- Static Public Attributes inherited from oomph::Shape
static bool Suppress_warning_about_assignment = false
 Boolean used to suppress warning about assignment operator.
 
- 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.
 
- 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.
 
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.
 
unsigned Index1
 Size of the first index of the shape function.
 
unsigned Index2
 Size of the second index of the shape function.
 
bool Is_psi_copied
 Boolean to indicate whether the data has been copied.
 
bool Is_psi_a_copy
 Boolean to indicate whether the data is a copy.
 

Detailed Description

Definition at line 1492 of file shape.h.

Constructor & Destructor Documentation

◆ OneDimensionalModalDShape()

oomph::OneDimensionalModalDShape::OneDimensionalModalDShape ( const unsigned  p_order,
const double &  s 
)
inline

Definition at line 1496 of file shape.h.

References oomph::Orthpoly::dlegendre(), i, oomph::Orthpoly::legendre(), and s.


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