#include <arrays.hh>
Public Member Functions | |
| ArrayLocalCoord (const QuadNd &quad, uint k, uint dim, const Array< Real > &q) | |
| 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. | |
Array of local coordinates, e.g., inside a quad, but only along an edge.
| concepts::ArrayLocalCoord::ArrayLocalCoord | ( | const QuadNd & | quad, |
| uint | k, | ||
| uint | dim, | ||
| const Array< Real > & | q | ||
| ) |
Constructor for a QuadNd, where local coordinates are evaluated on the edge. If the wanted local direction it opposite to edge, then the array is of length 1.
| quad | cell |
| k | number of the edge |
| dim | local x- (dim = 0) or y-direction (dim = 1) |
| q | arrays of quadrature points in [0,1], 0 ~ first vertex of the edge 1 ~ second vertex of the edge |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |