Memosa-FVM
0.2
|
#include <Vector.h>
Public Types | |
enum | { Length = N } |
typedef Vector< T, N > | This_T |
typedef NumTypeTraits< T > ::T_Scalar | T_Scalar |
typedef NumTypeTraits< T > ::T_BuiltIn | T_BuiltIn |
typedef Vector< T_BuiltIn, N > | VBuiltIn |
typedef T | T_NumType |
Public Member Functions | |
Vector () | |
Vector (const Vector &o) | |
void * | getData () |
T & | operator[] (int n) |
const T & | operator[] (int n) const |
void | printFromC (ostream &os) const |
Vector & | operator= (const T &o) |
Vector & | operator= (const Vector &o) |
Vector | operator- () |
Vector & | operator+= (const Vector &o) |
Vector & | operator-= (const Vector &o) |
Vector & | operator/= (const T s) |
Vector & | operator/= (const Vector &o) |
Vector & | operator*= (const T s) |
Vector & | operator*= (const Vector &o) |
void | zero () |
T | mag2 () const |
bool | operator< (const double tolerance) const |
bool | greaterThanElementwise (const Vector &y) const |
Static Public Member Functions | |
static string | getTypeName () |
static int | getDimension () |
static void | getShape (int *shp) |
static int | getDataSize () |
static void | write (FILE *fp, const Vector &x) |
static Vector | getZero () |
static void | accumulateOneNorm (Vector &sum, const Vector &v) |
static void | accumulateDotProduct (Vector &sum, const Vector &v0, const Vector &v1) |
static void | reduceSum (T_Scalar &sum, const This_T &x) |
static void | safeDivide (Vector &x, const Vector &y) |
static void | normalize (Vector &x, const Vector &y) |
static void | setMax (Vector &x, const Vector &y) |
Private Attributes | |
T | _data [N] |
typedef NumTypeTraits<T>::T_BuiltIn Vector< T, N >::T_BuiltIn |
typedef NumTypeTraits<T>::T_Scalar Vector< T, N >::T_Scalar |
anonymous enum |
|
inlinestatic |
Definition at line 195 of file Vector.h.
Referenced by VectorTranspose< X, K >::accumulateDotProduct().
|
inlinestatic |
Definition at line 189 of file Vector.h.
Referenced by VectorTranspose< X, K >::accumulateOneNorm().
|
inline |
Definition at line 51 of file Vector.h.
Referenced by FlowModel< T >::Impl::getPressureIntegralonIBFaces().
|
inlinestatic |
|
inlinestatic |
Definition at line 47 of file Vector.h.
|
inlinestatic |
Definition at line 49 of file Vector.h.
|
inlinestatic |
Definition at line 41 of file Vector.h.
Definition at line 182 of file Vector.h.
|
inline |
|
inline |
Definition at line 161 of file Vector.h.
Referenced by Vector< int, 2 >::normalize(), Vector< int, 2 >::operator<(), and Vector< int, 2 >::setMax().
|
inlinestatic |
Definition at line 213 of file Vector.h.
Referenced by VectorTranspose< X, K >::normalize().
Definition at line 104 of file Vector.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 201 of file Vector.h.
Referenced by VectorTranspose< X, K >::reduceSum().
|
inlinestatic |
Definition at line 207 of file Vector.h.
Referenced by VectorTranspose< X, K >::safeDivide().
|
inlinestatic |
|
inlinestatic |
Definition at line 72 of file Vector.h.
|
inline |
Definition at line 156 of file Vector.h.
Referenced by ArrowHeadMatrix< X, K >::ArrowHeadMatrix(), Vector< int, 2 >::getZero(), COMETModel< T >::init(), and COMETDiscretizer< T >::updateeShifted().
|
private |
Definition at line 229 of file Vector.h.
Referenced by Vector< int, 2 >::getData(), Vector< int, 2 >::greaterThanElementwise(), Vector< int, 2 >::mag2(), Vector< int, 2 >::operator*=(), Vector< int, 2 >::operator+=(), Vector< int, 2 >::operator-(), Vector< int, 2 >::operator-=(), Vector< int, 2 >::operator/=(), Vector< int, 2 >::operator=(), Vector< int, 2 >::operator[](), Vector< int, 2 >::printFromC(), and Vector< int, 2 >::Vector().