Class that returns the shape functions associated with legendre. More...
#include <shape.h>
Public Member Functions | |
OneDimensionalLegendreShape (const double &s) | |
Constructor. More... | |
![]() | |
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) | |
Broken copy constructor. More... | |
Shape () | |
void | operator= (const Shape &shape) |
void | operator= (Shape *const &shape_pt) |
~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 | |
![]() | |
void | range_check (const unsigned &i, const unsigned &j) const |
Private function that checks whether the index is in range. More... | |
![]() | |
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... | |
Class that returns the shape functions associated with legendre.
|
inline |
Constructor.
Definition at line 772 of file shape.h.
References oomph::Orthpoly::dlegendre(), oomph::Orthpoly::eps, i, oomph::Orthpoly::legendre(), and s.
|
inlinestatic |
Static function used to populate the stored positions.
Definition at line 759 of file shape.h.
References oomph::Orthpoly::gll_nodes().
Referenced by oomph::PRefineableQElement< 1, INITIAL_NNODE_1D >::dshape_local(), oomph::PRefineableQElement< 2, INITIAL_NNODE_1D >::dshape_local(), oomph::PRefineableQElement< 3, INITIAL_NNODE_1D >::dshape_local(), oomph::PRefineableQElement< 1, INITIAL_NNODE_1D >::local_coordinate_of_node(), oomph::PRefineableQElement< 2, INITIAL_NNODE_1D >::local_coordinate_of_node(), oomph::PRefineableQElement< 3, INITIAL_NNODE_1D >::local_coordinate_of_node(), oomph::PRefineableQElement< 1, INITIAL_NNODE_1D >::local_one_d_fraction_of_node(), oomph::PRefineableQElement< 2, INITIAL_NNODE_1D >::local_one_d_fraction_of_node(), oomph::PRefineableQElement< 3, INITIAL_NNODE_1D >::local_one_d_fraction_of_node(), oomph::QSpectralElement< 1, NNODE_1D >::QSpectralElement(), oomph::QSpectralElement< 2, NNODE_1D >::QSpectralElement(), oomph::QSpectralElement< 3, NNODE_1D >::QSpectralElement(), oomph::PRefineableQElement< 1, INITIAL_NNODE_1D >::shape(), oomph::PRefineableQElement< 2, INITIAL_NNODE_1D >::shape(), and oomph::PRefineableQElement< 3, INITIAL_NNODE_1D >::shape().
|
inlinestatic |
Definition at line 768 of file shape.h.
Referenced by oomph::PRefineableQElement< 1, INITIAL_NNODE_1D >::local_coordinate_of_node(), oomph::PRefineableQElement< 2, INITIAL_NNODE_1D >::local_coordinate_of_node(), oomph::PRefineableQElement< 3, INITIAL_NNODE_1D >::local_coordinate_of_node(), oomph::QSpectralElement< 1, NNODE_1D >::local_coordinate_of_node(), oomph::QSpectralElement< 2, NNODE_1D >::local_coordinate_of_node(), oomph::QSpectralElement< 3, NNODE_1D >::local_coordinate_of_node(), oomph::PRefineableQElement< 1, INITIAL_NNODE_1D >::local_one_d_fraction_of_node(), oomph::PRefineableQElement< 2, INITIAL_NNODE_1D >::local_one_d_fraction_of_node(), oomph::PRefineableQElement< 3, INITIAL_NNODE_1D >::local_one_d_fraction_of_node(), oomph::QSpectralElement< 1, NNODE_1D >::local_one_d_fraction_of_node(), oomph::QSpectralElement< 2, NNODE_1D >::local_one_d_fraction_of_node(), and oomph::QSpectralElement< 3, NNODE_1D >::local_one_d_fraction_of_node().
|
staticprivate |
|
static |