concepts::ArrayCoord< 2 > Class Reference
Array with coordinates in 2D. More...
#include <arrays.hh>
Inheritance diagram for concepts::ArrayCoord< 2 >:
 
  
| Public Member Functions | |
| Array< Real2d > & | apply (const Array< H > &a, Real2d fnc(const H &)) | 
| Application operator to each component.  More... | |
| Array< Real2d > & | apply (const Array< H > &a, Real2d fnc(const H &, const Real2d &)) | 
| Application operator to each component.  More... | |
| Array< Real2d > & | apply (Real2d &fnc(Real2d &)) | 
| Application operator to each component, e.g.  More... | |
| ArrayCoord (const Edge2d &edge, const Array< Real > &p) | |
| Constructor for a Edge2d.  More... | |
| ArrayCoord (const Quad2d &quad, const Array< Real > &qX, const Array< Real > &qY, bool tensor=true) | |
| Constructor for a Quad2d.  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 Real2d * () const | |
| Returns a pointer to the array.  More... | |
| operator Real2d * () | |
| Returns a pointer to the array.  More... | |
| Array< Real2d > & | operator*= (const Array< H > &a) | 
| Multiplication operator.  More... | |
| Array< Real2d > & | operator*= (const G n) | 
| Scaling operator.  More... | |
| Array< Real2d > & | operator+= (const Array< H > &a) | 
| Addition operator.  More... | |
| Array< Real2d > & | operator+= (const Real2d n) | 
| Addition operator.  More... | |
| Array< Real2d > | operator- () const | 
| Negation operator.  More... | |
| Array< Real2d > & | operator-= (const Array< H > &a) | 
| Subtraction operator.  More... | |
| Array< Real2d > & | operator-= (const Real2d n) | 
| Subtraction operator.  More... | |
| Real2d & | operator[] (const int i) | 
| Index operator.  More... | |
| const Real2d & | 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< Real2d > & | 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 | |
| Real2d * | data_ | 
| Data.  More... | |
| uint | n_ | 
| Requested size of the array.  More... | |
| uint | size_ | 
| Current real size of the array.  More... | |
Detailed Description
Constructor & Destructor Documentation
◆ ArrayCoord() [1/2]
| concepts::ArrayCoord< 2 >::ArrayCoord | ( | const Quad2d & | quad, | 
| const Array< Real > & | qX, | ||
| const Array< Real > & | qY, | ||
| bool | tensor = true | ||
| ) | 
Constructor for a Quad2d.
- Parameters
- 
  quad cell qX,qY arrays of quadrature points in [0,1] 
◆ ArrayCoord() [2/2]
| concepts::ArrayCoord< 2 >::ArrayCoord | ( | const Edge2d & | edge, | 
| const Array< Real > & | p | ||
| ) | 
Constructor for a Edge2d.
- Parameters
- 
  edge cell q array of quadrature points in [0,1] 
Member Function Documentation
◆ apply() [1/3]
◆ apply() [2/3]
◆ apply() [3/3]
| 
 | inlineinherited | 
◆ cursize()
| 
 | inlineinherited | 
◆ info()
| 
 | inherited | 
◆ memory()
| 
 | inlineinherited | 
◆ operator const Real2d *()
| 
 | inlineinherited | 
◆ operator Real2d *()
| 
 | 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:
- geometry/arrays.hh

