MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 > Struct Template Reference

#include <tlayout.hpp>

Public Member Functions

 OffsetStridedLayout4D ()
 
 OffsetStridedLayout4D (int offset_)
 
int ind (int i1, int i2, int i3, int i4) const
 

Public Attributes

int offset
 

Static Public Attributes

static const int rank = 4
 
static const int dim_1 = N1
 
static const int dim_2 = N2
 
static const int dim_3 = N3
 
static const int dim_4 = N4
 
static const int size = N1*N2*N3*N4
 

Detailed Description

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
struct mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >

Definition at line 430 of file tlayout.hpp.

Constructor & Destructor Documentation

◆ OffsetStridedLayout4D() [1/2]

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::OffsetStridedLayout4D ( )
inline

Definition at line 441 of file tlayout.hpp.

◆ OffsetStridedLayout4D() [2/2]

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::OffsetStridedLayout4D ( int offset_)
inline

Definition at line 442 of file tlayout.hpp.

Member Function Documentation

◆ ind()

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::ind ( int i1,
int i2,
int i3,
int i4 ) const
inline

Definition at line 443 of file tlayout.hpp.

Member Data Documentation

◆ dim_1

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
const int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_1 = N1
static

Definition at line 433 of file tlayout.hpp.

◆ dim_2

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
const int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_2 = N2
static

Definition at line 434 of file tlayout.hpp.

◆ dim_3

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
const int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_3 = N3
static

Definition at line 435 of file tlayout.hpp.

◆ dim_4

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
const int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_4 = N4
static

Definition at line 436 of file tlayout.hpp.

◆ offset

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::offset

Definition at line 439 of file tlayout.hpp.

◆ rank

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
const int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::rank = 4
static

Definition at line 432 of file tlayout.hpp.

◆ size

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
const int mfem::OffsetStridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::size = N1*N2*N3*N4
static

Definition at line 437 of file tlayout.hpp.


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