petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscSFSetType

set the PetscSF communication implementation

Synopsis

#include "petscsf.h" 
PetscErrorCode PetscSFSetType(PetscSF sf,PetscSFType type)
Collective on PetscSF Many br

Input Parameters

sf - the PetscSF context Many br
type - a known method Many br

Options Database Key

-sf_type <type> -Sets the method; use -help for a list Many brof available methods (for instance, window, pt2pt, neighbor) Many br

Notes

See "include/petscsf.h" for available methods (for instance) Many br
PETSCSFWINDOW - MPI-2/3 one-sided Many br
PETSCSFBASIC - basic implementation using MPI-1 two-sided Many br

Many br

Keywords

PetscSF, set, type

See Also

PetscSFType, PetscSFCreate()

Level:intermediate
Location:
src/vec/is/sf/interface/sf.c
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages