DMPlexGetScale

Get the scale for the specified fundamental unit

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexGetScale(DM dm, PetscUnit unit, PetscReal *scale)
Not collective

Input Arguments

dm - the DM
unit - The SI unit

Output Argument

scale - The value used to scale all quantities with this unit

Level: advanced

See Also

DMPlexSetScale(), PetscUnit

Location:plexfem.c