#include <arrayElementFormula.hh>
Public Member Functions | |
| ArrayElementFormula () | |
| ArrayElementFormula (const Hexahedron &elm, const concepts::ElementFormulaContainer< F > frm) | |
Constructor with calling of compute. | |
| void | compute (const Hexahedron &elm, const concepts::ElementFormulaContainer< F > frm) |
| void | resize (const uint sz) |
| void | resizePreserve (const uint sz) |
| void | zeros () |
| Fills the memory with zeros. | |
| operator F* () | |
| Returns a pointer to the array. | |
| operator const F * () const | |
| Returns a pointer to the array. | |
| const F & | operator[] (const int i) const |
| Index operator. | |
| F & | operator[] (const int i) |
| Index operator. | |
| template<class G > | |
| Array< F > & | operator*= (const G n) |
| Scaling operator. | |
| template<class H > | |
| Array< F > & | operator*= (const Array< H > &a) |
| Multiplication operator. | |
| Array< F > & | operator+= (const F n) |
| Addition operator. | |
| template<class H > | |
| Array< F > & | operator+= (const Array< H > &a) |
| Addition operator. | |
| Array< F > & | operator-= (const F n) |
| Subtraction operator. | |
| template<class H > | |
| Array< F > & | operator-= (const Array< H > &a) |
| Subtraction operator. | |
| Array< F > | operator- () const |
| Negation operator. | |
| Array< F > & | apply (F &fnc(F &)) |
| template<class H > | |
| Array< F > & | apply (const Array< H > &a, F fnc(const H &)) |
| template<class H > | |
| Array< F > & | apply (const Array< H > &a, F fnc(const H &, const F &)) |
| uint | size () const |
| Returns the requested size of the array. | |
| uint | cursize () const |
| Returns the size of the allocated memory. | |
| int | memory () const |
| Returns the memory usage in bytes. | |
| Array< F > & | reverse () |
| Reverse the order of the entries. | |
| std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
| F * | data_ |
| Data. | |
| uint | size_ |
| Current real size of the array. | |
| uint | n_ |
| Requested size of the array. | |
Array of formula values on quadrature points
Definition at line 23 of file arrayElementFormula.hh.
| hp3D::ArrayElementFormula< F >::ArrayElementFormula | ( | ) |
Constructor
The array is empty at the beginning.
Definition at line 41 of file arrayElementFormula.hh.
| hp3D::ArrayElementFormula< F >::ArrayElementFormula | ( | const Hexahedron & | elm, |
| const concepts::ElementFormulaContainer< F > | frm | ||
| ) |
Constructor with calling of compute.
Definition at line 44 of file arrayElementFormula.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
| void hp3D::ArrayElementFormula< F >::compute | ( | const Hexahedron & | elm, |
| const concepts::ElementFormulaContainer< F > | frm | ||
| ) |
Evaluates the formula frm on all quadrature points of element elm.
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Returns the requested size of the array.
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |