MFEM  v4.1.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Namespaces | Typedefs | Functions
dtensor.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::TensorInd< N, Dim, T, Args >
 A Class to compute the real index from the multi-indices of a tensor. More...
 
class  mfem::TensorInd< Dim, Dim, T, Args...>
 
class  mfem::Init< N, Dim, T, Args >
 A class to initialize the size of a Tensor. More...
 
class  mfem::Init< Dim, Dim, T, Args...>
 
class  mfem::DeviceTensor< Dim, Scalar >
 A basic generic Tensor class, appropriate for use on the GPU. More...
 

Namespaces

 mfem
 

Typedefs

typedef DeviceTensor< 1, int > mfem::DeviceArray
 
typedef DeviceTensor< 1, double > mfem::DeviceVector
 
typedef DeviceTensor< 2, double > mfem::DeviceMatrix
 

Functions

template<typename T , typename... Dims>
DeviceTensor< sizeof...(Dims), T > mfem::Reshape (T *ptr, Dims...dims)
 Wrap a pointer as a DeviceTensor with automatically deduced template parameters. More...