Array of local coordinates, e.g., inside a quad, but only along an edge.
More...
#include <arrays.hh>
List of all members.
Detailed Description
Array of local coordinates, e.g., inside a quad, but only along an edge.
- Author:
- Kersten Schmidt, 2010
Definition at line 187 of file arrays.hh.
Constructor & Destructor Documentation
| concepts::ArrayLocalCoord::ArrayLocalCoord |
( |
const Quad2d & |
quad, |
|
|
uint |
k, |
|
|
uint |
dim, |
|
|
const Array< Real > & |
q |
|
) |
| |
Constructor for a Quad2d, where local coordinates are evaluated on the edge.
If the wanted local direction it opposite to edge, then the array is of length 1.
- Parameters:
-
| 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 |
Member Function Documentation
| bool concepts::ArrayLocalCoord::alongEdge |
( |
uint |
k, |
|
|
uint |
dim |
|
) |
| [inline, private] |
Application operator to each component, e.g.
std::sin or std::conj
Definition at line 215 of file array.hh.
Application operator to each component.
Each array value is the function applied to the appropiate array value in a.
- Parameters:
-
| a | Array with elements of type H |
| fnc | Function which maps from H to F |
Definition at line 229 of file array.hh.
Application operator to each component.
Each array value is the function applied to the appropiate array value in a and to the old array value.
- Parameters:
-
| a | Array with elements of type H |
| fnc | Function which maps from (H,F) to F |
Definition at line 245 of file array.hh.
Returns the size of the allocated memory.
Definition at line 258 of file array.hh.
Returns the memory usage in bytes.
Definition at line 261 of file array.hh.
Returns a pointer to the array.
Definition at line 129 of file array.hh.
Returns a pointer to the array.
Definition at line 127 of file array.hh.
Scaling operator.
Definition at line 146 of file array.hh.
Multiplication operator.
Definition at line 154 of file array.hh.
Addition operator.
Definition at line 181 of file array.hh.
Addition operator.
Definition at line 187 of file array.hh.
Negation operator.
Definition at line 207 of file array.hh.
Subtraction operator.
Definition at line 200 of file array.hh.
Subtraction operator.
Definition at line 194 of file array.hh.
Index operator.
Definition at line 132 of file array.hh.
Index operator.
Definition at line 138 of file array.hh.
Resizes the array.
A reallocation occurs only if the requested space is not available, ie. making the array smaller does not result in a reallocation. If a reallocation occurs, the data is not preserved.
Resizes the array.
Basically, it does the same as resize. But, if a reallocation occurs, the data is preserved.
Reverse the order of the entries.
Fills the memory with zeros.
Definition at line 124 of file array.hh.
Member Data Documentation
Requested size of the array.
Definition at line 273 of file array.hh.
Current real size of the array.
Definition at line 271 of file array.hh.
The documentation for this class was generated from the following file: