v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 > Class Template Reference

#include <src/ftensor/src/FTensor/Ddg/Ddg_Expr_equals.hpp>

Collaboration diagram for FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >:
[legend]

Public Member Functions

 T4Ddg_equals_generic (Ddg< A, Dim01, Dim23 > &a, const U &b)
 
void operator() ()
 

Private Member Functions

template<int Current_Dim0, int Current_Dim1, int Current_Dim2, int Current_Dim3>
void eval (const Number< Current_Dim0 > &, const Number< Current_Dim1 > &, const Number< Current_Dim2 > &, const Number< Current_Dim3 > &)
 
template<int Current_Dim1, int Current_Dim2, int Current_Dim3>
void eval (const Number< 1 > &, const Number< Current_Dim1 > &, const Number< Current_Dim2 > &, const Number< Current_Dim3 > &)
 
template<int Current_Dim2, int Current_Dim3>
void eval (const Number< 1 > &, const Number< 1 > &, const Number< Current_Dim2 > &, const Number< Current_Dim3 > &)
 
template<int Current_Dim3>
void eval (const Number< 1 > &, const Number< 1 > &, const Number< 1 > &, const Number< Current_Dim3 > &)
 
void eval (const Number< 1 > &, const Number< 1 > &, const Number< 1 > &, const Number< 1 > &)
 

Private Attributes

Ddg< A, Dim01, Dim23 > & iter
 
const U & u
 

Detailed Description

template<class A, class T, class U, int Dim01, int Dim23>
class FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >

Definition at line 302 of file Ddg_Expr_equals.hpp.

Constructor & Destructor Documentation

◆ T4Ddg_equals_generic()

template<class A , class T , class U , int Dim01, int Dim23>
FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::T4Ddg_equals_generic ( Ddg< A, Dim01, Dim23 > &  a,
const U &  b 
)
inline

Definition at line 350 of file Ddg_Expr_equals.hpp.

350: iter(a), u(b) {}
constexpr double a
Ddg< A, Dim01, Dim23 > & iter

Member Function Documentation

◆ eval() [1/5]

template<class A , class T , class U , int Dim01, int Dim23>
void FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::eval ( const Number< 1 > &  ,
const Number< 1 > &  ,
const Number< 1 > &  ,
const Number< 1 > &   
)
inlineprivate

Definition at line 344 of file Ddg_Expr_equals.hpp.

345 {
346 iter(Number<0>(), Number<0>(), Number<0>(), Number<0>()) = u;
347 }

◆ eval() [2/5]

template<class A , class T , class U , int Dim01, int Dim23>
template<int Current_Dim3>
void FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::eval ( const Number< 1 > &  ,
const Number< 1 > &  ,
const Number< 1 > &  ,
const Number< Current_Dim3 > &   
)
inlineprivate

Definition at line 336 of file Ddg_Expr_equals.hpp.

337 {
338 iter(Number<0>(), Number<0>(), Number<0>(), Number<Current_Dim3 - 1>()) =
339 u;
340 eval(Number<Dim01>(), Number<Dim01>(), Number<Current_Dim3 - 1>(),
341 Number<Current_Dim3 - 1>());
342 }
void eval(const Number< Current_Dim0 > &, const Number< Current_Dim1 > &, const Number< Current_Dim2 > &, const Number< Current_Dim3 > &)

◆ eval() [3/5]

template<class A , class T , class U , int Dim01, int Dim23>
template<int Current_Dim2, int Current_Dim3>
void FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::eval ( const Number< 1 > &  ,
const Number< 1 > &  ,
const Number< Current_Dim2 > &  ,
const Number< Current_Dim3 > &   
)
inlineprivate

Definition at line 327 of file Ddg_Expr_equals.hpp.

328 {
329 iter(Number<0>(), Number<0>(), Number<Current_Dim2 - 1>(),
330 Number<Current_Dim3 - 1>()) = u;
331 eval(Number<Dim01>(), Number<Dim01>(), Number<Current_Dim2 - 1>(),
332 Number<Current_Dim3>());
333 }

◆ eval() [4/5]

template<class A , class T , class U , int Dim01, int Dim23>
template<int Current_Dim1, int Current_Dim2, int Current_Dim3>
void FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::eval ( const Number< 1 > &  ,
const Number< Current_Dim1 > &  ,
const Number< Current_Dim2 > &  ,
const Number< Current_Dim3 > &   
)
inlineprivate

Definition at line 318 of file Ddg_Expr_equals.hpp.

319 {
320 iter(Number<0>(), Number<Current_Dim1 - 1>(), Number<Current_Dim2 - 1>(),
321 Number<Current_Dim3 - 1>()) = u;
322 eval(Number<Current_Dim1 - 1>(), Number<Current_Dim1 - 1>(),
323 Number<Current_Dim2>(), Number<Current_Dim3>());
324 }

◆ eval() [5/5]

template<class A , class T , class U , int Dim01, int Dim23>
template<int Current_Dim0, int Current_Dim1, int Current_Dim2, int Current_Dim3>
void FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::eval ( const Number< Current_Dim0 > &  ,
const Number< Current_Dim1 > &  ,
const Number< Current_Dim2 > &  ,
const Number< Current_Dim3 > &   
)
inlineprivate

Definition at line 309 of file Ddg_Expr_equals.hpp.

310 {
311 iter(Number<Current_Dim0 - 1>(), Number<Current_Dim1 - 1>(),
312 Number<Current_Dim2 - 1>(), Number<Current_Dim3 - 1>()) = u;
313 eval(Number<Current_Dim0 - 1>(), Number<Current_Dim1>(),
314 Number<Current_Dim2>(), Number<Current_Dim3>());
315 }

◆ operator()()

template<class A , class T , class U , int Dim01, int Dim23>
void FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::operator() ( )
inline

Definition at line 352 of file Ddg_Expr_equals.hpp.

352 {
353 eval(Number<Dim01>(), Number<Dim01>(), Number<Dim23>(), Number<Dim23>());
354 }

Member Data Documentation

◆ iter

template<class A , class T , class U , int Dim01, int Dim23>
Ddg<A, Dim01, Dim23>& FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::iter
private

Definition at line 304 of file Ddg_Expr_equals.hpp.

◆ u

template<class A , class T , class U , int Dim01, int Dim23>
const U& FTensor::T4Ddg_equals_generic< A, T, U, Dim01, Dim23 >::u
private

Definition at line 305 of file Ddg_Expr_equals.hpp.


The documentation for this class was generated from the following file: