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

#include <tensor.hpp>

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

Public Types

using type = T
 

Public Member Functions

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

Public Attributes

values [n0]
 

Static Public Attributes

static constexpr int ndim = 1
 
static constexpr int first_dim = n0
 

Detailed Description

template<typename T, int n0>
struct mfem::future::tensor< T, n0 >

Definition at line 51 of file tensor.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 53 of file tensor.hpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 58 of file tensor.hpp.

◆ operator()() [2/2]

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

Definition at line 59 of file tensor.hpp.

◆ operator[]() [1/2]

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

Definition at line 56 of file tensor.hpp.

◆ operator[]() [2/2]

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

Definition at line 57 of file tensor.hpp.

Member Data Documentation

◆ first_dim

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

Definition at line 55 of file tensor.hpp.

◆ ndim

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

Definition at line 54 of file tensor.hpp.

◆ values

template<typename T , int n0>
T mfem::future::tensor< T, n0 >::values[n0]

Definition at line 60 of file tensor.hpp.


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