LocalVect.h File Reference
Detailed Description
Definition file for class LocalVect.
#include "OFELI_Config.h"
#include "Element.h"
#include "Side.h"
Go to the source code of this file.
Namespaces | |
| namespace | OFELI |
Classes | |
| class | LocalVect |
| Handles small size vectors like element vectors. More... | |
Functions | |
| template<class T_, size_t N_> | |
| void | Axpy (T_ a, const LocalVect< T_, N_ > &x, LocalVect< T_, N_ > &y) |
| Add a*x to vector y. | |
| template<class T_, size_t N_> | |
| void | Copy (const LocalVect< T_, N_ > &x, LocalVect< T_, N_ > &y) |
| Copy vector x into vector y. | |
| template<class T_, size_t N_> | |
| double | Dot (const LocalVect< T_, N_ > &a, const LocalVect< T_, N_ > &b) |
| Calculate dot product of 2 vectors (instances of class LocalVect). | |
| template<class T_, size_t N_> | |
| LocalVect< T_, N_ > | operator* (T_ a, const LocalVect< T_, N_ > &x) |
| Operator * (Premultiplication of vector by constant). | |
| template<class T_, size_t N_> | |
| LocalVect< T_, N_ > | operator+ (const LocalVect< T_, N_ > &x, const LocalVect< T_, N_ > &y) |
| Operator + (Add two vectors). | |
| template<class T_, size_t N_> | |
| LocalVect< T_, N_ > | operator- (const LocalVect< T_, N_ > &x, const LocalVect< T_, N_ > &y) |
| Operator - (Subtract two vectors). | |
| template<class T_, size_t N_> | |
| LocalVect< T_, N_ > | operator/ (T_ a, const LocalVect< T_, N_ > &x) |
| Operator / (Division of vector by constant). | |
| template<class T_, size_t N_> | |
| ostream & | operator<< (ostream &s, const LocalVect< T_, N_ > &v) |
| Output vector in output stream. | |
| template<class T_, size_t N_> | |
| void | Scale (T_ a, LocalVect< T_, N_ > &x) |
| Multiply vector x by constant a and store result in x. | |
| template<class T_, size_t N_> | |
| void | Scale (T_ a, const LocalVect< T_, N_ > &x, LocalVect< T_, N_ > &y) |
| Multiply vector x by constant a and store result in y. | |