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

#include <tlayout.hpp>

Static Public Member Functions

static int ind (int i1, int i2, int i3)
 
static OffsetStridedLayout2D< N2, S2, N3, S3 > ind1 (int i1)
 
static OffsetStridedLayout2D< N1, S1, N3, S3 > ind2 (int i2)
 
static OffsetStridedLayout2D< N1, S1, N2, S2 > ind3 (int i3)
 
static StridedLayout2D< N1 *N2, S1, N3, S3 > merge_12 ()
 
static StridedLayout2D< N1, S1, N2 *N3, S2 > merge_23 ()
 
template<int N1_1, int N1_2>
static StridedLayout4D< N1_1, S1, N1_2, S1 *N1_1, N2, S2, N3, S3 > split_1 ()
 
template<int N2_1, int N2_2>
static StridedLayout4D< N1, S1, N2_1, S2, N2_2, S2 *N2_1, N3, S3 > split_2 ()
 
template<int N3_1, int N3_2>
static StridedLayout4D< N1, S1, N2, S2, N3_1, S3, N3_2, S3 *N3_1 > split_3 ()
 
static StridedLayout3D< N2, S2, N1, S1, N3, S3 > transpose_12 ()
 
static StridedLayout3D< N3, S3, N2, S2, N1, S1 > transpose_13 ()
 
static StridedLayout3D< N1, S1, N3, S3, N2, S2 > transpose_23 ()
 

Static Public Attributes

static const int rank = 3
 
static const int dim_1 = N1
 
static const int dim_2 = N2
 
static const int dim_3 = N3
 
static const int size = N1*N2*N3
 

Detailed Description

template<int N1, int S1, int N2, int S2, int N3, int S3>
struct mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >

Definition at line 95 of file tlayout.hpp.

Member Function Documentation

◆ ind()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static int mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind ( int  i1,
int  i2,
int  i3 
)
inlinestatic

Definition at line 249 of file tlayout.hpp.

◆ ind1()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static OffsetStridedLayout2D<N2,S2,N3,S3> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind1 ( int  i1)
inlinestatic

Definition at line 253 of file tlayout.hpp.

◆ ind2()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static OffsetStridedLayout2D<N1,S1,N3,S3> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind2 ( int  i2)
inlinestatic

Definition at line 257 of file tlayout.hpp.

◆ ind3()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static OffsetStridedLayout2D<N1,S1,N2,S2> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind3 ( int  i3)
inlinestatic

Definition at line 261 of file tlayout.hpp.

◆ merge_12()

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

Definition at line 268 of file tlayout.hpp.

◆ merge_23()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static StridedLayout2D<N1,S1,N2*N3,S2> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::merge_23 ( )
inlinestatic

Definition at line 279 of file tlayout.hpp.

◆ split_1()

template<int N1, int S1, int N2, int S2, int N3, int S3>
template<int N1_1, int N1_2>
static StridedLayout4D<N1_1,S1,N1_2,S1*N1_1,N2,S2,N3,S3> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::split_1 ( )
inlinestatic

Definition at line 288 of file tlayout.hpp.

◆ split_2()

template<int N1, int S1, int N2, int S2, int N3, int S3>
template<int N2_1, int N2_2>
static StridedLayout4D<N1,S1,N2_1,S2,N2_2,S2*N2_1,N3,S3> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::split_2 ( )
inlinestatic

Definition at line 295 of file tlayout.hpp.

◆ split_3()

template<int N1, int S1, int N2, int S2, int N3, int S3>
template<int N3_1, int N3_2>
static StridedLayout4D<N1,S1,N2,S2,N3_1,S3,N3_2,S3*N3_1> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::split_3 ( )
inlinestatic

Definition at line 302 of file tlayout.hpp.

◆ transpose_12()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static StridedLayout3D<N2,S2,N1,S1,N3,S3> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::transpose_12 ( )
inlinestatic

Definition at line 309 of file tlayout.hpp.

◆ transpose_13()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static StridedLayout3D<N3,S3,N2,S2,N1,S1> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::transpose_13 ( )
inlinestatic

Definition at line 313 of file tlayout.hpp.

◆ transpose_23()

template<int N1, int S1, int N2, int S2, int N3, int S3>
static StridedLayout3D<N1,S1,N3,S3,N2,S2> mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::transpose_23 ( )
inlinestatic

Definition at line 317 of file tlayout.hpp.

Member Data Documentation

◆ dim_1

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

Definition at line 244 of file tlayout.hpp.

◆ dim_2

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

Definition at line 245 of file tlayout.hpp.

◆ dim_3

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

Definition at line 246 of file tlayout.hpp.

◆ rank

template<int N1, int S1, int N2, int S2, int N3, int S3>
const int mfem::StridedLayout3D< N1, S1, N2, S2, N3, S3 >::rank = 3
static

Definition at line 243 of file tlayout.hpp.

◆ size

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

Definition at line 247 of file tlayout.hpp.


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