PetscDSCopyEquations — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscDSCopyEquations

Copy all pointwise function pointers to another `PetscDS`

## Synopsis

    #include "petscds.h"
    PetscErrorCode PetscDSCopyEquations(PetscDS prob, PetscDS newprob)

Not Collective

## Input Parameter

- prob - The `PetscDS` object

## Output Parameter

- newprob - The `PetscDS` copy

## See Also

`PetscDS`, `PetscDSCopyBoundary()`, `PetscDSSetResidual()`, `PetscDSSetJacobian()`, `PetscDSSetRiemannSolver()`, `PetscDSSetBdResidual()`, `PetscDSSetBdJacobian()`, `PetscDSCreate()`

## Level

intermediate

## Location

src/dm/dt/interface/dtds.c

Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages