petsc-3.7.7 2017-09-25
Report Typos and Errors

DMLocalizeCoordinate

If a mesh is periodic (a torus with lengths L_i, some of which can be infinite), project the coordinate onto [0, L_i) in each dimension.

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
PetscErrorCode DMLocalizeCoordinate(DM dm, const PetscScalar in[], PetscScalar out[])

Input Parameters

dm - The DM
in - The input coordinate point (dim numbers)

Output Parameter

out -The localized coordinate point

See Also

DMLocalizeCoordinates(), DMLocalizeAddCoordinate()

Level:developer
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages