Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/ !
H A Dplexfem.c6385 PetscErrorCode DMPlexComputeJacobianByKeyGeneral(DM dmr, DM dmc, PetscFormKey key, IS cellIS, Petsc… in DMPlexComputeJacobianByKeyGeneral() argument
6387 DM_Plex *mesh = (DM_Plex *)dmr->data; in DMPlexComputeJacobianByKeyGeneral()
6405 PetscCall(PetscObjectGetComm((PetscObject)dmr, &comm)); in DMPlexComputeJacobianByKeyGeneral()
6406 PetscCall(PetscLogEventBegin(DMPLEX_JacobianFEM, dmr, 0, 0, 0)); in DMPlexComputeJacobianByKeyGeneral()
6407 PetscCall(DMGetLocalSection(dmr, &rsection)); in DMPlexComputeJacobianByKeyGeneral()
6408 PetscCall(DMGetGlobalSection(dmr, &rglobalSection)); in DMPlexComputeJacobianByKeyGeneral()
6411 PetscCall(DMGetAuxiliaryVec(dmr, key.label, key.value, key.part, &A)); in DMPlexComputeJacobianByKeyGeneral()
6414 PetscCall(DMGetEnclosureRelation(dmAux, dmr, &encAux)); in DMPlexComputeJacobianByKeyGeneral()
6420 PetscCall(DMGetCoordinateField(dmr, &coordField)); in DMPlexComputeJacobianByKeyGeneral()
6425 PetscCall(DMHasBasisTransform(dmr, &transform)); in DMPlexComputeJacobianByKeyGeneral()
[all …]
H A Dplex.c10470 PetscErrorCode DMCreateGradientMatrix_Plex(DM dmc, DM dmr, Mat *derv) in DMCreateGradientMatrix_Plex() argument
10477 PetscCall(DMGetGlobalSection(dmr, &gsf)); in DMCreateGradientMatrix_Plex()
10487 PetscCall(DMGetApplicationContext(dmr, &ctx)); in DMCreateGradientMatrix_Plex()
10497 PetscCall(DMClone(dmr, &ndmr)); in DMCreateGradientMatrix_Plex()
10498 PetscCall(DMCopyDisc(dmr, ndmr)); in DMCreateGradientMatrix_Plex()
/petsc/src/ts/tutorials/ !
H A Dex30.c1631 DM dmr = dms[r]; in CreateMesh() local
1635 PetscCall(DMRefine(*dm, PetscObjectComm((PetscObject)*dm), &dmr)); in CreateMesh()
1636 PetscCall(DMSetCoarseDM(dmr, *dm)); in CreateMesh()
1638 PetscCall(DMCreateInterpolation(*dm, dmr, &M, NULL)); in CreateMesh()
1640 PetscCall(DMGetNamedGlobalVector(dmr, "solution_", &ur)); in CreateMesh()
1643 PetscCall(DMRestoreNamedGlobalVector(dmr, "solution_", &ur)); in CreateMesh()
1645 if (!isHierarchy) PetscCall(DMSetCoarseDM(dmr, NULL)); in CreateMesh()
1647 *dm = dmr; in CreateMesh()