v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim > Class Template Reference

#include "src/ftensor/src/FTensor/Tensor1/Tensor1_pointer.hpp"

Inheritance diagram for FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >:
[legend]
Collaboration diagram for FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >:
[legend]

Public Member Functions

template<class... U>
 Tensor1 (U *... d)
 
template<class U >
 Tensor1 (std::array< U *, Tensor_Dim > &a)
 
 Tensor1 ()
 
const Tensor1 & operator++ () const
 
- Public Member Functions inherited from FTensor::Tensor1< T *, Tensor_Dim >
 Tensor1 (T *d0, const int i=1)
 
 Tensor1 (T *d0, T *d1, const int i=1)
 
 Tensor1 (T *d0, T *d1, T *d2, const int i=1)
 
 Tensor1 (T *d0, T *d1, T *d2, T *d3, const int i=1)
 
 Tensor1 (T *d0, T *d1, T *d2, T *d3, T *d4, T *d5, const int i=1)
 
 Tensor1 (T *d0, T *d1, T *d2, T *d3, T *d4, T *d5, T *d6, T *d7, const int i=1)
 
 Tensor1 (T *d0, T *d1, T *d2, T *d3, T *d4, T *d5, T *d6, T *d7, T *d8, const int i=1)
 
template<class... U>
 Tensor1 (U *... d)
 
template<class U >
 Tensor1 (std::array< U *, Tensor_Dim > &a, const int i=1)
 
 Tensor1 (const int i=1)
 
Tensor1< T, Tensor_Dim > normalize ()
 
T l2 () const
 
template<int Current_Dim>
T l2_squared (const Number< Current_Dim > &) const
 
T l2_squared (const Number< 1 > &) const
 
T & operator() (const int N)
 
T operator() (const int N) const
 
T * ptr (const int N) const
 
T *& ptr (const int N)
 
template<char i, int Dim>
Tensor1_Expr< Tensor1< T *, Tensor_Dim >, T, Dim, i > operator() (const Index< i, Dim > &index)
 
template<char i, int Dim>
Tensor1_Expr< const Tensor1< T *, Tensor_Dim >, T, Dim, i > operator() (const Index< i, Dim > &index) const
 
const Tensor1 & operator++ () const
 

Additional Inherited Members

- Protected Attributes inherited from FTensor::Tensor1< T *, Tensor_Dim >
const int inc
 
T *restrict data [Tensor_Dim]
 

Detailed Description

template<class T, int Tensor_Dim, int I>
class FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >

Definition at line 175 of file Tensor1_pointer.hpp.

Constructor & Destructor Documentation

◆ Tensor1() [1/3]

template<class T , int Tensor_Dim, int I>
template<class... U>
FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >::Tensor1 ( U *...  d)
inline

Definition at line 180 of file Tensor1_pointer.hpp.

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

◆ Tensor1() [2/3]

template<class T , int Tensor_Dim, int I>
template<class U >
FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >::Tensor1 ( std::array< U *, Tensor_Dim > &  a)
inline

Definition at line 183 of file Tensor1_pointer.hpp.

constexpr double a

◆ Tensor1() [3/3]

template<class T , int Tensor_Dim, int I>
FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >::Tensor1 ( )
inline

Definition at line 185 of file Tensor1_pointer.hpp.

Member Function Documentation

◆ operator++()

template<class T , int Tensor_Dim, int I>
const Tensor1 & FTensor::Tensor1< PackPtr< T *, I >, Tensor_Dim >::operator++ ( ) const
inline

Definition at line 190 of file Tensor1_pointer.hpp.

191 {
192 for(int i = 0; i < Tensor_Dim; ++i)
194 return *this;
195 }
FTensor::Index< 'i', SPACE_DIM > i
constexpr IntegrationType I

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