Lines Matching refs:mdm
638 PetscErrorCode SetupMixed(DMAdaptor adaptor, DM mdm) in SetupMixed() argument
643 PetscCall(DMGetApplicationContext(mdm, &ctx)); in SetupMixed()
644 PetscCall(SetupMixedDiscretization(mdm, ctx)); in SetupMixed()
645 PetscCall(SetupMixedProblem(mdm, ctx)); in SetupMixed()
651 DM dm, mdm; /* problem specification */ in main() local
697 PetscCall(DMClone(dm, &mdm)); in main()
700 PetscCall(SNESSetDM(msnes, mdm)); in main()
702 PetscCall(SetupMixedDiscretization(mdm, &user)); in main()
703 PetscCall(SetupMixedProblem(mdm, &user)); in main()
704 PetscCall(DMCreateGlobalVector(mdm, &mu)); in main()
706 PetscCall(DMPlexSetSNESLocalFEM(mdm, PETSC_FALSE, &user)); in main()
742 PetscCall(DMGetDS(mdm, &ds)); in main()
744 PetscCall(DMPlexComputeL2DiffVec(mdm, 0.0, func, ctx, mu, exactError)); in main()
792 PetscCall(DMDestroy(&mdm)); in main()