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

#include <tlayout.hpp>

Static Public Member Functions

static int ind (int i1, int i2, int i3, int i4)
 
static OffsetStridedLayout2D< N1, S1, N4, S4 > ind23 (int i2, int i3)
 
static OffsetStridedLayout2D< N2, S2, N3, S3 > ind14 (int i1, int i4)
 
static OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 > ind4 (int i4)
 
static StridedLayout3D< N1 *N2, S1, N3, S3, N4, S4 > merge_12 ()
 
static StridedLayout3D< N1, S1, N2, S2, N3 *N4, S3 > merge_34 ()
 

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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >

Definition at line 387 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>
static int mfem::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::ind ( int i1,
int i2,
int i3,
int i4 )
inlinestatic

Definition at line 396 of file tlayout.hpp.

◆ ind14()

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
static OffsetStridedLayout2D< N2, S2, N3, S3 > mfem::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::ind14 ( int i1,
int i4 )
inlinestatic

Definition at line 404 of file tlayout.hpp.

◆ ind23()

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
static OffsetStridedLayout2D< N1, S1, N4, S4 > mfem::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::ind23 ( int i2,
int i3 )
inlinestatic

Definition at line 400 of file tlayout.hpp.

◆ ind4()

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
static OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 > mfem::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::ind4 ( int i4)
inlinestatic

Definition at line 408 of file tlayout.hpp.

◆ merge_12()

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
static StridedLayout3D< N1 *N2, S1, N3, S3, N4, S4 > mfem::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::merge_12 ( )
inlinestatic

Definition at line 413 of file tlayout.hpp.

◆ merge_34()

template<int N1, int S1, int N2, int S2, int N3, int S3, int N4, int S4>
static StridedLayout3D< N1, S1, N2, S2, N3 *N4, S3 > mfem::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::merge_34 ( )
inlinestatic

Definition at line 420 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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_1 = N1
static

Definition at line 390 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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_2 = N2
static

Definition at line 391 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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_3 = N3
static

Definition at line 392 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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::dim_4 = N4
static

Definition at line 393 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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::rank = 4
static

Definition at line 389 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::StridedLayout4D< N1, S1, N2, S2, N3, S3, N4, S4 >::size = N1*N2*N3*N4
static

Definition at line 394 of file tlayout.hpp.


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