|
IFEM
90A354
|
Utility class holding a vector of basis function values. More...
#include <BasisFunctionVals.h>


Public Member Functions | |
| BasisValues (size_t size) | |
| Constructor resizing to a given size. | |
| ~BasisValues () | |
| Destructor. More... | |
| void | clear () noexcept |
| Clears the container. | |
| void | push_back (const BasisFunctionVals &v) |
| Push back for reference. | |
| void | push_back (BasisFunctionVals &&v) |
| Push back for r-reference. | |
| operator const BasisValuesPtrs & () const | |
| Cast to a vector with pointers to our values. | |
Private Attributes | |
| BasisValuesPtrs | pointers |
| Vector of pointers to our values. | |
Utility class holding a vector of basis function values.
This is a helper class that allows us to avoid pointer semantics in code, while allowing to pass as pointers into mapping functions. This is necessary to avoid additional copying in code using the basis function cache. While it overrides most common vector operations, be careful with advanced insertions.
|
inline |