OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
AntiSymTenzor< T, D > Class Template Reference

#include <AntiSymTenzor.h>

Inheritance diagram for AntiSymTenzor< T, D >:
Collaboration diagram for AntiSymTenzor< T, D >:

Classes

class  DontInitialize
class  AssignProxy

Public Types

enum  { ElemDim = 2 }
enum  { Size = D*(D-1)/2 }
typedef T Element_t

Public Member Functions

 AntiSymTenzor ()
 AntiSymTenzor (DontInitialize)
 AntiSymTenzor (const T &x00)
 AntiSymTenzor (const T &x10, const T &x20, const T &x21)
 AntiSymTenzor (const AntiSymTenzor< T, D > &rhs)
 AntiSymTenzor (const Tenzor< T, D > &t)
 ~AntiSymTenzor ()
const AntiSymTenzor< T, D > & operator= (const AntiSymTenzor< T, D > &rhs)
template<class T1>
const AntiSymTenzor< T, D > & operator= (const AntiSymTenzor< T1, D > &rhs)
const AntiSymTenzor< T, D > & operator= (const T &rhs)
template<class T1>
AntiSymTenzor< T, D > & operator+= (const AntiSymTenzor< T1, D > &rhs)
template<class T1>
AntiSymTenzor< T, D > & operator-= (const AntiSymTenzor< T1, D > &rhs)
template<class T1>
AntiSymTenzor< T, D > & operator*= (const AntiSymTenzor< T1, D > &rhs)
AntiSymTenzor< T, D > & operator*= (const T &rhs)
template<class T1>
AntiSymTenzor< T, D > & operator/= (const AntiSymTenzor< T1, D > &rhs)
AntiSymTenzor< T, D > & operator/= (const T &rhs)
int len (void) const
int size (void) const
int get_Size (void) const
Element_t operator() (unsigned int i, unsigned int j) const
Element_t operator() (std::pair< int, int > a) const
AssignProxy operator() (unsigned int i, unsigned int j)
AssignProxy operator() (std::pair< int, int > a)
Element_toperator[] (unsigned int i)
Element_t operator[] (unsigned int i) const
Element_toperator() (unsigned int i)
Element_t operator() (unsigned int i) const
bool operator== (const AntiSymTenzor< T, D > &that) const
bool operator!= (const AntiSymTenzor< T, D > &that) const
MessageputMessage (Message &m) const
MessagegetMessage (Message &m)

Private Attributes

X [Size]

Static Private Attributes

static T Zero

Friends

class AssignProxy

Detailed Description

template<class T, unsigned D>
class AntiSymTenzor< T, D >

Definition at line 33 of file AntiSymTenzor.h.


Class Documentation

◆ AntiSymTenzor::DontInitialize

class AntiSymTenzor::DontInitialize
template<class T, unsigned D>
class AntiSymTenzor< T, D >::DontInitialize

Definition at line 47 of file AntiSymTenzor.h.

Collaboration diagram for AntiSymTenzor< T, D >::DontInitialize:

Member Typedef Documentation

◆ Element_t

template<class T, unsigned D>
typedef T AntiSymTenzor< T, D >::Element_t

Definition at line 37 of file AntiSymTenzor.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T, unsigned D>
anonymous enum
Enumerator
Size 

Definition at line 39 of file AntiSymTenzor.h.

◆ anonymous enum

template<class T, unsigned D>
anonymous enum
Enumerator
ElemDim 

Definition at line 38 of file AntiSymTenzor.h.

Constructor & Destructor Documentation

◆ AntiSymTenzor() [1/6]

template<class T, unsigned D>
AntiSymTenzor< T, D >::AntiSymTenzor ( )
inline

Definition at line 42 of file AntiSymTenzor.h.

◆ AntiSymTenzor() [2/6]

template<class T, unsigned D>
AntiSymTenzor< T, D >::AntiSymTenzor ( DontInitialize )
inline

Definition at line 48 of file AntiSymTenzor.h.

◆ AntiSymTenzor() [3/6]

template<class T, unsigned D>
AntiSymTenzor< T, D >::AntiSymTenzor ( const T & x00)
inline

Definition at line 52 of file AntiSymTenzor.h.

◆ AntiSymTenzor() [4/6]

template<class T, unsigned D>
AntiSymTenzor< T, D >::AntiSymTenzor ( const T & x10,
const T & x20,
const T & x21 )
inline

Definition at line 56 of file AntiSymTenzor.h.

◆ AntiSymTenzor() [5/6]

template<class T, unsigned D>
AntiSymTenzor< T, D >::AntiSymTenzor ( const AntiSymTenzor< T, D > & rhs)
inline

Definition at line 63 of file AntiSymTenzor.h.

◆ AntiSymTenzor() [6/6]

template<class T, unsigned D>
AntiSymTenzor< T, D >::AntiSymTenzor ( const Tenzor< T, D > & t)
inline

Definition at line 70 of file AntiSymTenzor.h.

◆ ~AntiSymTenzor()

template<class T, unsigned D>
AntiSymTenzor< T, D >::~AntiSymTenzor ( )
inline

Definition at line 77 of file AntiSymTenzor.h.

Member Function Documentation

◆ get_Size()

template<class T, unsigned D>
int AntiSymTenzor< T, D >::get_Size ( void ) const
inline

Definition at line 146 of file AntiSymTenzor.h.

