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

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

Collaboration diagram for FTensor::Ddg_and_Ddg0213< A, B, T, U, Dim, 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_and_Ddg0213 (const Ddg_Expr< A, T, Dim, Dim, i, k, l, j > &a, const Ddg_Expr< B, U, Dim, Dim, i, l, k, j > &b)
 

Private Attributes

Ddg_Expr< A, T, Dim, Dim, i, k, l, jiterA
 
Ddg_Expr< B, U, Dim, Dim, i, l, k, jiterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim, char i, char j, char k, char l>
class FTensor::Ddg_and_Ddg0213< A, B, T, U, Dim, i, j, k, l >

Definition at line 45 of file Ddg_and_Ddg.hpp.

Constructor & Destructor Documentation

◆ Ddg_and_Ddg0213()

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

Definition at line 57 of file Ddg_and_Ddg.hpp.

59  : iterA(a), iterB(b)
60  {}

Member Function Documentation

◆ operator()()

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

Definition at line 52 of file Ddg_and_Ddg.hpp.

53  {
54  return iterA(N1, N3, N4, N2) - iterB(N1, N4, N3, N2);
55  }

Member Data Documentation

◆ iterA

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

Definition at line 47 of file Ddg_and_Ddg.hpp.

◆ iterB

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

Definition at line 48 of file Ddg_and_Ddg.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Ddg_and_Ddg0213::iterA
Ddg_Expr< A, T, Dim, Dim, i, k, l, j > iterA
Definition: Ddg_and_Ddg.hpp:47
FTensor::Ddg_and_Ddg0213::iterB
Ddg_Expr< B, U, Dim, Dim, i, l, k, j > iterB
Definition: Ddg_and_Ddg.hpp:48