#include "petscds.h" PetscErrorCode PetscDSCopyBoundary(PetscDS ds, PetscInt numFields, const PetscInt fields[], PetscDS newds)Not collective
ds | - The source PetscDS object | |
numFields | - The number of selected fields, or PETSC_DEFAULT for all fields | |
fields | - The selected fields, or NULL for all fields |
newds | - The target PetscDS, now with a copy of the boundary conditions |