v0.6.10
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor1< T, Tensor_Dim > Class Template Reference

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

Public Member Functions

 Tensor1 (T d0, T d1)
 
 Tensor1 (T d0, T d1, T d2)
 
 Tensor1 (T d0, T d1, T d2, T d3)
 
 Tensor1 ()
 
T & operator() (const int N)
 
operator() (const int N) const
 
template<char i, int Dim>
Tensor1_Expr< Tensor1< T, Tensor_Dim >, T, Dim, i > operator() (const Index< i, Dim > &)
 
template<char i, int Dim>
Tensor1_Expr< const Tensor1< T, Tensor_Dim >, T, Dim, i > operator() (const Index< i, Dim > &) const
 

Private Attributes

data [Tensor_Dim]
 

Detailed Description

template<class T, int Tensor_Dim>
class FTensor::Tensor1< T, Tensor_Dim >

Examples:
analytical_nonlinear_poisson.cpp, analytical_poisson.cpp, analytical_poisson_field_split.cpp, MagneticElement.hpp, PoissonOperators.hpp, simple_elasticity.cpp, simple_interface.cpp, and UnsaturatedFlow.hpp.

Definition at line 46 of file FTensor.hpp.

Constructor & Destructor Documentation

◆ Tensor1() [1/4]

template<class T, int Tensor_Dim>
FTensor::Tensor1< T, Tensor_Dim >::Tensor1 ( d0,
d1 
)

Definition at line 13 of file FTensor.hpp.

42  {

◆ Tensor1() [2/4]

template<class T, int Tensor_Dim>
FTensor::Tensor1< T, Tensor_Dim >::Tensor1 ( d0,
d1,
d2 
)

Definition at line 17 of file FTensor.hpp.

42  {

◆ Tensor1() [3/4]

template<class T, int Tensor_Dim>
FTensor::Tensor1< T, Tensor_Dim >::Tensor1 ( d0,
d1,
d2,
d3 
)

Definition at line 21 of file FTensor.hpp.

42  {

◆ Tensor1() [4/4]

template<class T, int Tensor_Dim>
FTensor::Tensor1< T, Tensor_Dim >::Tensor1 ( )

Definition at line 26 of file FTensor.hpp.

42 {

Member Function Documentation

◆ operator()() [1/4]

template<class T, int Tensor_Dim>
T& FTensor::Tensor1< T, Tensor_Dim >::operator() ( const int  N)

Definition at line 31 of file FTensor.hpp.

35  ://bitbucket.org/wlandry/ftensor>.
36  * For more details look at reference \cite landry2003implementing.
37  * See link <http://www.wlandry.net/Presentations/FTensor.pdf>.
38  *
39  * Note this implementation is modified for proposes of MoFEM.
40 
41  */
42 namespace FTensor {
43 
Tensors class implemented by Walter Landry.
Definition: FTensor.hpp:42
implementation of Data Operators for Forces and Sources
Definition: Common.hpp:21

◆ operator()() [2/4]

template<class T, int Tensor_Dim>
T FTensor::Tensor1< T, Tensor_Dim >::operator() ( const int  N) const

Definition at line 44 of file FTensor.hpp.

◆ operator()() [3/4]

template<class T, int Tensor_Dim>
template<char i, int Dim>
Tensor1_Expr<Tensor1<T,Tensor_Dim>,T,Dim,i> FTensor::Tensor1< T, Tensor_Dim >::operator() ( const Index< i, Dim > &  )

Definition at line 65 of file FTensor.hpp.

◆ operator()() [4/4]

template<class T, int Tensor_Dim>
template<char i, int Dim>
Tensor1_Expr<const Tensor1<T,Tensor_Dim>,T,Dim,i> FTensor::Tensor1< T, Tensor_Dim >::operator() ( const Index< i, Dim > &  ) const

Definition at line 72 of file FTensor.hpp.

Member Data Documentation

◆ data

template<class T, int Tensor_Dim>
T FTensor::Tensor1< T, Tensor_Dim >::data[Tensor_Dim]
private

Definition at line 7 of file FTensor.hpp.


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