v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j > Class Template Reference

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

Collaboration diagram for FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >:
[legend]

Public Member Functions

promote< T, U >::V operator() (const int N1, const int N2, const int N3, const int N4) const
 
 Ddg_plus_Ddg (const Ddg_Expr< A, T, Dim01, Dim23, i, j, k, l > &a, const Ddg_Expr< B, U, Dim23, Dim01, k, l, i, j > &b)
 

Private Attributes

Ddg_Expr< A, T, Dim01, Dim23, i, j, k, literA
 
Ddg_Expr< B, U, Dim23, Dim01, k, l, i, jiterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim01, int Dim23, char i, char j, char k, char l>
class FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >

Definition at line 41 of file Ddg_plus_Ddg.hpp.

Constructor & Destructor Documentation

◆ Ddg_plus_Ddg()

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >::Ddg_plus_Ddg ( const Ddg_Expr< A, T, Dim01, Dim23, i, j, k, l > &  a,
const Ddg_Expr< B, U, Dim23, Dim01, k, l, i, j > &  b 
)
inline

Definition at line 54 of file Ddg_plus_Ddg.hpp.

56  : iterA(a), iterB(b)
57  {}

Member Function Documentation

◆ operator()()

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
promote<T, U>::V FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >::operator() ( const int  N1,
const int  N2,
const int  N3,
const int  N4 
) const
inline

Definition at line 49 of file Ddg_plus_Ddg.hpp.

50  {
51  return iterA(N1, N2, N3, N4) + iterB(N3, N4, N1, N2);
52  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
Ddg_Expr<A, T, Dim01, Dim23, i, j, k, l> FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >::iterA
private

Definition at line 44 of file Ddg_plus_Ddg.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
Ddg_Expr<B, U, Dim23, Dim01, k, l, i, j> FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >::iterB
private

Definition at line 45 of file Ddg_plus_Ddg.hpp.


The documentation for this class was generated from the following file:
FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >::iterA
Ddg_Expr< A, T, Dim01, Dim23, i, j, k, l > iterA
Definition: Ddg_plus_Ddg.hpp:44
FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim23, Dim01, i, j, k, l, k, l, i, j >::iterB
Ddg_Expr< B, U, Dim23, Dim01, k, l, i, j > iterB
Definition: Ddg_plus_Ddg.hpp:45
a
constexpr double a
Definition: approx_sphere.cpp:30