OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Classes | Public Types | Public Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
AntiSymTenzor< T, D > Class Template Reference

#include <AntiSymTenzor.h>

Classes

class  AssignProxy
 
class  DontInitialize
 

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 = 0
 

Friends

class AssignProxy
 

Detailed Description

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

Definition at line 33 of file AntiSymTenzor.h.

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
ElemDim 

Definition at line 38 of file AntiSymTenzor.h.

◆ anonymous enum

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

Definition at line 39 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.

References Attrib::Legacy::Distribution::T.

◆ 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.

References Attrib::Legacy::Distribution::T.

◆ 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.

References PInsist, and AntiSymTenzor< T, D >::X.

◆ 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.

References AntiSymTenzor< T, D >::Size.

◆ getMessage()

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

Definition at line 251 of file AntiSymTenzor.h.

References AntiSymTenzor< T, D >::Size, and AntiSymTenzor< T, D >::X.

◆ len()

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

Definition at line 144 of file AntiSymTenzor.h.

References AntiSymTenzor< T, D >::Size.

◆ 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.

References a.

◆ 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.

References a.

◆ 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.

References PAssert, AntiSymTenzor< T, D >::Size, and AntiSymTenzor< T, D >::X.

◆ 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.

References PAssert, AntiSymTenzor< T, D >::Size, and AntiSymTenzor< T, D >::X.

◆ operator()() [5/6]

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

◆ 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.

References Attrib::Legacy::Distribution::T, and AntiSymTenzor< T, D >::X.

◆ 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.

References Attrib::Legacy::Distribution::T.

◆ 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.

References Attrib::Legacy::Distribution::T.

◆ 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.

References Attrib::Legacy::Distribution::T.

◆ 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.

References Attrib::Legacy::Distribution::T, and AntiSymTenzor< T, D >::X.

◆ 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.

References PAssert, AntiSymTenzor< T, D >::Size, and AntiSymTenzor< T, D >::X.

◆ 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.

References PAssert, AntiSymTenzor< T, D >::Size, and AntiSymTenzor< T, D >::X.

◆ putMessage()

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

Definition at line 245 of file AntiSymTenzor.h.

References Message::setCopy(), AntiSymTenzor< T, D >::Size, and AntiSymTenzor< T, D >::X.

Here is the call graph for this function:

◆ size()

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

Definition at line 145 of file AntiSymTenzor.h.

Friends And Related Function Documentation

◆ 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

◆ Zero

template<class T >
T AntiSymTenzor< T >::Zero = 0
staticprivate

Definition at line 266 of file AntiSymTenzor.h.


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