Home
last modified time | relevance | path

Searched refs:dsNew (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/dt/interface/
H A Ddtds.c3911 …cErrorCode PetscDSCopy(PetscDS ds, PetscInt minDegree, PetscInt maxDegree, DM dmNew, PetscDS dsNew) in PetscDSCopy() argument
3919 PetscCall(PetscDSCopyConstants(ds, dsNew)); in PetscDSCopy()
3920 PetscCall(PetscDSCopyExactSolutions(ds, dsNew)); in PetscDSCopy()
3921 PetscCall(PetscDSCopyBounds(ds, dsNew)); in PetscDSCopy()
3922 PetscCall(PetscDSSelectDiscretizations(ds, PETSC_DETERMINE, NULL, minDegree, maxDegree, dsNew)); in PetscDSCopy()
3923 PetscCall(PetscDSCopyEquations(ds, dsNew)); in PetscDSCopy()
3927 PetscCall(PetscDSSetContext(dsNew, f, ctx)); in PetscDSCopy()
3929 PetscCall(PetscDSSetCohesive(dsNew, f, isCohesive)); in PetscDSCopy()
3931 PetscCall(PetscDSSetJetDegree(dsNew, f, d)); in PetscDSCopy()
3935 PetscCall(PetscDSSetCoordinateDimension(dsNew, cdim)); in PetscDSCopy()
[all …]
/petsc/src/dm/interface/
H A Ddm.c6325 PetscDS dsNew, dsInNew = NULL; in DMTransferDS_Internal() local
6328 PetscCall(PetscDSCreate(PetscObjectComm((PetscObject)ds), &dsNew)); in DMTransferDS_Internal()
6329 PetscCall(PetscDSCopy(ds, minDegree, maxDegree, dm, dsNew)); in DMTransferDS_Internal()
6334 PetscCall(DMSetRegionDS(dm, label, fields, dsNew, dsInNew)); in DMTransferDS_Internal()
6335 PetscCall(PetscDSDestroy(&dsNew)); in DMTransferDS_Internal()