MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Static Public Member Functions | List of all members
mfem::TensorInd< N, Dim, T, Args > Class Template Reference

A Class to compute the real index from the multi-indices of a tensor. More...

#include <dtensor.hpp>

Static Public Member Functions

static MFEM_HOST_DEVICE int result (const int *sizes, T first, Args...args)
 

Detailed Description

template<int N, int Dim, typename T, typename... Args>
class mfem::TensorInd< N, Dim, T, Args >

A Class to compute the real index from the multi-indices of a tensor.

Definition at line 22 of file dtensor.hpp.

Member Function Documentation

template<int N, int Dim, typename T , typename... Args>
static MFEM_HOST_DEVICE int mfem::TensorInd< N, Dim, T, Args >::result ( const int *  sizes,
first,
Args...  args 
)
inlinestatic

Definition at line 26 of file dtensor.hpp.


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