◆ getMessage()

template<class T, unsigned D>
Message & AntiSymTenzor< T, D >::getMessage ( Message & m)
inline

Definition at line 251 of file AntiSymTenzor.h.

Referenced by AntiSymTenzor< T, Dim >::getMessage().

◆ len()

template<class T, unsigned D>
int AntiSymTenzor< T, D >::len ( void ) const
inline

Definition at line 144 of file AntiSymTenzor.h.

◆ operator!=()

template<class T, unsigned D>
bool AntiSymTenzor< T, D >::operator!= ( const AntiSymTenzor< T, D > & that) const
inline

Definition at line 239 of file AntiSymTenzor.h.

◆ operator()() [1/6]

template<class T, unsigned D>
AssignProxy AntiSymTenzor< T, D >::operator() ( std::pair< int, int > a)
inline

Definition at line 206 of file AntiSymTenzor.h.

◆ operator()() [2/6]

template<class T, unsigned D>
Element_t AntiSymTenzor< T, D >::operator() ( std::pair< int, int > a) const
inline

Definition at line 189 of file AntiSymTenzor.h.

◆ operator()() [3/6]

template<class T, unsigned D>
Element_t & AntiSymTenzor< T, D >::operator() ( unsigned int i)
inline

Definition at line 224 of file AntiSymTenzor.h.

◆ operator()() [4/6]

template<class T, unsigned D>
Element_t AntiSymTenzor< T, D >::operator() ( unsigned int i) const
inline

Definition at line 229 of file AntiSymTenzor.h.

◆ operator()() [5/6]

template<class T, unsigned D>
AssignProxy AntiSymTenzor< T, D >::operator() ( unsigned int i,
unsigned int j )
inline

Definition at line 195 of file AntiSymTenzor.h.

◆ operator()() [6/6]

template<class T, unsigned D>
Element_t AntiSymTenzor< T, D >::operator() ( unsigned int i,
unsigned int j ) const
inline

Definition at line 180 of file AntiSymTenzor.h.

◆ operator*=() [1/2]

template<class T, unsigned D>
template<class T1>
AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator*= ( const AntiSymTenzor< T1, D > & rhs)
inline

Definition at line 115 of file AntiSymTenzor.h.

◆ operator*=() [2/2]

template<class T, unsigned D>
AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator*= ( const T & rhs)
inline

Definition at line 121 of file AntiSymTenzor.h.

◆ operator+=()

template<class T, unsigned D>
template<class T1>
AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator+= ( const AntiSymTenzor< T1, D > & rhs)
inline

Definition at line 99 of file AntiSymTenzor.h.

◆ operator-=()

template<class T, unsigned D>
template<class T1>
AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator-= ( const AntiSymTenzor< T1, D > & rhs)
inline

Definition at line 107 of file AntiSymTenzor.h.

◆ operator/=() [1/2]

template<class T, unsigned D>
template<class T1>
AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator/= ( const AntiSymTenzor< T1, D > & rhs)
inline

Definition at line 129 of file AntiSymTenzor.h.

◆ operator/=() [2/2]

template<class T, unsigned D>
AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator/= ( const T & rhs)
inline

Definition at line 135 of file AntiSymTenzor.h.

◆ operator=() [1/3]

template<class T, unsigned D>
const AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator= ( const AntiSymTenzor< T, D > & rhs)
inline

Definition at line 80 of file AntiSymTenzor.h.

◆ operator=() [2/3]

template<class T, unsigned D>
template<class T1>
const AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator= ( const AntiSymTenzor< T1, D > & rhs)
inline

Definition at line 86 of file AntiSymTenzor.h.

◆ operator=() [3/3]

template<class T, unsigned D>
const AntiSymTenzor< T, D > & AntiSymTenzor< T, D >::operator= ( const T & rhs)
inline

Definition at line 91 of file AntiSymTenzor.h.

◆ operator==()

template<class T, unsigned D>
bool AntiSymTenzor< T, D >::operator== ( const AntiSymTenzor< T, D > & that) const
inline

Definition at line 236 of file AntiSymTenzor.h.

◆ operator[]() [1/2]

template<class T, unsigned D>
Element_t & AntiSymTenzor< T, D >::operator[] ( unsigned int i)
inline

Definition at line 212 of file AntiSymTenzor.h.

◆ operator[]() [2/2]

template<class T, unsigned D>
Element_t AntiSymTenzor< T, D >::operator[] ( unsigned int i) const
inline

Definition at line 217 of file AntiSymTenzor.h.

◆ putMessage()

template<class T, unsigned D>
Message & AntiSymTenzor< T, D >::putMessage ( Message & m) const
inline

Definition at line 245 of file AntiSymTenzor.h.

Referenced by AntiSymTenzor< T, Dim >::putMessage().

◆ size()

template<class T, unsigned D>
int AntiSymTenzor< T, D >::size ( void ) const
inline

Definition at line 145 of file AntiSymTenzor.h.

◆ AssignProxy

template<class T, unsigned D>
friend class AssignProxy
friend

Member Data Documentation

◆ X

template<class T, unsigned D>
T AntiSymTenzor< T, D >::X[Size]
private

Definition at line 261 of file AntiSymTenzor.h.

Referenced by AntiSymTenzor< T, Dim >::operator==().

◆ Zero


The documentation for this class was generated from the following file: