MFEM  v3.4
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mfem::OffsetStridedLayout2D< N1, S1, N2, S2 > Struct Template Reference

#include <tlayout.hpp>

Public Member Functions

 OffsetStridedLayout2D ()
 
 OffsetStridedLayout2D (int offset_)
 
int ind (int i1, int i2) const
 
OffsetStridedLayout1D< N2, S2 > ind1 (int i1) const
 
OffsetStridedLayout1D< N1, S1 > ind2 (int i2) const
 
template<int M1, int M2>
OffsetStridedLayout2D< M1, S1,
M2, S2 > 
sub (int o1, int o2) const
 
template<int N1_1, int N1_2>
OffsetStridedLayout3D< N1_1,
S1, N1_2, S1 *N1_1, N2, S2 > 
split_1 () const
 
template<int N2_1, int N2_2>
OffsetStridedLayout3D< N1, S1,
N2_1, S2, N2_2, S2 *N2_1 > 
split_2 () const
 
template<int N1_1, int N1_2, int N2_1, int N2_2>
OffsetStridedLayout4D< N1_1,
S1, N1_2, S1 *N1_1, N2_1, S2,
N2_2, S2 *N2_1 > 
split_12 () const
 
OffsetStridedLayout1D< N1 *N2,(S1
< S2)?S1:S2 > 
merge_12 () const
 
OffsetStridedLayout2D< N2, S2,
N1, S1 > 
transpose_12 () const
 

Public Attributes

int offset
 

Static Public Attributes

static const int rank = 2
 
static const int dim_1 = N1
 
static const int dim_2 = N2
 
static const int size = N1*N2
 

Detailed Description

template<int N1, int S1, int N2, int S2>
struct mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >

Definition at line 58 of file tlayout.hpp.

Constructor & Destructor Documentation

template<int N1, int S1, int N2, int S2>
mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::OffsetStridedLayout2D ( )
inline

Definition at line 178 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::OffsetStridedLayout2D ( int  offset_)
inline

Definition at line 179 of file tlayout.hpp.

Member Function Documentation

template<int N1, int S1, int N2, int S2>
int mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::ind ( int  i1,
int  i2 
) const
inline

Definition at line 180 of file tlayout.hpp.

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

Definition at line 184 of file tlayout.hpp.

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

Definition at line 188 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
OffsetStridedLayout1D<N1*N2,(S1<S2)?S1:S2> mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::merge_12 ( ) const
inline

Definition at line 225 of file tlayout.hpp.

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

Definition at line 202 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
template<int N1_1, int N1_2, int N2_1, int N2_2>
OffsetStridedLayout4D<N1_1,S1,N1_2,S1*N1_1,N2_1,S2,N2_2,S2*N2_1> mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::split_12 ( ) const
inline

Definition at line 217 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
template<int N2_1, int N2_2>
OffsetStridedLayout3D<N1,S1,N2_1,S2,N2_2,S2*N2_1> mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::split_2 ( ) const
inline

Definition at line 209 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
template<int M1, int M2>
OffsetStridedLayout2D<M1,S1,M2,S2> mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::sub ( int  o1,
int  o2 
) const
inline

Definition at line 194 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
OffsetStridedLayout2D<N2,S2,N1,S1> mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::transpose_12 ( ) const
inline

Definition at line 233 of file tlayout.hpp.

Member Data Documentation

template<int N1, int S1, int N2, int S2>
const int mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::dim_1 = N1
static

Definition at line 172 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
const int mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::dim_2 = N2
static

Definition at line 173 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
int mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::offset

Definition at line 176 of file tlayout.hpp.

template<int N1, int S1, int N2, int S2>
const int mfem::OffsetStridedLayout2D< N1, S1, N2, S2 >::rank = 2
static

Definition at line 171 of file tlayout.hpp.

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

Definition at line 174 of file tlayout.hpp.


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