Home
last modified time | relevance | path

Searched refs:newds (Results 1 – 3 of 3) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDS.pyx71 cdef PetscDS newds = NULL
72 CHKERR(PetscDSCreate(ccomm, &newds))
73 CHKERR(PetscCLEAR(self.obj)); self.ds = newds
/petsc/src/dm/dt/interface/
H A Ddtds.c3609 …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
[all …]
/petsc/src/dm/interface/
H A Ddm.c6368 PetscDS ds, dsIn, newds; in DMCopyDS() local
6375 PetscCall(DMGetRegionDS(newdm, label, NULL, &newds, NULL)); in DMCopyDS()
6376 PetscCall(PetscDSGetNumBoundary(newds, &Nbd)); in DMCopyDS()
6382 …PetscCall(PetscDSGetBoundary(newds, bd, &wf, NULL, NULL, &label, NULL, NULL, &field, NULL, NULL, N… in DMCopyDS()