Lines Matching refs:dm
12 PetscErrorCode SetupStrongSTG_Ceed(Ceed ceed, Honee honee, DM dm, ProblemData problem, Physics phys… in SetupStrongSTG_Ceed() argument
25 PetscCall(DMGetLabel(dm, "Face Sets", &domain_label)); in SetupStrongSTG_Ceed()
26 PetscCall(DMGetDimension(dm, &dim)); in SetupStrongSTG_Ceed()
34 PetscCall(DMGetCoordinateDM(dm, &dm_coord)); in SetupStrongSTG_Ceed()
35 …PetscCall(DMPlexCeedBasisCreate(ceed, dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, height_face, dm_… in SetupStrongSTG_Ceed()
84 PetscCall(DMPlexCreateFaceLabel(dm, inflow_faces[i], &face_orientation_label_name)); in SetupStrongSTG_Ceed()
85 PetscCall(DMGetLabel(dm, face_orientation_label_name, &face_orientation_label)); in SetupStrongSTG_Ceed()
88 …PetscCall(DMLabelCreateGlobalValueArray(dm, face_orientation_label, &num_orientations_values, &ori… in SetupStrongSTG_Ceed()
97 …PetscCall(DMPlexCeedBasisCellToFaceCoordinateCreate(ceed, dm, face_orientation_label, orientation,… in SetupStrongSTG_Ceed()
98 …PetscCall(DMPlexCeedBasisCreate(ceed, dm, face_orientation_label, orientation, height_face, dm_fie… in SetupStrongSTG_Ceed()
104 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, dm, face_orientation_label, orientation, height_fa… in SetupStrongSTG_Ceed()
105 …PetscCall(DMPlexCeedElemRestrictionCoordinateCreate(ceed, dm, face_orientation_label, orientation,… in SetupStrongSTG_Ceed()
106 …PetscCall(DMPlexCeedCoordinateCreateField(ceed, dm, face_orientation_label, orientation, height_ce… in SetupStrongSTG_Ceed()
110 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, face_orientation_label, orientation,… in SetupStrongSTG_Ceed()
112 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, face_orientation_label, orientation,… in SetupStrongSTG_Ceed()
113 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, face_orientation_label, orientation,… in SetupStrongSTG_Ceed()
115 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, face_orientation_label, orientation,… in SetupStrongSTG_Ceed()
185 PetscErrorCode DMPlexInsertBoundaryValues_StrongBCCeed(DM dm, PetscBool insert_essential, Vec Q_loc… in DMPlexInsertBoundaryValues_StrongBCCeed() argument
191 PetscCall(PetscLogEventBegin(HONEE_StrongBCInsert, dm, Q_loc, 0, 0)); in DMPlexInsertBoundaryValues_StrongBCCeed()
192 PetscCall(DMGetApplicationContext(dm, &honee)); in DMPlexInsertBoundaryValues_StrongBCCeed()
199 PetscCall(DMGetNamedLocalVector(dm, "boundary mask", &boundary_mask)); in DMPlexInsertBoundaryValues_StrongBCCeed()
201 PetscCall(DMRestoreNamedLocalVector(dm, "boundary mask", &boundary_mask)); in DMPlexInsertBoundaryValues_StrongBCCeed()
203 PetscCall(PetscLogEventBegin(HONEE_StrongBCCeed, dm, Q_loc, 0, 0)); in DMPlexInsertBoundaryValues_StrongBCCeed()
205 PetscCall(PetscLogEventEnd(HONEE_StrongBCCeed, dm, Q_loc, 0, 0)); in DMPlexInsertBoundaryValues_StrongBCCeed()
206 PetscCall(PetscLogEventEnd(HONEE_StrongBCInsert, dm, Q_loc, 0, 0)); in DMPlexInsertBoundaryValues_StrongBCCeed()
210 PetscErrorCode SetupStrongBC_Ceed(Ceed ceed, DM dm, Honee honee, ProblemData problem) { in SetupStrongBC_Ceed() argument
217 PetscCall(DMGetNamedLocalVector(dm, "boundary mask", &boundary_mask)); in SetupStrongBC_Ceed()
218 PetscCall(DMGetGlobalVector(dm, &global_vec)); in SetupStrongBC_Ceed()
221 PetscCall(DMGlobalToLocal(dm, global_vec, INSERT_VALUES, boundary_mask)); in SetupStrongBC_Ceed()
222 PetscCall(DMRestoreNamedLocalVector(dm, "boundary mask", &boundary_mask)); in SetupStrongBC_Ceed()
223 PetscCall(DMRestoreGlobalVector(dm, &global_vec)); in SetupStrongBC_Ceed()
232 PetscCall(SetupStrongSTG_Ceed(ceed, honee, dm, problem, honee->phys, op_strong_bc)); in SetupStrongBC_Ceed()
238 …PetscCall(PetscObjectComposeFunction((PetscObject)dm, "DMPlexInsertBoundaryValues_C", DMPlexInsert… in SetupStrongBC_Ceed()