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

#include <tlayout.hpp>

Public Member Functions

 ScalarLayout ()
 
 ScalarLayout (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 = 1
 

Detailed Description

Definition at line 563 of file tlayout.hpp.

Constructor & Destructor Documentation

◆ ScalarLayout() [1/2]

mfem::ScalarLayout::ScalarLayout ( )
inline

Definition at line 568 of file tlayout.hpp.

◆ ScalarLayout() [2/2]

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

Definition at line 570 of file tlayout.hpp.

Member Function Documentation

◆ ind()

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

Definition at line 577 of file tlayout.hpp.

◆ Matches()

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

Definition at line 579 of file tlayout.hpp.

◆ NumComponents()

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

Definition at line 575 of file tlayout.hpp.

Member Data Documentation

◆ vec_dim

const int mfem::ScalarLayout::vec_dim = 1
static

Definition at line 566 of file tlayout.hpp.


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