#include "petscsf.h" PetscErrorCode PetscSFSetType(PetscSF sf,PetscSFType type)Collective on PetscSF
sf | - the PetscSF context | |
type | - a known method |
-sf_type <type> | - Sets the method; use -help for a list of available methods (for instance, window, basic, neighbor) |
PETSCSFWINDOW | - MPI-2/3 one-sided | |
PETSCSFBASIC | - basic implementation using MPI-1 two-sided |