Lines Matching refs:newds
3609 …rorCode PetscDSCopyBoundary(PetscDS ds, PetscInt numFields, const PetscInt fields[], PetscDS newds) in PetscDSCopyBoundary() argument
3615 PetscValidHeaderSpecific(newds, PETSCDS_CLASSID, 4); in PetscDSCopyBoundary()
3616 if (ds == newds) PetscFunctionReturn(PETSC_SUCCESS); in PetscDSCopyBoundary()
3617 PetscCall(PetscDSDestroyBoundary(newds)); in PetscDSCopyBoundary()
3618 lastnext = &newds->boundary; in PetscDSCopyBoundary()
3858 PetscErrorCode PetscDSCopyExactSolutions(PetscDS ds, PetscDS newds) in PetscDSCopyExactSolutions() argument
3866 PetscValidHeaderSpecific(newds, PETSCDS_CLASSID, 2); in PetscDSCopyExactSolutions()
3870 PetscCall(PetscDSSetExactSolution(newds, f, sol, ctx)); in PetscDSCopyExactSolutions()
3872 PetscCall(PetscDSSetExactSolutionTimeDerivative(newds, f, sol, ctx)); in PetscDSCopyExactSolutions()
3892 PetscErrorCode PetscDSCopyBounds(PetscDS ds, PetscDS newds) in PetscDSCopyBounds() argument
3900 PetscValidHeaderSpecific(newds, PETSCDS_CLASSID, 2); in PetscDSCopyBounds()
3904 PetscCall(PetscDSSetLowerBound(newds, f, bound, ctx)); in PetscDSCopyBounds()
3906 PetscCall(PetscDSSetUpperBound(newds, f, bound, ctx)); in PetscDSCopyBounds()