petsc-3.8.4 2018-03-24
Report Typos and Errors

DMDASetGLLCoordinates

Sets the global coordinates from -1 to 1 to the GLL points of as many GLL elements that fit the number of grid points

Synopsis

#include "petscdmda.h"   
PetscErrorCode DMDASetGLLCoordinates(DM da,PetscGLL *gll)
Collective on DM

Input Parameters

da - the DMDA object
gll - the GLL object

Notes: the parallel decomposition of grid points must correspond to the degree of the GLL. That is, the number of grid points on each process much be divisible by the number of GLL elements needed per process. This depends on whether the DM is periodic or not.

See Also

DMDACreate(), PetscGLLCreate(), DMGetCoordinates()

Level:advanced
Location:
src/dm/impls/da/da.c
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex69.c.html