PETSc version 3.16.1
Fix/Edit manual page

DMPlexGetScale

Get the scale for the specified fundamental unit

Synopsis

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

Input Parameters

dm - the DM
unit - The SI unit

Output Parameter

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

See Also

DMPlexSetScale(), PetscUnit

Level

advanced

Location

src/dm/impls/plex/plexfem.c

Examples

src/dm/impls/plex/tutorials/ex12.c.html

Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages