MFEM  v3.4
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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 26 of file fespace.hpp.

Member Enumeration Documentation

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 30 of file fespace.hpp.

Member Function Documentation

template<Type Ord>
static void mfem::Ordering::DofsToVDofs ( int  ndofs,
int  vdim,
Array< int > &  dofs 
)
static
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: