v0.8.13
Public Member Functions | List of all members
FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor2/Tensor2_pointer.hpp>

Inheritance diagram for FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 >:
[legend]
Collaboration diagram for FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 >:
[legend]

Public Member Functions

template<class... U>
 Tensor2 (U *... d)
 
 Tensor2 ()
 
const Tensor2operator++ () const
 
- Public Member Functions inherited from FTensor::Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >
 Tensor2 (T *d00, T *d01, T *d10, T *d11, const int i=1)
 
 Tensor2 (T *d00, T *d01, T *d10, T *d11, T *d20, T *d21, const int i=1)
 
 Tensor2 (T *d00, T *d01, T *d02, T *d10, T *d11, T *d12, T *d20, T *d21, T *d22, const int i=1)
 
 Tensor2 (T *d00, T *d01, T *d02, T *d03, T *d10, T *d11, T *d12, T *d13, T *d20, T *d21, T *d22, T *d23, T *d30, T *d31, T *d32, T *d33, const int i=1)
 
template<class... U>
 Tensor2 (U *... d)
 
 Tensor2 ()
 
 Tensor2 (const int i=1)
 
Toperator() (const int N1, const int N2)
 
T operator() (const int N1, const int N2) const
 
Tptr (const int N1, const int N2) const
 
template<char i, char j, int Dim0, int Dim1>
Tensor2_Expr< Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >, T, Dim0, Dim1, i, j > operator() (const Index< i, Dim0 >, const Index< j, Dim1 > index2)
 
template<char i, char j, int Dim0, int Dim1>
Tensor2_Expr< const Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >, T, Dim0, Dim1, i, j > operator() (const Index< i, Dim0 >, const Index< j, Dim1 > index2) const
 
template<char i, int Dim, int N>
Tensor1_Expr< Tensor2_number_rhs_1< Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >, T, N >, T, Dim, i > operator() (const Index< i, Dim >, const Number< N >)
 
template<char i, int Dim, int N>
Tensor1_Expr< Tensor2_number_rhs_0< Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >, T, N >, T, Dim, i > operator() (const Number< N >, const Index< i, Dim >)
 
template<char i, int Dim, int N>
Tensor1_Expr< const Tensor2_number_1< const Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >, T, N >, T, Dim, i > operator() (const Index< i, Dim >, const Number< N >) const
 
template<char i, int Dim, int N>
Tensor1_Expr< const Tensor2_number_0< const Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >, T, N >, T, Dim, i > operator() (const Number< N >, const Index< i, Dim >) const
 
const Tensor2operator++ () const
 
template<char i, int Dim>
T operator() (const Index< i, Dim >, const Index< i, Dim > index2)
 
template<char i, int Dim>
T operator() (const Index< i, Dim >, const Index< i, Dim > index2) const
 

Additional Inherited Members

- Protected Attributes inherited from FTensor::Tensor2< T *, Tensor_Dim0, Tensor_Dim1 >
const int inc
 
T *restrict data [Tensor_Dim0][Tensor_Dim1]
 

Detailed Description

template<class T, int Tensor_Dim0, int Tensor_Dim1, int I>
class FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 >

Definition at line 211 of file Tensor2_pointer.hpp.

Constructor & Destructor Documentation

◆ Tensor2() [1/2]

template<class T , int Tensor_Dim0, int Tensor_Dim1, int I>
template<class... U>
FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 >::Tensor2 ( U *...  d)

Definition at line 219 of file Tensor2_pointer.hpp.

219 : Tensor2<T *, Tensor_Dim0, Tensor_Dim1>(d...) {}
const Tensor1_Expr< const dTensor0< T, Dim, i >, typename promote< T, double >::V, Dim, i > d(const Tensor0< T *> &a, const Index< i, Dim > index, const Tensor1< int, Dim > &d_ijk, const Tensor1< double, Dim > &d_xyz)
Definition: dTensor0.hpp:27

◆ Tensor2() [2/2]

template<class T , int Tensor_Dim0, int Tensor_Dim1, int I>
FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 >::Tensor2 ( )

Definition at line 221 of file Tensor2_pointer.hpp.

221 : Tensor2<T, Tensor_Dim0, Tensor_Dim1>() {}

Member Function Documentation

◆ operator++()

template<class T , int Tensor_Dim0, int Tensor_Dim1, int I>
const Tensor2& FTensor::Tensor2< PackPtr< T *, I >, Tensor_Dim0, Tensor_Dim1 >::operator++ ( ) const

Definition at line 226 of file Tensor2_pointer.hpp.

227  {
228  for(int i = 0; i < Tensor_Dim0; ++i)
229  for(int j = 0; j < Tensor_Dim1; ++j)
231  return *this;
232  }
T *restrict data[Tensor_Dim0][Tensor_Dim1]

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