OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <Tenzor.h>
Classes | |
class | DontInitialize |
Public Types | |
enum | { ElemDim = 2 } |
enum | { Size = D*D } |
typedef T | Element_t |
Public Member Functions | |
Tenzor () | |
Tenzor (DontInitialize) | |
Tenzor (const Tenzor< T, D > &rhs) | |
Tenzor (const T &x00) | |
Tenzor (const T &x00, const T &x10, const T &x01, const T &x11) | |
Tenzor (const T &x00, const T &x10, const T &x20, const T &x01, const T &x11, const T &x21, const T &x02, const T &x12, const T &x22) | |
Tenzor (const SymTenzor< T, D > &) | |
Tenzor (const AntiSymTenzor< T, D > &) | |
~Tenzor () | |
const Tenzor< T, D > & | operator= (const Tenzor< T, D > &rhs) |
template<class T1 > | |
const Tenzor< T, D > & | operator= (const Tenzor< T1, D > &rhs) |
const Tenzor< T, D > & | operator= (const T &rhs) |
template<class T1 > | |
Tenzor< T, D > & | operator+= (const Tenzor< T1, D > &rhs) |
Tenzor< T, D > & | operator+= (const T &rhs) |
template<class T1 > | |
Tenzor< T, D > & | operator-= (const Tenzor< T1, D > &rhs) |
Tenzor< T, D > & | operator-= (const T &rhs) |
template<class T1 > | |
Tenzor< T, D > & | operator*= (const Tenzor< T1, D > &rhs) |
Tenzor< T, D > & | operator*= (const T &rhs) |
template<class T1 > | |
Tenzor< T, D > & | operator/= (const Tenzor< T1, D > &rhs) |
Tenzor< T, D > & | operator/= (const T &rhs) |
void | diagonal (const T &rhs) |
int | len (void) const |
int | size (void) const |
Element_t & | operator[] (unsigned int i) |
Element_t | operator[] (unsigned int i) const |
Element_t & | operator() (unsigned int i) |
Element_t | operator() (unsigned int i) const |
Element_t | operator() (unsigned int i, unsigned int j) const |
Element_t & | operator() (unsigned int i, unsigned int j) |
Element_t | operator() (const std::pair< int, int > i) const |
Element_t & | operator() (const std::pair< int, int > i) |
bool | operator== (const Tenzor< T, D > &that) const |
bool | operator!= (const Tenzor< T, D > &that) const |
Message & | putMessage (Message &m) const |
Message & | getMessage (Message &m) |
Private Attributes | |
T | X [Size] |
typedef T Tenzor< T, D >::Element_t |
anonymous enum |
anonymous enum |
Definition at line 43 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
|
inline |
Definition at line 57 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
|
inline |
Definition at line 62 of file Tenzor.h.
References PInsist, and Tenzor< T, D >::X.
|
inline |
Definition at line 69 of file Tenzor.h.
References PInsist, and Tenzor< T, D >::X.
Tenzor< T, D >::Tenzor | ( | const AntiSymTenzor< T, D > & | rhs | ) |
|
inline |
Definition at line 241 of file Tenzor.h.
References Tenzor< T, D >::getMessage(), Attrib::Legacy::Distribution::T, and Tenzor< T, D >::X.
Referenced by Tenzor< T, D >::getMessage().
|
inline |
Definition at line 171 of file Tenzor.h.
References Tenzor< T, D >::Size.
|
inline |
Definition at line 191 of file Tenzor.h.
References PAssert, Tenzor< T, D >::Size, and Tenzor< T, D >::X.
Definition at line 196 of file Tenzor.h.
References PAssert, Tenzor< T, D >::Size, and Tenzor< T, D >::X.
|
inline |
Definition at line 207 of file Tenzor.h.
References PAssert, and Tenzor< T, D >::X.
|
inline |
Definition at line 202 of file Tenzor.h.
References PAssert, and Tenzor< T, D >::X.
Definition at line 143 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
Definition at line 115 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
Definition at line 129 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
Definition at line 157 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
|
inline |
Definition at line 102 of file Tenzor.h.
References Attrib::Legacy::Distribution::T.
|
inline |
Definition at line 225 of file Tenzor.h.
References TSV_MetaCompareArrays< T1, T2, D >::apply(), and Tenzor< T, D >::X.
Definition at line 176 of file Tenzor.h.
References PAssert_LT, Tenzor< T, D >::Size, and Tenzor< T, D >::X.
Definition at line 182 of file Tenzor.h.
References PAssert_LT, Tenzor< T, D >::Size, and Tenzor< T, D >::X.
Definition at line 234 of file Tenzor.h.
References Tenzor< T, D >::putMessage(), Message::setCopy(), Attrib::Legacy::Distribution::T, and Tenzor< T, D >::X.
Referenced by Tenzor< T, D >::putMessage().
|
inline |
Definition at line 250 of file Tenzor.h.
Referenced by Tenzor< T, D >::getMessage(), Tenzor< T, D >::operator()(), Tenzor< T, D >::operator==(), Tenzor< T, D >::operator[](), Tenzor< T, D >::putMessage(), and Tenzor< T, D >::Tenzor().