Lines Matching refs:dmc

2149   DM               dmc;  in DMPlexComputeClementInterpolant()  local
2159 PetscCall(VecGetDM(locC, &dmc)); in DMPlexComputeClementInterpolant()
2253 PetscCall(DMPlexVecSetClosure(dmc, NULL, locC, v, valsum, INSERT_VALUES)); in DMPlexComputeClementInterpolant()
2932 PetscErrorCode DMPlexComputeInterpolatorNested(DM dmc, DM dmf, PetscBool isRefined, Mat In, PetscCt… in DMPlexComputeInterpolatorNested() argument
2934 DM_Plex *mesh = (DM_Plex *)dmc->data; in DMPlexComputeInterpolatorNested()
2945 PetscCall(PetscLogEventBegin(DMPLEX_InterpolatorFEM, dmc, dmf, 0, 0)); in DMPlexComputeInterpolatorNested()
2949 PetscCall(DMGetLocalSection(dmc, &csection)); in DMPlexComputeInterpolatorNested()
2950 PetscCall(DMGetGlobalSection(dmc, &cglobalSection)); in DMPlexComputeInterpolatorNested()
2952 PetscCall(DMPlexGetSimplexOrBoxCells(dmc, 0, &cStart, &cEnd)); in DMPlexComputeInterpolatorNested()
2987 PetscCall(DMGetField(dmc, f, NULL, &objc)); in DMPlexComputeInterpolatorNested()
3039 PetscCall(DMGetField(dmc, fieldJ, NULL, &obj)); in DMPlexComputeInterpolatorNested()
3115 …PetscCall(DMPlexMatGetClosureIndicesRefined(dmf, fsection, fglobalSection, dmc, csection, cglobalS… in DMPlexComputeInterpolatorNested()
3118 …PetscCall(DMPlexMatSetClosureGeneral(dmf, fsection, fglobalSection, PETSC_FALSE, dmc, csection, cg… in DMPlexComputeInterpolatorNested()
3132 …PetscCall(DMPlexMatSetClosureRefined(dmf, fsection, fglobalSection, dmc, csection, cglobalSection,… in DMPlexComputeInterpolatorNested()
3134 …PetscCall(DMPlexMatSetClosureGeneral(dmf, fsection, fglobalSection, PETSC_FALSE, dmc, csection, cg… in DMPlexComputeInterpolatorNested()
3147 PetscCall(PetscLogEventEnd(DMPLEX_InterpolatorFEM, dmc, dmf, 0, 0)); in DMPlexComputeInterpolatorNested()
3151 PetscErrorCode DMPlexComputeMassMatrixNested(DM dmc, DM dmf, Mat mass, PetscCtx ctx) in DMPlexComputeMassMatrixNested() argument
3153 SETERRQ(PetscObjectComm((PetscObject)dmc), PETSC_ERR_SUP, "Laziness"); in DMPlexComputeMassMatrixNested()
3171 PetscErrorCode DMPlexComputeInterpolatorGeneral(DM dmc, DM dmf, Mat In, PetscCtx ctx) in DMPlexComputeInterpolatorGeneral() argument
3186 PetscCall(PetscLogEventBegin(DMPLEX_InterpolatorFEM, dmc, dmf, 0, 0)); in DMPlexComputeInterpolatorGeneral()
3187 PetscCall(DMGetCoordinateDim(dmc, &dim)); in DMPlexComputeInterpolatorGeneral()
3188 PetscCall(DMGetDS(dmc, &prob)); in DMPlexComputeInterpolatorGeneral()
3195 PetscCall(DMGetLocalSection(dmc, &csection)); in DMPlexComputeInterpolatorGeneral()
3196 PetscCall(DMGetGlobalSection(dmc, &globalCSection)); in DMPlexComputeInterpolatorGeneral()
3230 …} else SETERRQ(PetscObjectComm((PetscObject)dmc), PETSC_ERR_ARG_WRONG, "Unknown discretization typ… in DMPlexComputeInterpolatorGeneral()
3264 PetscCall(DMLocatePoints(dmc, pointVec, DM_POINTLOCATION_NEAREST, &coarseCellSF)); in DMPlexComputeInterpolatorGeneral()
3273 …PetscCall(DMPlexGetClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_F… in DMPlexComputeInterpolatorGeneral()
3279 …PetscCall(DMPlexComputeCellGeometryFEM(dmc, coarseCells[ccell].index, NULL, v0c, Jc, invJc, &detJc… in DMPlexComputeInterpolatorGeneral()
3301 …PetscCall(DMPlexRestoreClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PET… in DMPlexComputeInterpolatorGeneral()
3324 PetscCall(PetscLogEventEnd(DMPLEX_InterpolatorFEM, dmc, dmf, 0, 0)); in DMPlexComputeInterpolatorGeneral()
3343 PetscErrorCode DMPlexComputeMassMatrixGeneral(DM dmc, DM dmf, Mat mass, PetscCtx ctx) in DMPlexComputeMassMatrixGeneral() argument
3359 PetscCall(DMGetCoordinateDim(dmc, &dim)); in DMPlexComputeMassMatrixGeneral()
3360 PetscCall(DMGetDS(dmc, &prob)); in DMPlexComputeMassMatrixGeneral()
3367 PetscCall(DMGetLocalSection(dmc, &csection)); in DMPlexComputeMassMatrixGeneral()
3368 PetscCall(DMGetGlobalSection(dmc, &globalCSection)); in DMPlexComputeMassMatrixGeneral()
3419 PetscCall(DMLocatePoints(dmc, pointVec, DM_POINTLOCATION_NEAREST, &coarseCellSF)); in DMPlexComputeMassMatrixGeneral()
3433 …PetscCall(DMPlexGetClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_F… in DMPlexComputeMassMatrixGeneral()
3443 …PetscCall(DMPlexRestoreClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PET… in DMPlexComputeMassMatrixGeneral()
3500 PetscCall(DMLocatePoints(dmc, pointVec, DM_POINTLOCATION_NEAREST, &coarseCellSF)); in DMPlexComputeMassMatrixGeneral()
3509 …PetscCall(DMPlexGetClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PETSC_F… in DMPlexComputeMassMatrixGeneral()
3511 …PetscCall(DMPlexComputeCellGeometryFEM(dmc, coarseCells[ccell].index, NULL, v0c, Jc, invJc, &detJc… in DMPlexComputeMassMatrixGeneral()
3546 …PetscCall(DMPlexRestoreClosureIndices(dmc, csection, globalCSection, coarseCells[ccell].index, PET… in DMPlexComputeMassMatrixGeneral()
3578 PetscErrorCode DMPlexComputeInjectorFEM(DM dmc, DM dmf, VecScatter *sc, PetscCtx ctx) in DMPlexComputeInjectorFEM() argument
3591 PetscCall(PetscLogEventBegin(DMPLEX_InjectorFEM, dmc, dmf, 0, 0)); in DMPlexComputeInjectorFEM()
3595 PetscCall(DMGetLocalSection(dmc, &csection)); in DMPlexComputeInjectorFEM()
3596 PetscCall(DMGetGlobalSection(dmc, &cglobalSection)); in DMPlexComputeInjectorFEM()
3598 PetscCall(DMPlexGetSimplexOrBoxCells(dmc, 0, &cStart, &cEnd)); in DMPlexComputeInjectorFEM()
3599 PetscCall(DMGetDS(dmc, &prob)); in DMPlexComputeInjectorFEM()
3702 PetscCall(DMGetGlobalVector(dmc, &cv)); in DMPlexComputeInjectorFEM()
3710 …PetscCall(DMPlexMatGetClosureIndicesRefined(dmf, fsection, fglobalSection, dmc, csection, cglobalS… in DMPlexComputeInjectorFEM()
3727 PetscCall(DMRestoreGlobalVector(dmc, &cv)); in DMPlexComputeInjectorFEM()
3728 PetscCall(PetscLogEventEnd(DMPLEX_InjectorFEM, dmc, dmf, 0, 0)); in DMPlexComputeInjectorFEM()
6385 PetscErrorCode DMPlexComputeJacobianByKeyGeneral(DM dmr, DM dmc, PetscFormKey key, IS cellIS, Petsc… in DMPlexComputeJacobianByKeyGeneral() argument
6409 PetscCall(DMGetLocalSection(dmc, &csection)); in DMPlexComputeJacobianByKeyGeneral()
6410 PetscCall(DMGetGlobalSection(dmc, &cglobalSection)); in DMPlexComputeJacobianByKeyGeneral()
6429 PetscCall(DMGetCellDS(dmc, cells ? cells[cStart] : cStart, &cds, NULL)); in DMPlexComputeJacobianByKeyGeneral()
6574 …PetscCall(DMPlexMatSetClosureGeneral(dmr, rsection, rglobalSection, clPerm, dmc, csection, cglobal… in DMPlexComputeJacobianByKeyGeneral()
6577 …PetscCall(DMPlexMatSetClosureGeneral(dmr, rsection, rglobalSection, clPerm, dmc, csection, cglobal… in DMPlexComputeJacobianByKeyGeneral()
6581 …PetscCall(DMPlexMatSetClosureGeneral(dmr, rsection, rglobalSection, clPerm, dmc, csection, cglobal… in DMPlexComputeJacobianByKeyGeneral()