PetscSFSetType#

Set the PetscSF communication implementation

Synopsis#

#include "petscsf.h" 
PetscErrorCode PetscSFSetType(PetscSF sf, PetscSFType type)

Collective

Input Parameters#

  • sf - the PetscSF context

  • type - a known method

    PETSCSFWINDOW - MPI-2/3 one-sided
    PETSCSFBASIC - basic implementation using MPI-1 two-sided

Options Database Key#

  • -sf_type - Sets the method; for example basic or window use -help for a list of available methods

Notes#

See PetscSFType for possible values

See Also#

PetscSF, 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