Rheolef  7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
tensor.h

tensor - d-dimensional physical tensor More...

Go to the source code of this file.

Classes

class  tensor_basic< T >
struct  float_traits< tensor_basic< T > >
struct  scalar_traits< tensor_basic< T > >
struct  is_mpi_datatype< rheolef::tensor_basic< double > >

Namespaces

namespace  rheolef
 This file is part of Rheolef.
namespace  boost
namespace  boost::serialization
namespace  boost::mpi

Functions

template<class U>
point_basic< U > operator* (const point_basic< U > &yt, const tensor_basic< U > &a)
template<class U>
tensor_basic< U > trans (const tensor_basic< U > &a, size_t d=3)
template<class U>
void prod (const tensor_basic< U > &a, const tensor_basic< U > &b, tensor_basic< U > &result, size_t di=3, size_t dj=3, size_t dk=3)
template<class U>
tr (const tensor_basic< U > &a, size_t d=3)
template<class U>
ddot (const tensor_basic< U > &, const tensor_basic< U > &)
template<class U>
tensor_basic< U > otimes (const point_basic< U > &u, const point_basic< U > &v, size_t d=3)
template<class U>
tensor_basic< U > inv (const tensor_basic< U > &a, size_t d=3)
template<class U>
tensor_basic< U > diag (const point_basic< U > &d)
template<class U>
point_basic< U > diag (const tensor_basic< U > &a)
template<class U>
determinant (const tensor_basic< U > &A, size_t d=3)
template<class U>
bool invert_3x3 (const tensor_basic< U > &A, tensor_basic< U > &result)
template<class T>
tensor_basic< Texp (const tensor_basic< T > &a, size_t d)
template<class T>
std::istream & operator>> (std::istream &in, tensor_basic< T > &a)
template<class T>
std::ostream & operator<< (std::ostream &out, const tensor_basic< T > &a)
template<class T>
void cumul_otimes (tensor_basic< T > &t, const point_basic< T > &a, const point_basic< T > &b, size_t na=3)
template<class T>
void cumul_otimes (tensor_basic< T > &t, const point_basic< T > &a, const point_basic< T > &b, size_t na, size_t nb)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, tensor_basic< T > >::type operator* (const U &k, const tensor_basic< T > &a)
template<class T>
tensor_basic< Totimes (const point_basic< T > &u, const point_basic< T > &v, size_t d)
template<class T>
T determinant (const tensor_basic< T > &A, size_t d)
template<class T>
tensor_basic< Tdiag (const point_basic< T > &d)
template<class T>
point_basic< Tdiag (const tensor_basic< T > &a)
template<class T>
T tr (const tensor_basic< T > &a, size_t d)
template<class T>
T norm2 (const tensor_basic< T > &a)
template<class T>
T dist2 (const tensor_basic< T > &a, const tensor_basic< T > &b)
template<class U>
norm (const tensor_basic< U > &a)
template<class U>
dist (const tensor_basic< U > &a, const tensor_basic< U > &b)
template<class Archive, class T>
void serialize (Archive &ar, class rheolef::tensor_basic< T > &x, const unsigned int version)

Detailed Description

tensor - d-dimensional physical tensor

Definition in file tensor.h.