MFEM  v4.5.2
Finite element discretization library
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mfem::OffsetStridedLayout1D< N1, S1 > Struct Template Reference

#include <tlayout.hpp>

Public Member Functions

 OffsetStridedLayout1D ()
 
 OffsetStridedLayout1D (int offset_)
 
MFEM_HOST_DEVICE int ind (int i1) const
 
template<int M1>
OffsetStridedLayout1D< M1, S1 > sub (int o1) const
 
template<int N1_1, int N1_2>
OffsetStridedLayout2D< N1_1, S1, N1_2, S1 *N1_1 > split_1 () const
 

Public Attributes

int offset
 

Static Public Attributes

static const int rank = 1
 
static const int dim_1 = N1
 
static const int size = N1
 

Detailed Description

template<int N1, int S1>
struct mfem::OffsetStridedLayout1D< N1, S1 >

Definition at line 25 of file tlayout.hpp.

Constructor & Destructor Documentation

◆ OffsetStridedLayout1D() [1/2]

template<int N1, int S1>
mfem::OffsetStridedLayout1D< N1, S1 >::OffsetStridedLayout1D ( )
inline

Definition at line 70 of file tlayout.hpp.

◆ OffsetStridedLayout1D() [2/2]

template<int N1, int S1>
mfem::OffsetStridedLayout1D< N1, S1 >::OffsetStridedLayout1D ( int  offset_)
inline

Definition at line 71 of file tlayout.hpp.

Member Function Documentation

◆ ind()

template<int N1, int S1>
MFEM_HOST_DEVICE int mfem::OffsetStridedLayout1D< N1, S1 >::ind ( int  i1) const
inline

Definition at line 72 of file tlayout.hpp.

◆ split_1()

template<int N1, int S1>
template<int N1_1, int N1_2>
OffsetStridedLayout2D<N1_1,S1,N1_2,S1*N1_1> mfem::OffsetStridedLayout1D< N1, S1 >::split_1 ( ) const
inline

Definition at line 86 of file tlayout.hpp.

◆ sub()

template<int N1, int S1>
template<int M1>
OffsetStridedLayout1D<M1,S1> mfem::OffsetStridedLayout1D< N1, S1 >::sub ( int  o1) const
inline

Definition at line 78 of file tlayout.hpp.

Member Data Documentation

◆ dim_1

template<int N1, int S1>
const int mfem::OffsetStridedLayout1D< N1, S1 >::dim_1 = N1
static

Definition at line 65 of file tlayout.hpp.

◆ offset

template<int N1, int S1>
int mfem::OffsetStridedLayout1D< N1, S1 >::offset

Definition at line 68 of file tlayout.hpp.

◆ rank

template<int N1, int S1>
const int mfem::OffsetStridedLayout1D< N1, S1 >::rank = 1
static

Definition at line 64 of file tlayout.hpp.

◆ size

template<int N1, int S1>
const int mfem::OffsetStridedLayout1D< N1, S1 >::size = N1
static

Definition at line 66 of file tlayout.hpp.


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