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

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

Collaboration diagram for FTensor::Riemann_times_Tensor2_symmetric_0< A, B, T, U, Dim, i, j, k, l >:
[legend]

Public Member Functions

 Riemann_times_Tensor2_symmetric_0 (const Riemann_Expr< A, T, Dim, i, j, k, l > &a, const Tensor2_symmetric_Expr< B, U, Dim, i, k > &b)
 
promote< T, U >::V operator() (const int N1, const int N2) const
 

Private Attributes

Riemann_Expr< A, T, Dim, i, j, k, l > iterA
 
Tensor2_symmetric_Expr< B, U, Dim, i, k > iterB
 

Detailed Description

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

Definition at line 13 of file Riemann_times_Tensor2_symmetric.hpp.

Constructor & Destructor Documentation

◆ Riemann_times_Tensor2_symmetric_0()

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

Definition at line 19 of file Riemann_times_Tensor2_symmetric.hpp.

22  : iterA(a), iterB(b)
23  {}
Tensor2_symmetric_Expr< B, U, Dim, i, k > iterB

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_times_Tensor2_symmetric_0< A, B, T, U, Dim, i, j, k, l >::operator() ( const int  N1,
const int  N2 
) const

Definition at line 24 of file Riemann_times_Tensor2_symmetric.hpp.

25  {
26  return iterA(0, N1, 0, N2) * iterB(0, 0)
27  + iterA(0, N1, 1, N2) * iterB(0, 1)
28  + iterA(0, N1, 2, N2) * iterB(0, 2)
29  + iterA(1, N1, 0, N2) * iterB(1, 0)
30  + iterA(1, N1, 1, N2) * iterB(1, 1)
31  + iterA(1, N1, 2, N2) * iterB(1, 2)
32  + iterA(2, N1, 0, N2) * iterB(2, 0)
33  + iterA(2, N1, 1, N2) * iterB(2, 1)
34  + iterA(2, N1, 2, N2) * iterB(2, 2);
35  }
Tensor2_symmetric_Expr< B, U, Dim, i, k > iterB

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_times_Tensor2_symmetric_0< A, B, T, U, Dim, i, j, k, l >::iterA
private

Definition at line 15 of file Riemann_times_Tensor2_symmetric.hpp.

◆ iterB

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

Definition at line 16 of file Riemann_times_Tensor2_symmetric.hpp.


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