v0.8.13
Public Member Functions | Private Attributes | List of all members
FTensor::Dg_divide_generic< A, T, U, Dim01, Dim2, i, j, k > Class Template Reference

#include <src/ftensor/src/FTensor/Dg/Dg_divide_generic.hpp>

Public Member Functions

promote< T, U >::V operator() (const int N1, const int N2, const int N3) const
 
 Dg_divide_generic (const Dg_Expr< A, T, Dim01, Dim2, i, j, k > &a, const U &d0)
 

Private Attributes

Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA
 
d
 

Detailed Description

template<class A, class T, class U, int Dim01, int Dim2, char i, char j, char k>
class FTensor::Dg_divide_generic< A, T, U, Dim01, Dim2, i, j, k >

Definition at line 9 of file Dg_divide_generic.hpp.

Constructor & Destructor Documentation

◆ Dg_divide_generic()

template<class A , class T , class U , int Dim01, int Dim2, char i, char j, char k>
FTensor::Dg_divide_generic< A, T, U, Dim01, Dim2, i, j, k >::Dg_divide_generic ( const Dg_Expr< A, T, Dim01, Dim2, i, j, k > &  a,
const U &  d0 
)

Definition at line 21 of file Dg_divide_generic.hpp.

23  : iterA(a), d(d0)
24  {}
Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA

Member Function Documentation

◆ operator()()

template<class A , class T , class U , int Dim01, int Dim2, char i, char j, char k>
promote<T, U>::V FTensor::Dg_divide_generic< A, T, U, Dim01, Dim2, i, j, k >::operator() ( const int  N1,
const int  N2,
const int  N3 
) const

Definition at line 16 of file Dg_divide_generic.hpp.

17  {
18  return iterA(N1, N2, N3) / d;
19  }
Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA

Member Data Documentation

◆ d

template<class A , class T , class U , int Dim01, int Dim2, char i, char j, char k>
U FTensor::Dg_divide_generic< A, T, U, Dim01, Dim2, i, j, k >::d
private

Definition at line 12 of file Dg_divide_generic.hpp.

◆ iterA

template<class A , class T , class U , int Dim01, int Dim2, char i, char j, char k>
Dg_Expr<A, T, Dim01, Dim2, i, j, k> FTensor::Dg_divide_generic< A, T, U, Dim01, Dim2, i, j, k >::iterA
private

Definition at line 11 of file Dg_divide_generic.hpp.


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