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

#include <src/ftensor/src/FTensor/Riemann/Riemann_plus_Riemann.hpp>

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

Private Attributes

Riemann_Expr< A, T, Dim, i, j, k, literA
 
Riemann_Expr< B, U, Dim, i, j, k, literB
 

Detailed Description

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

Definition at line 10 of file Riemann_plus_Riemann.hpp.

Constructor & Destructor Documentation

◆ Riemann_plus_Riemann()

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

Definition at line 22 of file Riemann_plus_Riemann.hpp.

24  : iterA(a), iterB(b)
25  {}

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::Riemann_plus_Riemann< 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 17 of file Riemann_plus_Riemann.hpp.

18  {
19  return iterA(N1, N2, N3, N4) + iterB(N1, N2, N3, N4);
20  }

Member Data Documentation

◆ iterA

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

Definition at line 12 of file Riemann_plus_Riemann.hpp.

◆ iterB

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

Definition at line 13 of file Riemann_plus_Riemann.hpp.


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