v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > Class Template Reference

#include <src/ftensor/src/FTensor/Dg/Dg_Expr.hpp>

Collaboration diagram for FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >:
[legend]

Public Member Functions

 Dg_Expr (Christof< A, Tensor_Dim0, Tensor_Dim12 > &a)
 
operator() (const int N1, const int N2, const int N3) const
 
template<class B , class U >
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator= (const Dg_Expr< B, U, Dim12, Dim0, i, j, k > &result)
 
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator= (const Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > &result)
 
template<class B , class U >
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator+= (const Dg_Expr< B, U, Dim12, Dim0, i, j, k > &result)
 
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator+= (const Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > &result)
 
template<class B , class U >
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator-= (const Dg_Expr< B, U, Dim12, Dim0, i, j, k > &result)
 
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator-= (const Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > &result)
 
template<class U >
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & operator= (const U &d)
 

Private Attributes

Christof< A, Tensor_Dim0, Tensor_Dim12 > & iter
 

Detailed Description

template<class A, class T, int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
class FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >

Definition at line 113 of file Dg_Expr.hpp.

Constructor & Destructor Documentation

◆ Dg_Expr()

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::Dg_Expr ( Christof< A, Tensor_Dim0, Tensor_Dim12 > &  a)
inline

Definition at line 118 of file Dg_Expr.hpp.

118 : iter(a) {}

Member Function Documentation

◆ operator()()

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
T FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator() ( const int  N1,
const int  N2,
const int  N3 
) const
inline

Definition at line 125 of file Dg_Expr.hpp.

126  {
127  return iter(N3, N1, N2);
128  }

◆ operator+=() [1/2]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
template<class B , class U >
Dg_Expr<Christof<A, Tensor_Dim0, Tensor_Dim12>, T, Dim12, Dim0, i, j, k>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator+= ( const Dg_Expr< B, U, Dim12, Dim0, i, j, k > &  result)

◆ operator+=() [2/2]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
Dg_Expr<Christof<A, Tensor_Dim0, Tensor_Dim12>, T, Dim12, Dim0, i, j, k>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator+= ( const Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > &  result)

◆ operator-=() [1/2]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
template<class B , class U >
Dg_Expr<Christof<A, Tensor_Dim0, Tensor_Dim12>, T, Dim12, Dim0, i, j, k>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator-= ( const Dg_Expr< B, U, Dim12, Dim0, i, j, k > &  result)

◆ operator-=() [2/2]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
Dg_Expr<Christof<A, Tensor_Dim0, Tensor_Dim12>, T, Dim12, Dim0, i, j, k>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator-= ( const Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > &  result)

◆ operator=() [1/3]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
template<class B , class U >
Dg_Expr<Christof<A, Tensor_Dim0, Tensor_Dim12>, T, Dim12, Dim0, i, j, k>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator= ( const Dg_Expr< B, U, Dim12, Dim0, i, j, k > &  result)

◆ operator=() [2/3]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
Dg_Expr<Christof<A, Tensor_Dim0, Tensor_Dim12>, T, Dim12, Dim0, i, j, k>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator= ( const Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > &  result)

◆ operator=() [3/3]

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
template<class U >
Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k > & FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::operator= ( const U &  d)

Definition at line 446 of file Dg_Expr_equals.hpp.

447  {
448  T3ch_equals_generic(iter, u, Number<Dim12>(), Number<Dim12>(),
449  Number<Dim0>(), Number<Dim12>(), Number<Dim0>());
450  return *this;
451  }

Member Data Documentation

◆ iter

template<class A , class T , int Tensor_Dim0, int Tensor_Dim12, int Dim12, int Dim0, char i, char j, char k>
Christof<A, Tensor_Dim0, Tensor_Dim12>& FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::iter
private

Definition at line 115 of file Dg_Expr.hpp.


The documentation for this class was generated from the following files:
FTensor::Dg_Expr< Christof< A, Tensor_Dim0, Tensor_Dim12 >, T, Dim12, Dim0, i, j, k >::iter
Christof< A, Tensor_Dim0, Tensor_Dim12 > & iter
Definition: Dg_Expr.hpp:115
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::T3ch_equals_generic
void T3ch_equals_generic(A &iter, const U &u, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &, const Number< Current_Dim2 > &, const Number< Dim12 > &, const Number< Dim0 > &)
Definition: Dg_Expr_equals.hpp:398