A transform shaped function expansions. More...
#include <proj_based_selector.h>
Public Member Functions | |
| TrfShapeExp () | |
| A default contructor. Creates an empty instance. | |
| virtual | ~TrfShapeExp () |
| Desructor. | |
| void | allocate (int num_expansion, int num_gip) |
| Allocates a space for function expansions. | |
| double * | operator[] (int inx_expansion) |
| Operator for accessing of contents. | |
| bool | empty () |
| Returns true if the instance is empty, i.e., the method allocate() was not called yet. | |
| const TrfShapeExp & | operator= (const TrfShapeExp &other) |
| Assignment operator. Prevent unauthorized copying of the pointer. | |
A transform shaped function expansions.
The contents of the class can be accessed through an array index operator. The first index is an index of the function expansion, the second index is and index of an integration point.
Use strictly through reference. This allocates an array internally through the method allocate(). If the use attempt to assign an instance which is not empty (i.e., the array is not allocate), an error will be issued. Assigning an empty instance will cause deallocation of the internal structures.
| RefinementSelectors::ProjBasedSelector::TrfShapeExp::TrfShapeExp | ( | ) | [inline] |
A default contructor. Creates an empty instance.
| virtual RefinementSelectors::ProjBasedSelector::TrfShapeExp::~TrfShapeExp | ( | ) | [inline, virtual] |
Desructor.
| void RefinementSelectors::ProjBasedSelector::TrfShapeExp::allocate | ( | int | num_expansion, | |
| int | num_gip | |||
| ) | [inline] |
Allocates a space for function expansions.
| [in] | num_expansion | A number of expansions. |
| [in] | num_gip | A number of itegration points. |
| bool RefinementSelectors::ProjBasedSelector::TrfShapeExp::empty | ( | ) | [inline] |
Returns true if the instance is empty, i.e., the method allocate() was not called yet.
| const TrfShapeExp& RefinementSelectors::ProjBasedSelector::TrfShapeExp::operator= | ( | const TrfShapeExp & | other | ) | [inline] |
Assignment operator. Prevent unauthorized copying of the pointer.
This method prevents a user from copying allocated internal structures because C++ does not support garbage collection.
| double* RefinementSelectors::ProjBasedSelector::TrfShapeExp::operator[] | ( | int | inx_expansion | ) | [inline] |
Operator for accessing of contents.
| [in] | inx_expansion | An index of a function expansion. |
1.6.3