#include <quad.hh>
Public Member Functions | |
| ArrayQuadWeights (const Quad<> &quad) | |
| void | resize (const uint sz) |
| void | resizePreserve (const uint sz) |
| void | zeros () |
| Fills the memory with zeros. | |
| operator Real * () | |
| Returns a pointer to the array. | |
| operator const Real * () const | |
| Returns a pointer to the array. | |
| const Real & | operator[] (const int i) const |
| Index operator. | |
| Real & | operator[] (const int i) |
| Index operator. | |
| Array< Real > & | operator*= (const G n) |
| Scaling operator. | |
| Array< Real > & | operator*= (const Array< H > &a) |
| Multiplication operator. | |
| Array< Real > & | operator+= (const Real n) |
| Addition operator. | |
| Array< Real > & | operator+= (const Array< H > &a) |
| Addition operator. | |
| Array< Real > & | operator-= (const Real n) |
| Subtraction operator. | |
| Array< Real > & | operator-= (const Array< H > &a) |
| Subtraction operator. | |
| Array< Real > | operator- () const |
| Negation operator. | |
| Array< Real > & | apply (Real &fnc(Real &)) |
| Array< Real > & | apply (const Array< H > &a, Real fnc(const H &)) |
| Array< Real > & | apply (const Array< H > &a, Real fnc(const H &, const Real &)) |
| 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< Real > & | reverse () |
| Reverse the order of the entries. | |
| std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
| Real * | data_ |
| Data. | |
| uint | size_ |
| Current real size of the array. | |
| uint | n_ |
| Requested size of the array. | |
Class to represent the quadrature weights on all quadrature points.
| hp2D::ArrayQuadWeights::ArrayQuadWeights | ( | const Quad<> & | quad | ) |
Constructor for a Quad
| quad | element |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |