MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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

◆ result()

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

Definition at line 26 of file dtensor.hpp.


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