v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor2_symmetric/Tensor2_symmetric_Expr.hpp>

Collaboration diagram for FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >:
[legend]

Public Member Functions

 Tensor2_symmetric_Expr (A &a)
 
T & operator() (const int N1, const int N2)
 
operator() (const int N1, const int N2) const
 
template<class B , class U >
const Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > & operator= (const Tensor2_symmetric_Expr< B, U, Dim, i, j > &result)
 
const Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > & operator= (const Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > &result)
 

Private Attributes

Aiter
 

Detailed Description

template<class A, class T, int Dim, char i, char j, int N>
class FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >

Definition at line 150 of file Tensor2_symmetric_Expr.hpp.

Constructor & Destructor Documentation

◆ Tensor2_symmetric_Expr()

template<class A , class T , int Dim, char i, char j, int N>
FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::Tensor2_symmetric_Expr ( A a)
inline

Definition at line 155 of file Tensor2_symmetric_Expr.hpp.

155 : iter(a) {}

Member Function Documentation

◆ operator()() [1/2]

template<class A , class T , int Dim, char i, char j, int N>
T& FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::operator() ( const int  N1,
const int  N2 
)
inline

Definition at line 156 of file Tensor2_symmetric_Expr.hpp.

156 { return iter(N1, N2, N); }

◆ operator()() [2/2]

template<class A , class T , int Dim, char i, char j, int N>
T FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::operator() ( const int  N1,
const int  N2 
) const
inline

Definition at line 157 of file Tensor2_symmetric_Expr.hpp.

157 { return iter(N1, N2, N); }

◆ operator=() [1/2]

template<class A , class T , int Dim, char i, char j, int N>
template<class B , class U >
const Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::operator= ( const Tensor2_symmetric_Expr< B, U, Dim, i, j > &  result)

Definition at line 527 of file Tensor2_symmetric_Expr_equals.hpp.

528  {
529  T3dgrhs2_equals_T2s(iter, result, Number<Dim>(), Number<Dim>(),
530  Number<N>());
531  return *this;
532  }

◆ operator=() [2/2]

template<class A , class T , int Dim, char i, char j, int N>
const Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > & FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::operator= ( const Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j > &  result)

Definition at line 537 of file Tensor2_symmetric_Expr_equals.hpp.

539  {
540  return operator=<Dg_number_rhs_2<A, T, N>, T>(result);
541  }

Member Data Documentation

◆ iter

template<class A , class T , int Dim, char i, char j, int N>
A& FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::iter
private

Definition at line 152 of file Tensor2_symmetric_Expr.hpp.


The documentation for this class was generated from the following files:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::T3dgrhs2_equals_T2s
void T3dgrhs2_equals_T2s(A &iter, const Tensor2_symmetric_Expr< B, U, Dim01, i, j > &result, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &, const Number< N > &)
Definition: Tensor2_symmetric_Expr_equals.hpp:490
FTensor::Tensor2_symmetric_Expr< Dg_number_rhs_2< A, T, N >, T, Dim, i, j >::iter
A & iter
Definition: Tensor2_symmetric_Expr.hpp:152
N
const int N
Definition: speed_test.cpp:3