Searched refs:dmdest (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/ksp/ksp/interface/ |
| H A D | dmksp.c | 172 PetscErrorCode DMCopyDMKSP(DM dmsrc, DM dmdest) in DMCopyDMKSP() argument 176 PetscValidHeaderSpecific(dmdest, DM_CLASSID, 2); in DMCopyDMKSP() 177 PetscCall(DMKSPDestroy((DMKSP *)&dmdest->dmksp)); in DMCopyDMKSP() 178 dmdest->dmksp = dmsrc->dmksp; in DMCopyDMKSP() 179 PetscCall(PetscObjectReference(dmdest->dmksp)); in DMCopyDMKSP() 180 PetscCall(DMCoarsenHookAdd(dmdest, DMCoarsenHook_DMKSP, NULL, NULL)); in DMCopyDMKSP() 181 PetscCall(DMRefineHookAdd(dmdest, DMRefineHook_DMKSP, NULL, NULL)); in DMCopyDMKSP()
|
| /petsc/src/snes/utils/ |
| H A D | dmsnes.c | 267 PetscErrorCode DMCopyDMSNES(DM dmsrc, DM dmdest) in DMCopyDMSNES() argument 271 PetscValidHeaderSpecific(dmdest, DM_CLASSID, 2); in DMCopyDMSNES() 272 …if (!dmdest->dmsnes) PetscCall(DMSNESCreate(PetscObjectComm((PetscObject)dmdest), (DMSNES *)&dmdes… in DMCopyDMSNES() 273 PetscCall(DMSNESCopy((DMSNES)dmsrc->dmsnes, (DMSNES)dmdest->dmsnes)); in DMCopyDMSNES() 274 PetscCall(DMCoarsenHookAdd(dmdest, DMCoarsenHook_DMSNES, NULL, NULL)); in DMCopyDMSNES() 275 PetscCall(DMRefineHookAdd(dmdest, DMRefineHook_DMSNES, NULL, NULL)); in DMCopyDMSNES() 276 …PetscCall(DMSubDomainHookAdd(dmdest, DMSubDomainHook_DMSNES, DMSubDomainRestrictHook_DMSNES, NULL)… in DMCopyDMSNES()
|
| /petsc/doc/developers/ |
| H A D | callbacks.md | 185 PetscErrorCode DMCopyDMKSP(DM dmsrc,DM dmdest) 189 PetscValidHeaderSpecific(dmdest,DM_CLASSID,2); 190 PetscCall(DMKSPDestroy((DMKSP*)&dmdest->dmksp)); 191 dmdest->dmksp = dmsrc->dmksp; 192 PetscCall(PetscObjectReference(dmdest->dmksp)); 193 PetscCall(DMCoarsenHookAdd(dmdest,DMCoarsenHook_DMKSP,NULL,NULL)); 194 PetscCall(DMRefineHookAdd(dmdest,DMRefineHook_DMKSP,NULL,NULL));
|
| /petsc/src/ts/utils/ |
| H A D | dmts.c | 342 PetscErrorCode DMCopyDMTS(DM dmsrc, DM dmdest) in DMCopyDMTS() argument 346 PetscValidHeaderSpecific(dmdest, DM_CLASSID, 2); in DMCopyDMTS() 347 PetscCall(DMTSDestroy((DMTS *)&dmdest->dmts)); in DMCopyDMTS() 348 dmdest->dmts = dmsrc->dmts; in DMCopyDMTS() 349 PetscCall(PetscObjectReference(dmdest->dmts)); in DMCopyDMTS() 350 PetscCall(DMCoarsenHookAdd(dmdest, DMCoarsenHook_DMTS, DMRestrictHook_DMTS, NULL)); in DMCopyDMTS() 351 PetscCall(DMSubDomainHookAdd(dmdest, DMSubDomainHook_DMTS, DMSubDomainRestrictHook_DMTS, NULL)); in DMCopyDMTS()
|
| /petsc/src/ts/impls/explicit/rk/ |
| H A D | mrk.c | 199 DM newdm, dmsrc, dmdest; in TSCopyDM() local 204 PetscCall(TSGetDM(tsdest, &dmdest)); in TSCopyDM() 205 PetscCall(DMCopyDMTS(dmdest, newdm)); in TSCopyDM() 206 PetscCall(DMCopyDMSNES(dmdest, newdm)); in TSCopyDM()
|