MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::DynamicVectorLayout Class Reference

#include <tlayout.hpp>

Public Member Functions

 DynamicVectorLayout (Ordering::Type ordering, int scalar_size, int num_comp)
 
 DynamicVectorLayout (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 = 0
 

Protected Member Functions

void Init (Ordering::Type ordering, int scalar_size, int num_comp)
 

Protected Attributes

int scal_stride
 
int comp_stride
 
int num_components
 

Detailed Description

Definition at line 464 of file tlayout.hpp.

Constructor & Destructor Documentation

◆ DynamicVectorLayout() [1/2]

mfem::DynamicVectorLayout::DynamicVectorLayout ( Ordering::Type ordering,
int scalar_size,
int num_comp )
inline

Definition at line 489 of file tlayout.hpp.

◆ DynamicVectorLayout() [2/2]

mfem::DynamicVectorLayout::DynamicVectorLayout ( const FiniteElementSpace & fes)
inline

Definition at line 493 of file tlayout.hpp.

Member Function Documentation

◆ ind()

int mfem::DynamicVectorLayout::ind ( int scalar_idx,
int comp_idx ) const
inline

Definition at line 501 of file tlayout.hpp.

◆ Init()

void mfem::DynamicVectorLayout::Init ( Ordering::Type ordering,
int scalar_size,
int num_comp )
inlineprotected

Definition at line 473 of file tlayout.hpp.

◆ Matches()

static bool mfem::DynamicVectorLayout::Matches ( const FiniteElementSpace & fes)
inlinestatic

Definition at line 506 of file tlayout.hpp.

◆ NumComponents()

int mfem::DynamicVectorLayout::NumComponents ( ) const
inline

Definition at line 499 of file tlayout.hpp.

Member Data Documentation

◆ comp_stride

int mfem::DynamicVectorLayout::comp_stride
protected

Definition at line 470 of file tlayout.hpp.

◆ num_components

int mfem::DynamicVectorLayout::num_components
protected

Definition at line 471 of file tlayout.hpp.

◆ scal_stride

int mfem::DynamicVectorLayout::scal_stride
protected

Definition at line 470 of file tlayout.hpp.

◆ vec_dim

const int mfem::DynamicVectorLayout::vec_dim = 0
static

Definition at line 467 of file tlayout.hpp.


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