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

#include <tlayout.hpp>

Public Member Functions

 OffsetStridedLayout3D ()
 
 OffsetStridedLayout3D (int offset_)
 
int ind (int i1, int i2, int i3) const
 
OffsetStridedLayout2D< N2, S2, N3, S3 > ind1 (int i1) const
 
OffsetStridedLayout2D< N1, S1, N3, S3 > ind2 (int i2) const
 
OffsetStridedLayout2D< N1, S1, N2, S2 > ind3 (int i3) const
 
OffsetStridedLayout2D< N1 *N2, S1, N3, S3 > merge_12 () const
 
OffsetStridedLayout2D< N1, S1, N2 *N3, S2 > merge_23 () const
 
template<int N1_1, int N1_2>
OffsetStridedLayout4D< N1_1, S1, N1_2, S1 *N1_1, N2, S2, N3, S3 > split_1 () const
 
template<int N2_1, int N2_2>
OffsetStridedLayout4D< N1, S1, N2_1, S2, N2_2, S2 *N2_1, N3, S3 > split_2 () const
 

Public Attributes

int offset
 

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

Definition at line 324 of file tlayout.hpp.

Constructor & Destructor Documentation

◆ OffsetStridedLayout3D() [1/2]

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

Definition at line 334 of file tlayout.hpp.

◆ OffsetStridedLayout3D() [2/2]

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

Definition at line 335 of file tlayout.hpp.

Member Function Documentation

◆ ind()

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

Definition at line 336 of file tlayout.hpp.

◆ ind1()

template<int N1, int S1, int N2, int S2, int N3, int S3>
OffsetStridedLayout2D< N2, S2, N3, S3 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind1 ( int i1) const
inline

Definition at line 340 of file tlayout.hpp.

◆ ind2()

template<int N1, int S1, int N2, int S2, int N3, int S3>
OffsetStridedLayout2D< N1, S1, N3, S3 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind2 ( int i2) const
inline

Definition at line 344 of file tlayout.hpp.

◆ ind3()

template<int N1, int S1, int N2, int S2, int N3, int S3>
OffsetStridedLayout2D< N1, S1, N2, S2 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::ind3 ( int i3) const
inline

Definition at line 348 of file tlayout.hpp.

◆ merge_12()

template<int N1, int S1, int N2, int S2, int N3, int S3>
OffsetStridedLayout2D< N1 *N2, S1, N3, S3 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::merge_12 ( ) const
inline

Definition at line 355 of file tlayout.hpp.

◆ merge_23()

template<int N1, int S1, int N2, int S2, int N3, int S3>
OffsetStridedLayout2D< N1, S1, N2 *N3, S2 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::merge_23 ( ) const
inline

Definition at line 362 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>
OffsetStridedLayout4D< N1_1, S1, N1_2, S1 *N1_1, N2, S2, N3, S3 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::split_1 ( ) const
inline

Definition at line 371 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>
OffsetStridedLayout4D< N1, S1, N2_1, S2, N2_2, S2 *N2_1, N3, S3 > mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::split_2 ( ) const
inline

Definition at line 378 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::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::dim_1 = N1
static

Definition at line 327 of file tlayout.hpp.

◆ dim_2

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

Definition at line 328 of file tlayout.hpp.

◆ dim_3

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

Definition at line 329 of file tlayout.hpp.

◆ offset

template<int N1, int S1, int N2, int S2, int N3, int S3>
int mfem::OffsetStridedLayout3D< N1, S1, N2, S2, N3, S3 >::offset

Definition at line 332 of file tlayout.hpp.

◆ rank

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

Definition at line 326 of file tlayout.hpp.

◆ size

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

Definition at line 330 of file tlayout.hpp.


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