petsc-dev 2014-03-06
Report Typos and Errors

# DMPlexSetPreallocationCenterDimension

Determine the topology used to determine adjacency

### Synopsis

#include "petscdmplex.h"
PetscErrorCode DMPlexSetPreallocationCenterDimension(DM dm, PetscInt preallocCenterDim)


### Input Parameters

 dm - The DM object preallocCenterDim - The dimension of points which connect adjacent entries

### Notes

    FEM:   Two points p and q are adjacent if q \in closure(star(p)), preallocCenterDim = dim

    FVM:   Two points p and q are adjacent if q \in star(cone(p)),    preallocCenterDim = dim-1

    FVM++: Two points p and q are adjacent if q \in star(closure(p)), preallocCenterDim = 0