Tenzor< T, D > Class Template Reference

#include <Tenzor.h>

List of all members.

Public Types

typedef T Element_t
enum  { ElemDim = 2 }
enum  { Size = D*D }

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_toperator[] (unsigned int i)
Element_t operator[] (unsigned int i) const
Element_toperator() (unsigned int i)
Element_t operator() (unsigned int i) const
Element_t operator() (unsigned int i, unsigned int j) const
Element_toperator() (unsigned int i, unsigned int j)
Element_t operator() (const pair< int, int > i) const
Element_toperator() (const pair< int, int > i)
bool operator== (const Tenzor< T, D > &that) const
bool operator!= (const Tenzor< T, D > &that) const
MessageputMessage (Message &m) const
MessagegetMessage (Message &m)

Classes

class  DontInitialize


Detailed Description

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

Definition at line 39 of file Tenzor.h.


Member Typedef Documentation

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

Definition at line 43 of file Tenzor.h.


Member Enumeration Documentation

template<class T, unsigned D>
anonymous enum
 

Enumerator:
ElemDim 

Definition at line 44 of file Tenzor.h.

template<class T, unsigned D>
anonymous enum
 

Enumerator:
Size 

Definition at line 45 of file Tenzor.h.


Constructor & Destructor Documentation

template<class T, unsigned D>
Tenzor< T, D >::Tenzor  )  [inline]
 

Definition at line 48 of file Tenzor.h.

template<class T, unsigned D>
Tenzor< T, D >::Tenzor DontInitialize   )  [inline]
 

Definition at line 54 of file Tenzor.h.

template<class T, unsigned D>
Tenzor< T, D >::Tenzor const Tenzor< T, D > &  rhs  )  [inline]
 

Definition at line 57 of file Tenzor.h.

template<class T, unsigned D>
Tenzor< T, D >::Tenzor const T &  x00  )  [inline]
 

Definition at line 62 of file Tenzor.h.

template<class T, unsigned D>
Tenzor< T, D >::Tenzor const T &  x00,
const T &  x10,
const T &  x01,
const T &  x11
[inline]
 

Definition at line 67 of file Tenzor.h.

References PInsist.

template<class T, unsigned D>
Tenzor< T, D >::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
[inline]
 

Definition at line 74 of file Tenzor.h.

References PInsist.

template<class T, unsigned D>
Tenzor< T, D >::Tenzor const SymTenzor< T, D > &   ) 
 

Definition at line 500 of file Tenzor.h.

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

Definition at line 507 of file Tenzor.h.

template<class T, unsigned D>
Tenzor< T, D >::~Tenzor  )  [inline]
 

Definition at line 95 of file Tenzor.h.


Member Function Documentation

template<class T, unsigned D>
void Tenzor< T, D >::diagonal const T &  rhs  )  [inline]
 

Definition at line 171 of file Tenzor.h.

template<class T, unsigned D>
Message& Tenzor< T, D >::getMessage Message m  )  [inline]
 

Definition at line 246 of file Tenzor.h.

template<class T, unsigned D>
int Tenzor< T, D >::len void   )  const [inline]
 

Definition at line 176 of file Tenzor.h.

References Tenzor< T, D >::Size.

template<class T, unsigned D>
Tenzor<T,D>& Tenzor< T, D >::operator *= const T &  rhs  )  [inline]
 

Definition at line 148 of file Tenzor.h.

template<class T, unsigned D>
template<class T1>
Tenzor<T,D>& Tenzor< T, D >::operator *= const Tenzor< T1, D > &  rhs  )  [inline]
 

Definition at line 142 of file Tenzor.h.

template<class T, unsigned D>
bool Tenzor< T, D >::operator!= const Tenzor< T, D > &  that  )  const [inline]
 

Definition at line 233 of file Tenzor.h.

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

Definition at line 222 of file Tenzor.h.

References PAssert.

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

Definition at line 217 of file Tenzor.h.

References PAssert.

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

Definition at line 212 of file Tenzor.h.

References PAssert.

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

Definition at line 207 of file Tenzor.h.

References PAssert.

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

Definition at line 201 of file Tenzor.h.

References PAssert, and Tenzor< T, D >::Size.

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

Definition at line 196 of file Tenzor.h.

References PAssert, and Tenzor< T, D >::Size.

template<class T, unsigned D>
Tenzor<T,D>& Tenzor< T, D >::operator+= const T &  rhs  )  [inline]
 

Definition at line 120 of file Tenzor.h.

template<class T, unsigned D>
template<class T1>
Tenzor<T,D>& Tenzor< T, D >::operator+= const Tenzor< T1, D > &  rhs  )  [inline]
 

Definition at line 114 of file Tenzor.h.

template<class T, unsigned D>
Tenzor<T,D>& Tenzor< T, D >::operator-= const T &  rhs  )  [inline]
 

Definition at line 134 of file Tenzor.h.

template<class T, unsigned D>
template<class T1>
Tenzor<T,D>& Tenzor< T, D >::operator-= const Tenzor< T1, D > &  rhs  )  [inline]
 

Definition at line 128 of file Tenzor.h.

template<class T, unsigned D>
Tenzor<T,D>& Tenzor< T, D >::operator/= const T &  rhs  )  [inline]
 

Definition at line 162 of file Tenzor.h.

template<class T, unsigned D>
template<class T1>
Tenzor<T,D>& Tenzor< T, D >::operator/= const Tenzor< T1, D > &  rhs  )  [inline]
 

Definition at line 156 of file Tenzor.h.

template<class T, unsigned D>
const Tenzor<T,D>& Tenzor< T, D >::operator= const T &  rhs  )  [inline]
 

Definition at line 107 of file Tenzor.h.

template<class T, unsigned D>
template<class T1>
const Tenzor<T,D>& Tenzor< T, D >::operator= const Tenzor< T1, D > &  rhs  )  [inline]
 

Definition at line 103 of file Tenzor.h.

template<class T, unsigned D>
const Tenzor<T,D>& Tenzor< T, D >::operator= const Tenzor< T, D > &  rhs  )  [inline]
 

Definition at line 98 of file Tenzor.h.

template<class T, unsigned D>
bool Tenzor< T, D >::operator== const Tenzor< T, D > &  that  )  const [inline]
 

Definition at line 230 of file Tenzor.h.

References TSV_MetaCompareArrays< T1, T2, D >::apply(), and Tenzor< T, D >::X.

Here is the call graph for this function:

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

Definition at line 187 of file Tenzor.h.

References PAssert, and Tenzor< T, D >::Size.

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

Definition at line 181 of file Tenzor.h.

References PAssert, and Tenzor< T, D >::Size.

template<class T, unsigned D>
Message& Tenzor< T, D >::putMessage Message m  )  const [inline]
 

Definition at line 239 of file Tenzor.h.

References Message::setCopy().

Here is the call graph for this function:

template<class T, unsigned D>
int Tenzor< T, D >::size void   )  const [inline]
 

Definition at line 177 of file Tenzor.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 16 14:46:51 2006 for IPPL by  doxygen 1.4.6