27 static inline int Map(
int ndofs,
int vdim,
int dof,
int vd);
38Ordering::Map<Ordering::byNODES>(
int ndofs,
int vdim,
int dof,
int vd)
40 MFEM_ASSERT(dof < ndofs && -1-dof < ndofs && 0 <= vd && vd < vdim,
"");
41 return (dof >= 0) ? dof+ndofs*vd : dof-ndofs*vd;
45Ordering::Map<Ordering::byVDIM>(
int ndofs,
int vdim,
int dof,
int vd)
47 MFEM_ASSERT(dof < ndofs && -1-dof < ndofs && 0 <= vd && vd < vdim,
"");
48 return (dof >= 0) ? vd+vdim*dof : -1-(vd+vdim*(-1-dof));
The ordering method used when the number of unknowns per mesh node (vector dimension) is bigger than ...
static int Map(int ndofs, int vdim, int dof, int vd)
static void DofsToVDofs(int ndofs, int vdim, Array< int > &dofs)
static void Reorder(Vector &v, int vdim, Type in_ord, Type out_ord)
Reorder Vector v from its current ordering in_ord to out_ord.