MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
mfem::Ordering Class Reference

The ordering method used when the number of unknowns per mesh node (vector dimension) is bigger than 1. More...

#include <fespace.hpp>

Public Types

enum  Type { byNODES , byVDIM }
 Ordering methods: More...
 

Static Public Member Functions

template<Type Ord>
static int Map (int ndofs, int vdim, int dof, int vd)
 
template<Type Ord>
static void DofsToVDofs (int ndofs, int vdim, Array< int > &dofs)
 

Detailed Description

The ordering method used when the number of unknowns per mesh node (vector dimension) is bigger than 1.

Definition at line 29 of file fespace.hpp.

Member Enumeration Documentation

◆ Type

Ordering methods:

Enumerator
byNODES 

loop first over the nodes (inner loop) then over the vector dimension (outer loop); symbolically it can be represented as: XXX...,YYY...,ZZZ...

byVDIM 

loop first over the vector dimension (inner loop) then over the nodes (outer loop); symbolically it can be represented as: XYZ,XYZ,XYZ,...

Definition at line 33 of file fespace.hpp.

Member Function Documentation

◆ DofsToVDofs()

template<Type Ord>
static void mfem::Ordering::DofsToVDofs ( int  ndofs,
int  vdim,
Array< int > &  dofs 
)
static

◆ Map()

template<Type Ord>
static int mfem::Ordering::Map ( int  ndofs,
int  vdim,
int  dof,
int  vd 
)
inlinestatic

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