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

#include <tensor.hpp>

Collaboration diagram for mfem::future::tensor< T, 0 >:
[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
 

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, 0 >

Definition at line 64 of file tensor.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 66 of file tensor.hpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 71 of file tensor.hpp.

◆ operator()() [2/2]

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

Definition at line 72 of file tensor.hpp.

◆ operator[]() [1/2]

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

Definition at line 69 of file tensor.hpp.

◆ operator[]() [2/2]

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

Definition at line 70 of file tensor.hpp.

Member Data Documentation

◆ first_dim

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

Definition at line 68 of file tensor.hpp.

◆ ndim

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

Definition at line 67 of file tensor.hpp.

◆ values

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

Definition at line 73 of file tensor.hpp.


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