MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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

◆ VectorLayout() [1/2]

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.

◆ VectorLayout() [2/2]

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

◆ ind()

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.

◆ Matches()

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.

◆ NumComponents()

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

◆ num_components

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

Definition at line 521 of file tlayout.hpp.

◆ scalar_size

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

Definition at line 521 of file tlayout.hpp.

◆ vec_dim

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: