Lines Matching refs:dmA
4492 PetscErrorCode DMGetEnclosureRelation(DM dmA, DM dmB, DMEnclosureType *rel) in DMGetEnclosureRelation() argument
4501 if (!dmA || !dmB) PetscFunctionReturn(PETSC_SUCCESS); in DMGetEnclosureRelation()
4502 PetscValidHeaderSpecific(dmA, DM_CLASSID, 1); in DMGetEnclosureRelation()
4504 if (dmA == dmB) { in DMGetEnclosureRelation()
4508 PetscCall(DMConvert(dmA, DMPLEX, &plexA)); in DMGetEnclosureRelation()
4552 PetscErrorCode DMGetEnclosurePoint(DM dmA, DM dmB, DMEnclosureType etype, PetscInt pB, PetscInt *pA) in DMGetEnclosurePoint() argument
4570 sdm = dmA; in DMGetEnclosurePoint()
4576 PetscCall(DMViewFromOptions(dmA, NULL, "-dm_enc_A_view")); in DMGetEnclosurePoint()
4589 PetscCall(DMGetEnclosureRelation(dmA, dmB, &enc)); in DMGetEnclosurePoint()
4590 PetscCall(DMGetEnclosurePoint(dmA, dmB, enc, pB, pA)); in DMGetEnclosurePoint()
4593 …SETERRQ(PetscObjectComm((PetscObject)dmA), PETSC_ERR_ARG_OUTOFRANGE, "Invalid enclosure type %d", … in DMGetEnclosurePoint()