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...
|
| ShapeWithDeepCopy (const unsigned &N) |
| Constructor for a single-index set of shape functions. More...
|
|
| ShapeWithDeepCopy (const unsigned &N, const unsigned &M) |
| Constructor for a two-index set of shape functions. More...
|
|
| ShapeWithDeepCopy () |
| Default constructor. More...
|
|
| ShapeWithDeepCopy (const ShapeWithDeepCopy &old_shape) |
| Deep copy constructor. More...
|
|
void | operator= (const ShapeWithDeepCopy &old_shape)=delete |
| Broken assignment operator. More...
|
|
| ~ShapeWithDeepCopy () |
| Destructor, clear up the memory allocated by the object. 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)=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...
|
|
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.
Definition at line 518 of file shape.h.