Lines Matching refs:dm

32   PetscCall(DMDestroy(&spanstats_->dm));  in SpanStatsCtxDestroy()
42 MPI_Comm comm = PetscObjectComm((PetscObject)honee->dm); in SpanwiseStatisticssCreateDM()
52 PetscCall(DMGetBoundingBox(honee->dm, domain_min, domain_max)); in SpanwiseStatisticssCreateDM()
62 PetscCall(DMPlexGetIsoperiodicFaceSF(honee->dm, &num_isoperiodicface, &isoperiodicface)); in SpanwiseStatisticssCreateDM()
75 PetscCall(DMCreateLabel(honee->dm, "Periodic Face")); in SpanwiseStatisticssCreateDM()
76 PetscCall(DMGetLabel(honee->dm, "Periodic Face", &label)); in SpanwiseStatisticssCreateDM()
82 PetscCall(DMGetLabel(honee->dm, "Face Sets", &label)); in SpanwiseStatisticssCreateDM()
85 PetscCall(DMPlexLabelComplete(honee->dm, label)); in SpanwiseStatisticssCreateDM()
86 …cCall(DMPlexFilter(honee->dm, label, 1, PETSC_FALSE, PETSC_FALSE, PetscObjectComm((PetscObject)hon… in SpanwiseStatisticssCreateDM()
87 …PetscCall(DMSetCoordinateDisc(spanstats->dm, NULL, PETSC_FALSE, PETSC_TRUE)); // Ensure that a co… in SpanwiseStatisticssCreateDM()
89 PetscCall(DMPlexDistribute(spanstats->dm, 0, NULL, &parent_distributed_dm)); in SpanwiseStatisticssCreateDM()
92 PetscCall(DMDestroy(&spanstats->dm)); in SpanwiseStatisticssCreateDM()
93 spanstats->dm = parent_distributed_dm; in SpanwiseStatisticssCreateDM()
100 PetscCall(DMPlexIsSimplex(spanstats->dm, &is_simplex)); in SpanwiseStatisticssCreateDM()
104 PetscCall(PetscObjectSetName((PetscObject)spanstats->dm, "Spanwise_Stats")); in SpanwiseStatisticssCreateDM()
105 PetscCall(DMSetOptionsPrefix(spanstats->dm, spanstats->prefix)); in SpanwiseStatisticssCreateDM()
106 PetscCall(DMSetFromOptions(spanstats->dm)); in SpanwiseStatisticssCreateDM()
107 PetscCall(DMViewFromOptions(spanstats->dm, NULL, "-dm_view")); in SpanwiseStatisticssCreateDM()
111 spanstats->dm)); in SpanwiseStatisticssCreateDM()
136 static PetscErrorCode GetQuadratureCoords(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_va… in GetQuadratureCoords() argument
148 …PetscCall(DMPlexCeedCoordinateCreateField(ceed, dm, domain_label, label_value, height, &elem_restr… in GetQuadratureCoords()
162 …PetscCall(CeedOperatorCreateLocalVecs(op_quad_coords, DMReturnVecType(dm), PETSC_COMM_SELF, NULL, … in GetQuadratureCoords()
179 DM dm = spanstats->dm; in SpanwiseStatisticsSetupDataCreate() local
189 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, height… in SpanwiseStatisticsSetupDataCreate()
191 …PetscCall(DMPlexCeedElemRestrictionCoordinateCreate(ceed, dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VAL… in SpanwiseStatisticsSetupDataCreate()
195 …PetscCall(DMPlexCeedBasisCoordinateCreate(ceed, dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, height… in SpanwiseStatisticsSetupDataCreate()
196 …PetscCall(DMPlexCeedBasisCreate(ceed, dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, height, dm_field… in SpanwiseStatisticsSetupDataCreate()
200 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, honee->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE,… in SpanwiseStatisticsSetupDataCreate()
201 …PetscCall(DMPlexCeedBasisCreate(ceed, honee->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, 0, 0, &ba… in SpanwiseStatisticsSetupDataCreate()
208 PetscCall(DMGetCellCoordinateDM(dm, &cdm)); in SpanwiseStatisticsSetupDataCreate()
210 PetscCall(DMGetCellCoordinatesLocal(dm, &X_loc)); in SpanwiseStatisticsSetupDataCreate()
212 PetscCall(DMGetCoordinatesLocal(dm, &X_loc)); in SpanwiseStatisticsSetupDataCreate()
310 …PetscCall(OperatorApplyContextCreate(NULL, spanstats->dm, ceed, op_proj_rhs, NULL, NULL, NULL, NUL… in SpanwiseStatisticsSetupL2Projection()
311 …PetscCall(CeedOperatorCreateLocalVecs(op_proj_rhs, DMReturnVecType(spanstats->dm), PETSC_COMM_SELF… in SpanwiseStatisticsSetupL2Projection()
312 …PetscCall(QDataGet(ceed, spanstats->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, &elem_restr_qd, &q… in SpanwiseStatisticsSetupL2Projection()
327 PetscCall(MatCreateCeed(spanstats->dm, spanstats->dm, op_mass, NULL, &mat_mass)); in SpanwiseStatisticsSetupL2Projection()
329 PetscCall(KSPCreate(PetscObjectComm((PetscObject)spanstats->dm), &ksp)); in SpanwiseStatisticsSetupL2Projection()
377 …eStatisticsCreateSF(honee, spanstats_, *stats_setup_data, spanstats_->dm, honee->dm, &spanstats_->… in SpanwiseStatisticsSetupInitialize()
413 PetscCall(DMGlobalToLocal(honee->dm, Q, INSERT_VALUES, honee->Q_loc)); in SpanwiseStatisticsCollect()
454 PetscCall(DMGetOutputSequenceNumber(spanstats->dm, NULL, &solution_time)); in SpanwiseStatisticsProcess()
459 PetscCall(DMGetGlobalVector(spanstats->dm, &RHS)); in SpanwiseStatisticsProcess()
464 PetscCall(DMRestoreGlobalVector(spanstats->dm, &RHS)); in SpanwiseStatisticsProcess()