MFEM v4.9.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::future::tensor< T > Struct Template Reference

#include <tensor.hpp>

Collaboration diagram for mfem::future::tensor< T >:
[legend]

Public Types

using type = T
 

Public Member Functions

MFEM_HOST_DEVICE T & operator[] (int)
 
MFEM_HOST_DEVICE const T & operator[] (int) const
 
MFEM_HOST_DEVICE T & operator() (int)
 
MFEM_HOST_DEVICE const T & operator() (int) const
 
MFEM_HOST_DEVICE operator T () const
 

Public Attributes

values
 

Static Public Attributes

static constexpr int ndim = 1
 
static constexpr int first_dim = 0
 

Detailed Description

template<typename T>
struct mfem::future::tensor< T >

The implementation can be drastically generalized by using concepts of the c++17 standard.

Definition at line 37 of file tensor.hpp.

Member Typedef Documentation

◆ type

template<typename T >
using mfem::future::tensor< T >::type = T

Definition at line 39 of file tensor.hpp.

Member Function Documentation

◆ operator T()

template<typename T >
MFEM_HOST_DEVICE mfem::future::tensor< T >::operator T ( ) const
inline

Definition at line 46 of file tensor.hpp.

◆ operator()() [1/2]

template<typename T >
MFEM_HOST_DEVICE T & mfem::future::tensor< T >::operator() ( int )
inline

Definition at line 44 of file tensor.hpp.

◆ operator()() [2/2]

template<typename T >
MFEM_HOST_DEVICE const T & mfem::future::tensor< T >::operator() ( int ) const
inline

Definition at line 45 of file tensor.hpp.

◆ operator[]() [1/2]

template<typename T >
MFEM_HOST_DEVICE T & mfem::future::tensor< T >::operator[] ( int )
inline

Definition at line 42 of file tensor.hpp.

◆ operator[]() [2/2]

template<typename T >
MFEM_HOST_DEVICE const T & mfem::future::tensor< T >::operator[] ( int ) const
inline

Definition at line 43 of file tensor.hpp.

Member Data Documentation

◆ first_dim

template<typename T >
int mfem::future::tensor< T >::first_dim = 0
staticconstexpr

Definition at line 41 of file tensor.hpp.

◆ ndim

template<typename T >
int mfem::future::tensor< T >::ndim = 1
staticconstexpr

Definition at line 40 of file tensor.hpp.

◆ values

template<typename T >
T mfem::future::tensor< T >::values

Definition at line 47 of file tensor.hpp.


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