Lines Matching refs:ceed
29 Ceed ceed = CeedVectorReturnCeed(q_data_created); in QDataGetStored() local
34 PetscCallCeed(ceed, CeedVectorGetLength(q_data_created, &created_length)); in QDataGetStored()
39 PetscCallCeed(ceed, CeedVectorGetLength(q_data_vecs[i], &stored_length)); in QDataGetStored()
41 PetscCallCeed(ceed, CeedVectorCreate(ceed, stored_length, &difference_cvec)); in QDataGetStored()
42 PetscCallCeed(ceed, CeedVectorCopy(q_data_vecs[i], difference_cvec)); in QDataGetStored()
43 PetscCallCeed(ceed, CeedVectorAXPY(difference_cvec, -1, q_data_created)); in QDataGetStored()
44 PetscCallCeed(ceed, CeedVectorNorm(difference_cvec, CEED_NORM_MAX, &max_difference)); in QDataGetStored()
46 PetscCallCeed(ceed, CeedVectorDestroy(&difference_cvec)); in QDataGetStored()
60 PetscCallCeed(ceed, CeedVectorReferenceCopy(q_data_created, &q_data_vecs[q_data_stored_index])); in QDataGetStored()
61 …PetscCallCeed(ceed, CeedElemRestrictionReferenceCopy(elem_restr_qd_created, &q_data_restrictions[q… in QDataGetStored()
65 PetscCallCeed(ceed, CeedVectorReferenceCopy(q_data_vecs[q_data_stored_index], q_data_stored)); in QDataGetStored()
66 …PetscCallCeed(ceed, CeedElemRestrictionReferenceCopy(q_data_restrictions[q_data_stored_index], ele… in QDataGetStored()
76 Ceed ceed = CeedVectorReturnCeed(q_data_vecs[i]); in QDataClearStoredData() local
78 PetscCallCeed(ceed, CeedVectorDestroy(&q_data_vecs[i])); in QDataClearStoredData()
79 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&q_data_restrictions[i])); in QDataClearStoredData()
132 PetscErrorCode QDataGet(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_value, CeedElemRestr… in QDataGet() argument
142 …PetscCall(DMPlexCeedCoordinateCreateField(ceed, dm, domain_label, label_value, height, &elem_restr… in QDataGet()
150 … PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2d, Setup2d_loc, &qf_setup)); in QDataGet()
153 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2D_3Dcoords, Setup2D_3Dcoords_loc, &… in QDataGet()
158 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup, Setup_loc, &qf_setup)); in QDataGet()
164 PetscCallCeed(ceed, CeedQFunctionSetUserFlopsEstimate(qf_setup, 0)); in QDataGet()
165 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "dx", num_comp_x * (dim - height), CEED_EVAL_G… in QDataGet()
166 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "weight", 1, CEED_EVAL_WEIGHT)); in QDataGet()
167 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "surface qdata", *q_data_size, CEED_EVAL_NONE… in QDataGet()
169 …PetscCall(DMPlexCeedElemRestrictionQDataCreate(ceed, dm, domain_label, label_value, height, *q_dat… in QDataGet()
170 …PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_qd_created, &q_data_created, NULL)); in QDataGet()
172 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_setup, NULL, NULL, &op_setup)); in QDataGet()
173 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup, "dx", elem_restr_x, basis_x, CEED_VECTOR_ACTIVE… in QDataGet()
174 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup, "weight", CEED_ELEMRESTRICTION_NONE, basis_x, C… in QDataGet()
175 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup, "surface qdata", elem_restr_qd_created, CEED_BA… in QDataGet()
177 PetscCallCeed(ceed, CeedOperatorApply(op_setup, x_coord, q_data_created, CEED_REQUEST_IMMEDIATE)); in QDataGet()
181 PetscCallCeed(ceed, CeedVectorDestroy(&q_data_created)); in QDataGet()
182 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qd_created)); in QDataGet()
183 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_x)); in QDataGet()
184 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x)); in QDataGet()
185 PetscCallCeed(ceed, CeedVectorDestroy(&x_coord)); in QDataGet()
186 PetscCallCeed(ceed, CeedOperatorDestroy(&op_setup)); in QDataGet()
187 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_setup)); in QDataGet()
226 PetscErrorCode QDataBoundaryGet(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_value, CeedE… in QDataBoundaryGet() argument
236 …PetscCall(DMPlexCeedCoordinateCreateField(ceed, dm, domain_label, label_value, height, &elem_restr… in QDataBoundaryGet()
242 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, SetupBoundary2d, SetupBoundary2d_loc, &qf… in QDataBoundaryGet()
245 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, SetupBoundary, SetupBoundary_loc, &qf_set… in QDataBoundaryGet()
251 PetscCallCeed(ceed, CeedQFunctionSetUserFlopsEstimate(qf_setup_sur, 0)); in QDataBoundaryGet()
252 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup_sur, "dx", num_comp_x * (dim - height), CEED_EV… in QDataBoundaryGet()
253 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup_sur, "weight", 1, CEED_EVAL_WEIGHT)); in QDataBoundaryGet()
254 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup_sur, "surface qdata", *q_data_size, CEED_EVAL_… in QDataBoundaryGet()
256 …PetscCall(DMPlexCeedElemRestrictionQDataCreate(ceed, dm, domain_label, label_value, height, *q_dat… in QDataBoundaryGet()
257 …PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_qd_created, &q_data_created, NULL)); in QDataBoundaryGet()
259 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_setup_sur, NULL, NULL, &op_setup_sur)); in QDataBoundaryGet()
260 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "dx", elem_restr_x, basis_x, CEED_VECTOR_AC… in QDataBoundaryGet()
261 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "weight", CEED_ELEMRESTRICTION_NONE, basis_… in QDataBoundaryGet()
262 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "surface qdata", elem_restr_qd_created, CEE… in QDataBoundaryGet()
264 …PetscCallCeed(ceed, CeedOperatorApply(op_setup_sur, x_coord, q_data_created, CEED_REQUEST_IMMEDIAT… in QDataBoundaryGet()
268 PetscCallCeed(ceed, CeedVectorDestroy(&q_data_created)); in QDataBoundaryGet()
269 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qd_created)); in QDataBoundaryGet()
270 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_x)); in QDataBoundaryGet()
271 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x)); in QDataBoundaryGet()
272 PetscCallCeed(ceed, CeedVectorDestroy(&x_coord)); in QDataBoundaryGet()
273 PetscCallCeed(ceed, CeedOperatorDestroy(&op_setup_sur)); in QDataBoundaryGet()
274 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_setup_sur)); in QDataBoundaryGet()
315 PetscErrorCode QDataBoundaryGradientGet(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_valu… in QDataBoundaryGradientGet() argument
327 …PetscCall(DMPlexCeedCoordinateCreateField(ceed, dm, domain_label, label_value, height_face, &elem_… in QDataBoundaryGradientGet()
328 …PetscCall(DMPlexCeedBasisCellToFaceCoordinateCreate(ceed, dm, domain_label, label_value, label_val… in QDataBoundaryGradientGet()
329 …PetscCall(DMPlexCeedElemRestrictionCoordinateCreate(ceed, dm, domain_label, label_value, height_ce… in QDataBoundaryGradientGet()
332 …PetscCall(DMPlexCeedElemRestrictionQDataCreate(ceed, dm, domain_label, label_value, height_face, *… in QDataBoundaryGradientGet()
333 …PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_qd_created, &q_data_created, NULL)); in QDataBoundaryGradientGet()
334 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_x_face, &num_comp_x)); in QDataBoundaryGradientGet()
339 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2DBoundaryGradient, Setup2DBoundaryG… in QDataBoundaryGradientGet()
342 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, SetupBoundaryGradient, SetupBoundaryGradi… in QDataBoundaryGradientGet()
347 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup_sur, "dx/dX cell", num_comp_x * (dim - height_c… in QDataBoundaryGradientGet()
348 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup_sur, "dx/dX face", num_comp_x * (dim - height_f… in QDataBoundaryGradientGet()
349 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup_sur, "weight", 1, CEED_EVAL_WEIGHT)); in QDataBoundaryGradientGet()
350 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup_sur, "q data", *q_data_size, CEED_EVAL_NONE)); in QDataBoundaryGradientGet()
352 …PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_setup_sur, CEED_QFUNCTION_NONE, CEED_QFUNCTION_NON… in QDataBoundaryGradientGet()
353 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "dx/dX cell", elem_restr_x_cell, basis_x_ce… in QDataBoundaryGradientGet()
354 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "dx/dX face", elem_restr_x_face, basis_x_fa… in QDataBoundaryGradientGet()
355 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "weight", CEED_ELEMRESTRICTION_NONE, basis_… in QDataBoundaryGradientGet()
356 …PetscCallCeed(ceed, CeedOperatorSetField(op_setup_sur, "q data", elem_restr_qd_created, CEED_BASIS… in QDataBoundaryGradientGet()
358 …PetscCallCeed(ceed, CeedOperatorApply(op_setup_sur, x_coord, q_data_created, CEED_REQUEST_IMMEDIAT… in QDataBoundaryGradientGet()
362 PetscCallCeed(ceed, CeedOperatorDestroy(&op_setup_sur)); in QDataBoundaryGradientGet()
363 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_setup_sur)); in QDataBoundaryGradientGet()
364 PetscCallCeed(ceed, CeedVectorDestroy(&q_data_created)); in QDataBoundaryGradientGet()
365 PetscCallCeed(ceed, CeedVectorDestroy(&x_coord)); in QDataBoundaryGradientGet()
366 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qd_created)); in QDataBoundaryGradientGet()
367 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_x_face)); in QDataBoundaryGradientGet()
368 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_x_cell)); in QDataBoundaryGradientGet()
369 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x_face)); in QDataBoundaryGradientGet()
370 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x_cell_to_face)); in QDataBoundaryGradientGet()