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

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

Collaboration diagram for FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k >:
[legend]

Public Member Functions

operator() (const int N1, const int N2, const int N3) const
 
 minus_Dg (const Dg_Expr< A, T, Dim01, Dim2, i, j, k > &a)
 

Private Attributes

Dg_Expr< A, T, Dim01, Dim2, i, j, kiterA
 

Detailed Description

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

Definition at line 8 of file minus_Dg.hpp.

Constructor & Destructor Documentation

◆ minus_Dg()

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

Definition at line 18 of file minus_Dg.hpp.

18 : iterA(a) {}

Member Function Documentation

◆ operator()()

template<class A , class T , int Dim01, int Dim2, char i, char j, char k>
T FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k >::operator() ( const int  N1,
const int  N2,
const int  N3 
) const
inline

Definition at line 13 of file minus_Dg.hpp.

14  {
15  return -iterA(N1, N2, N3);
16  }

Member Data Documentation

◆ iterA

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

Definition at line 10 of file minus_Dg.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::minus_Dg::iterA
Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA
Definition: minus_Dg.hpp:10