MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
mfem::VectorLayout< Ord, NumComp > Class Template Reference

#include <tlayout.hpp>

Public Member Functions

 VectorLayout (int scalar_size_, int num_comp_=NumComp)
 
 VectorLayout (const FiniteElementSpace &fes)
 
int NumComponents () const
 
int ind (int scalar_idx, int comp_idx) const
 

Static Public Member Functions

static bool Matches (const FiniteElementSpace &fes)
 

Static Public Attributes

static const int vec_dim = NumComp
 

Protected Attributes

int num_components
 
int scalar_size
 

Detailed Description

template<Ordering::Type Ord, int NumComp = 0>
class mfem::VectorLayout< Ord, NumComp >

Definition at line 515 of file tlayout.hpp.

Constructor & Destructor Documentation

template<Ordering::Type Ord, int NumComp = 0>
mfem::VectorLayout< Ord, NumComp >::VectorLayout ( int  scalar_size_,
int  num_comp_ = NumComp 
)
inline

Definition at line 524 of file tlayout.hpp.

template<Ordering::Type Ord, int NumComp = 0>
mfem::VectorLayout< Ord, NumComp >::VectorLayout ( const FiniteElementSpace fes)
inline

Definition at line 532 of file tlayout.hpp.

Member Function Documentation

template<Ordering::Type Ord, int NumComp = 0>
int mfem::VectorLayout< Ord, NumComp >::ind ( int  scalar_idx,
int  comp_idx 
) const
inline

Definition at line 544 of file tlayout.hpp.

template<Ordering::Type Ord, int NumComp = 0>
static bool mfem::VectorLayout< Ord, NumComp >::Matches ( const FiniteElementSpace fes)
inlinestatic

Definition at line 556 of file tlayout.hpp.

template<Ordering::Type Ord, int NumComp = 0>
int mfem::VectorLayout< Ord, NumComp >::NumComponents ( ) const
inline

Definition at line 542 of file tlayout.hpp.

Member Data Documentation

template<Ordering::Type Ord, int NumComp = 0>
int mfem::VectorLayout< Ord, NumComp >::num_components
protected

Definition at line 521 of file tlayout.hpp.

template<Ordering::Type Ord, int NumComp = 0>
int mfem::VectorLayout< Ord, NumComp >::scalar_size
protected

Definition at line 521 of file tlayout.hpp.

template<Ordering::Type Ord, int NumComp = 0>
const int mfem::VectorLayout< Ord, NumComp >::vec_dim = NumComp
static

Definition at line 518 of file tlayout.hpp.


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