v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim01, Dim23, i, j, k, l, i, j, k, l > 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, Dim01, Dim23, i, j, k, l, i, j, k, l >:
[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, Dim01, Dim23, i, j, k, l > &b)
 

Private Attributes

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

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, Dim01, Dim23, i, j, k, l, i, j, k, l >

Definition at line 18 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, Dim01, Dim23, i, j, k, l, i, j, k, l >::Ddg_plus_Ddg ( const Ddg_Expr< A, T, Dim01, Dim23, i, j, k, l > &  a,
const Ddg_Expr< B, U, Dim01, Dim23, i, j, k, l > &  b 
)
inline

Definition at line 31 of file Ddg_plus_Ddg.hpp.

33 : iterA(a), iterB(b)
34 {}
constexpr double a

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, Dim01, Dim23, i, j, k, l, i, j, k, l >::operator() ( const int  N1,
const int  N2,
const int  N3,
const int  N4 
) const
inline

Definition at line 26 of file Ddg_plus_Ddg.hpp.

27 {
28 return iterA(N1, N2, N3, N4) + iterB(N1, N2, N3, N4);
29 }
static Number< 2 > N2
static Number< 1 > N1

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, Dim01, Dim23, i, j, k, l, i, j, k, l >::iterA
private

Definition at line 21 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, Dim01, Dim23, i, j, k, l> FTensor::Ddg_plus_Ddg< A, B, T, U, Dim01, Dim23, Dim01, Dim23, i, j, k, l, i, j, k, l >::iterB
private

Definition at line 22 of file Ddg_plus_Ddg.hpp.


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