Lines Matching refs:dsIn

5554     PetscCall(PetscDSDestroy(&dm->probs[s].dsIn));  in DMClearDS()
5609 PetscErrorCode DMGetCellDS(DM dm, PetscInt point, PetscDS *ds, PetscDS *dsIn) in DMGetCellDS() argument
5617 if (dsIn) PetscAssertPointer(dsIn, 4); in DMGetCellDS()
5620 if (dsIn) *dsIn = NULL; in DMGetCellDS()
5630 if (dsIn) *dsIn = dm->probs[s].dsIn; in DMGetCellDS()
5662 PetscErrorCode DMGetRegionDS(DM dm, DMLabel label, IS *fields, PetscDS *ds, PetscDS *dsIn) in DMGetRegionDS() argument
5677 if (dsIn) { in DMGetRegionDS()
5678 PetscAssertPointer(dsIn, 5); in DMGetRegionDS()
5679 *dsIn = NULL; in DMGetRegionDS()
5685 if (dsIn) *dsIn = dm->probs[s].dsIn; in DMGetRegionDS()
5712 PetscErrorCode DMSetRegionDS(DM dm, DMLabel label, IS fields, PetscDS ds, PetscDS dsIn) in DMSetRegionDS() argument
5721 if (dsIn) PetscValidHeaderSpecific(dsIn, PETSCDS_CLASSID, 5); in DMSetRegionDS()
5725 PetscCall(PetscDSDestroy(&dm->probs[s].dsIn)); in DMSetRegionDS()
5727 dm->probs[s].dsIn = dsIn; in DMSetRegionDS()
5735 PetscCall(PetscObjectReference((PetscObject)dsIn)); in DMSetRegionDS()
5744 dm->probs[Nds].dsIn = dsIn; in DMSetRegionDS()
5767 …rCode DMGetRegionNumDS(DM dm, PetscInt num, DMLabel *label, IS *fields, PetscDS *ds, PetscDS *dsIn) in DMGetRegionNumDS() argument
5787 if (dsIn) { in DMGetRegionNumDS()
5788 PetscAssertPointer(dsIn, 6); in DMGetRegionNumDS()
5789 *dsIn = dm->probs[num].dsIn; in DMGetRegionNumDS()
5811 …ErrorCode DMSetRegionNumDS(DM dm, PetscInt num, DMLabel label, IS fields, PetscDS ds, PetscDS dsIn) in DMSetRegionNumDS() argument
5835 if (dsIn) { in DMSetRegionNumDS()
5836 PetscValidHeaderSpecific(dsIn, PETSCDS_CLASSID, 6); in DMSetRegionNumDS()
5837 PetscCall(PetscObjectReference((PetscObject)dsIn)); in DMSetRegionNumDS()
5838 PetscCall(PetscDSDestroy(&dm->probs[num].dsIn)); in DMSetRegionNumDS()
5839 dm->probs[num].dsIn = dsIn; in DMSetRegionNumDS()
6059 PetscDS ds, dsIn = NULL; in DMCreateDS() local
6095 PetscCall(PetscDSCreate(PETSC_COMM_SELF, &dsIn)); in DMCreateDS()
6096 PetscCall(PetscDSSetCoordinateDimension(dsIn, dE)); in DMCreateDS()
6103 if (dsIn) { in DMCreateDS()
6104 PetscCall(PetscDSSetDiscretization(dsIn, nf, NULL)); in DMCreateDS()
6105 PetscCall(PetscDSSetCohesive(dsIn, nf, isCohesive)); in DMCreateDS()
6112 PetscCall(DMSetRegionDS(dm, label, fields, ds, dsIn)); in DMCreateDS()
6115 PetscCall(PetscDSDestroy(&dsIn)); in DMCreateDS()
6121 PetscDS dsIn = dm->probs[s].dsIn; in DMCreateDS() local
6145 PetscCall(PetscDSSetDiscretization(dsIn, f, disc)); in DMCreateDS()
6148 PetscCall(PetscDSSetDiscretization(dsIn, f, disc)); in DMCreateDS()
6164 PetscDS dsIn = dm->probs[s].dsIn; in DMCreateDS() local
6170 if (dsIn) PetscCall(PetscDSSetJetDegree(dsIn, f, k)); in DMCreateDS()
6179 if (dm->probs[s].dsIn) PetscCall(PetscDSSetFromOptions(dm->probs[s].dsIn)); in DMCreateDS()
6182 if (dm->probs[s].dsIn) PetscCall(PetscDSSetUp(dm->probs[s].dsIn)); in DMCreateDS()
6323 …(DM dm, DMLabel label, IS fields, PetscInt minDegree, PetscInt maxDegree, PetscDS ds, PetscDS dsIn) in DMTransferDS_Internal() argument
6330 if (dsIn) { in DMTransferDS_Internal()
6331 PetscCall(PetscDSCreate(PetscObjectComm((PetscObject)dsIn), &dsInNew)); in DMTransferDS_Internal()
6332 PetscCall(PetscDSCopy(dsIn, minDegree, maxDegree, dm, dsInNew)); in DMTransferDS_Internal()
6368 PetscDS ds, dsIn, newds; in DMCopyDS() local
6371 PetscCall(DMGetRegionNumDS(dm, s, &label, &fields, &ds, &dsIn)); in DMCopyDS()
6373 PetscCall(DMTransferDS_Internal(newdm, label, fields, minDegree, maxDegree, ds, dsIn)); in DMCopyDS()