hp2D::ArrayQuadWeights Class Reference
Class to represent the quadrature weights on all quadrature points. More...
#include <quad.hh>
Inheritance diagram for hp2D::ArrayQuadWeights:
Public Member Functions | |
Array< Real > & | apply (const Array< H > &a, Real fnc(const H &)) |
Application operator to each component. More... | |
Array< Real > & | apply (const Array< H > &a, Real fnc(const H &, const Real &)) |
Application operator to each component. More... | |
Array< Real > & | apply (Real &fnc(Real &)) |
Application operator to each component, e.g. More... | |
ArrayQuadWeights (const Quad<> &quad) | |
Constructor for a Quad. More... | |
uint | cursize () const |
Returns the size of the allocated memory. More... | |
std::ostream & | info (std::ostream &os) const |
int | memory () const |
Returns the memory usage in bytes. More... | |
operator const Real * () const | |
Returns a pointer to the array. More... | |
operator Real * () | |
Returns a pointer to the array. More... | |
Array< Real > & | operator*= (const Array< H > &a) |
Multiplication operator. More... | |
Array< Real > & | operator*= (const G n) |
Scaling operator. More... | |
Array< Real > & | operator+= (const Array< H > &a) |
Addition operator. More... | |
Array< Real > & | operator+= (const Real n) |
Addition operator. More... | |
Array< Real > | operator- () const |
Negation operator. More... | |
Array< Real > & | operator-= (const Array< H > &a) |
Subtraction operator. More... | |
Array< Real > & | operator-= (const Real n) |
Subtraction operator. More... | |
Real & | operator[] (const int i) |
Index operator. More... | |
const Real & | operator[] (const int i) const |
Index operator. More... | |
void | resize (const uint sz) |
Resizes the array. More... | |
void | resizePreserve (const uint sz) |
Resizes the array. More... | |
Array< Real > & | reverse () |
Reverse the order of the entries. More... | |
uint | size () const |
Returns the requested size of the array. More... | |
void | zeros () |
Fills the memory with zeros. More... | |
Protected Attributes | |
Real * | data_ |
Data. More... | |
uint | n_ |
Requested size of the array. More... | |
uint | size_ |
Current real size of the array. More... | |
Detailed Description
Class to represent the quadrature weights on all quadrature points.
Constructor & Destructor Documentation
◆ ArrayQuadWeights()
hp2D::ArrayQuadWeights::ArrayQuadWeights | ( | const Quad<> & | quad | ) |
Constructor for a Quad.
- Parameters
-
quad element
Member Function Documentation
◆ apply() [1/3]
|
inlineinherited |
◆ apply() [2/3]
|
inlineinherited |
◆ apply() [3/3]
|
inlineinherited |
◆ cursize()
|
inlineinherited |
◆ info()
|
inherited |
◆ memory()
|
inlineinherited |
◆ operator const Real *()
|
inlineinherited |
◆ operator Real *()
|
inlineinherited |
◆ operator*=() [1/2]
|
inlineinherited |
◆ operator*=() [2/2]
|
inlineinherited |
◆ operator+=() [1/2]
|
inlineinherited |
◆ operator+=() [2/2]
|
inlineinherited |
◆ operator-()
|
inlineinherited |
◆ operator-=() [1/2]
|
inlineinherited |
◆ operator-=() [2/2]
|
inlineinherited |
◆ operator[]() [1/2]
|
inlineinherited |
◆ operator[]() [2/2]
|
inlineinherited |
◆ resize()
|
inherited |
◆ resizePreserve()
|
inherited |
◆ reverse()
|
inherited |
◆ size()
|
inlineinherited |
◆ zeros()
|
inlineinherited |
Member Data Documentation
◆ data_
|
protectedinherited |
◆ n_
|
protectedinherited |
◆ size_
|
protectedinherited |
The documentation for this class was generated from the following file:
- hp2D/quad.hh