an efficient C++ finite element environment
|
|
Go to the documentation of this file. 1 # ifndef _RHEOLEF_TENSOR4_H
2 # define _RHEOLEF_TENSOR4_H
74 #include "rheolef/point.h"
75 #include "rheolef/tensor.h"
94 tensor4_basic (
const std::initializer_list<std::initializer_list<
95 std::initializer_list<std::initializer_list<T> > > >& il);
141 T norm2 (
const tensor4_basic<T>&);
144 tensor_basic<T>
ddot (
const tensor4_basic<T>&,
const tensor_basic<T>&);
147 tensor_basic<T>
ddot (
const tensor_basic<T>&,
const tensor4_basic<T>&);
150 tensor4_basic<T>
dexp (
const tensor_basic<T>&
a,
size_t d = 3);
214 template <
class T,
class U>
218 details::is_rheolef_arithmetic<U>::value
helper for std::complex<T>: get basic T type
float_traits< T >::type type
tensor4_basic< Float > tensor4
T & operator()(size_type i, size_type j, size_type k, size_type l)
csr< T, sequential > operator*(const T &lambda, const csr< T, sequential > &a)
tensor4_basic< T > & operator*=(const T &k)
T norm(const vec< T, M > &x)
norm(x): see the expression page for the full documentation
T norm2(const vec< T, M > &x)
norm2(x): see the expression page for the full documentation
std::ostream & put(std::ostream &out, size_type d=3) const
tensor4_basic< T > operator-(const tensor4_basic< T > &b) const
tensor4_basic< T > & operator-=(const tensor4_basic< T > &)
tensor4_basic< T > dexp(const tensor_basic< T > &chi, size_t dim)
T ddot(const tensor_basic< T > &a, const tensor_basic< T > &b)
ddot(x,y): see the expression page for the full documentation
tensor4_basic< T > & operator=(const tensor4_basic< T > &a)
std::istream & operator>>(std::istream &is, const catchmark &m)
This file is part of Rheolef.
tensor4_basic< T > operator+(const tensor4_basic< T > &b) const
tensor_basic< tensor_basic< T > > _x
static tensor4_basic< T > eye(size_type d=3)
tensor4_basic< T > & operator+=(const tensor4_basic< T > &)
field::size_type size_type
helper for point_basic<T> & tensor_basic<T>: get basic T type
tensor4_basic< T > & operator/=(const T &k)
std::ostream & operator<<(std::ostream &os, const catchmark &m)
tensor4_basic< T > operator*(const T &k) const
tensor4_basic< T > operator/(const T &k) const