Lines Matching refs:ceed

50 …PetscCall(DMPlexCeedElemRestrictionCreate(honee->ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DE…  in DivDiffFluxProjectionCreate()
52 PetscCallCeed(honee->ceed, in DivDiffFluxProjectionCreate()
54 …PetscCall(DMPlexCeedBasisCreate(honee->ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALU… in DivDiffFluxProjectionCreate()
81 …PetscCall(DMPlexCeedElemRestrictionQDataCreate(honee->ceed, projection->dm, DMLABEL_DEFAULT, DMLAB… in DivDiffFluxProjectionCreate()
83 PetscCallCeed(honee->ceed, in DivDiffFluxProjectionCreate()
108 Ceed ceed = CeedVectorReturnCeed(diff_flux_proj->div_diff_flux_ceed); in DivDiffFluxProjectionGetOperatorFieldData() local
111 …if (elem_restr) PetscCallCeed(ceed, CeedElemRestrictionReferenceCopy(diff_flux_proj->elem_restr_di… in DivDiffFluxProjectionGetOperatorFieldData()
112 …if (basis) PetscCallCeed(ceed, CeedBasisReferenceCopy(diff_flux_proj->basis_div_diff_flux, basis)); in DivDiffFluxProjectionGetOperatorFieldData()
113 …if (vector) PetscCallCeed(ceed, CeedVectorReferenceCopy(diff_flux_proj->div_diff_flux_ceed, vector… in DivDiffFluxProjectionGetOperatorFieldData()
125 Ceed ceed = honee->ceed; in DivDiffFluxProjectionSetup_Direct() local
138 …PetscCall(OperatorApplyContextCreate(honee->dm, projection->dm, ceed, op_rhs, NULL, NULL, NULL, di… in DivDiffFluxProjectionSetup_Direct()
140 PetscCallCeed(ceed, CeedOperatorDestroy(&op_rhs)); in DivDiffFluxProjectionSetup_Direct()
152 …PetscCall(QDataGet(ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, &elem_restr_qd, &… in DivDiffFluxProjectionSetup_Direct()
154 PetscCall(HoneeMassQFunctionCreate(ceed, projection->num_comp, q_data_size, &qf_mass)); in DivDiffFluxProjectionSetup_Direct()
155 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, &op_mass)); in DivDiffFluxProjectionSetup_Direct()
156 …PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "u", elem_restr_div_diff_flux_volume, basis_div_… in DivDiffFluxProjectionSetup_Direct()
157 …PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "qdata", elem_restr_qd, CEED_BASIS_NONE, q_data)… in DivDiffFluxProjectionSetup_Direct()
158 …PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "v", elem_restr_div_diff_flux_volume, basis_div_… in DivDiffFluxProjectionSetup_Direct()
178 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_div_diff_flux_volume)); in DivDiffFluxProjectionSetup_Direct()
179 PetscCallCeed(ceed, CeedBasisDestroy(&basis_div_diff_flux)); in DivDiffFluxProjectionSetup_Direct()
180 PetscCallCeed(ceed, CeedVectorDestroy(&q_data)); in DivDiffFluxProjectionSetup_Direct()
181 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qd)); in DivDiffFluxProjectionSetup_Direct()
182 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_mass)); in DivDiffFluxProjectionSetup_Direct()
183 PetscCallCeed(ceed, CeedOperatorDestroy(&op_mass)); in DivDiffFluxProjectionSetup_Direct()
195 Ceed ceed = honee->ceed; in DivDiffFluxProjectionSetup_Indirect() local
207 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_V… in DivDiffFluxProjectionSetup_Indirect()
208 …PetscCall(DMPlexCeedBasisCreate(ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, heig… in DivDiffFluxProjectionSetup_Indirect()
209 …PetscCall(QDataGet(ceed, projection->dm, DMLABEL_DEFAULT, DMLABEL_DEFAULT_VALUE, &elem_restr_qd, &… in DivDiffFluxProjectionSetup_Indirect()
218 …PetscCall(OperatorApplyContextCreate(honee->dm, projection->dm, ceed, op_rhs, NULL, NULL, NULL, NU… in DivDiffFluxProjectionSetup_Indirect()
219 PetscCallCeed(ceed, CeedOperatorDestroy(&op_rhs)); in DivDiffFluxProjectionSetup_Indirect()
226 PetscCall(HoneeMassQFunctionCreate(ceed, projection->num_comp, q_data_size, &qf_mass)); in DivDiffFluxProjectionSetup_Indirect()
227 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, &op_mass)); in DivDiffFluxProjectionSetup_Indirect()
228 …PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "u", elem_restr_diff_flux, basis_diff_flux, CEED… in DivDiffFluxProjectionSetup_Indirect()
229 …PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "qdata", elem_restr_qd, CEED_BASIS_NONE, q_data)… in DivDiffFluxProjectionSetup_Indirect()
230 …PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "v", elem_restr_diff_flux, basis_diff_flux, CEED… in DivDiffFluxProjectionSetup_Indirect()
249 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_mass)); in DivDiffFluxProjectionSetup_Indirect()
250 PetscCallCeed(ceed, CeedOperatorDestroy(&op_mass)); in DivDiffFluxProjectionSetup_Indirect()
266 PetscCallCeed(ceed, in DivDiffFluxProjectionSetup_Indirect()
267 …CeedQFunctionCreateInterior(ceed, 1, ComputeDivDiffusiveFlux2D_1, ComputeDivDiffusiveFlux2D_1_loc,… in DivDiffFluxProjectionSetup_Indirect()
274 PetscCallCeed(ceed, in DivDiffFluxProjectionSetup_Indirect()
275 …CeedQFunctionCreateInterior(ceed, 1, ComputeDivDiffusiveFlux3D_1, ComputeDivDiffusiveFlux3D_1_loc,… in DivDiffFluxProjectionSetup_Indirect()
278 PetscCallCeed(ceed, in DivDiffFluxProjectionSetup_Indirect()
279 …CeedQFunctionCreateInterior(ceed, 1, ComputeDivDiffusiveFlux3D_4, ComputeDivDiffusiveFlux3D_4_loc,… in DivDiffFluxProjectionSetup_Indirect()
290 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_calc_divergence, "Grad F_diff", projection->num_comp … in DivDiffFluxProjectionSetup_Indirect()
291 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_calc_divergence, "qdata", q_data_size, CEED_EVAL_NONE… in DivDiffFluxProjectionSetup_Indirect()
292 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_calc_divergence, "Div F_diff", diff_flux_proj->num_d… in DivDiffFluxProjectionSetup_Indirect()
294 …PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_calc_divergence, NULL, NULL, &op_calc_divergence)); in DivDiffFluxProjectionSetup_Indirect()
295 …PetscCallCeed(ceed, CeedOperatorSetField(op_calc_divergence, "Grad F_diff", elem_restr_diff_flux, … in DivDiffFluxProjectionSetup_Indirect()
296 …PetscCallCeed(ceed, CeedOperatorSetField(op_calc_divergence, "qdata", elem_restr_qd, CEED_BASIS_NO… in DivDiffFluxProjectionSetup_Indirect()
297 …PetscCallCeed(ceed, CeedOperatorSetField(op_calc_divergence, "Div F_diff", elem_restr_div_diff_flu… in DivDiffFluxProjectionSetup_Indirect()
300 …PetscCall(OperatorApplyContextCreate(projection->dm, NULL, ceed, op_calc_divergence, NULL, CEED_VE… in DivDiffFluxProjectionSetup_Indirect()
303 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_div_diff_flux)); in DivDiffFluxProjectionSetup_Indirect()
304 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_calc_divergence)); in DivDiffFluxProjectionSetup_Indirect()
305 PetscCallCeed(ceed, CeedOperatorDestroy(&op_calc_divergence)); in DivDiffFluxProjectionSetup_Indirect()
307 PetscCallCeed(ceed, CeedBasisDestroy(&basis_diff_flux)); in DivDiffFluxProjectionSetup_Indirect()
308 PetscCallCeed(ceed, CeedVectorDestroy(&q_data)); in DivDiffFluxProjectionSetup_Indirect()
309 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qd)); in DivDiffFluxProjectionSetup_Indirect()
310 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_diff_flux)); in DivDiffFluxProjectionSetup_Indirect()
428 Ceed ceed = CeedVectorReturnCeed(diff_flux_proj->div_diff_flux_ceed); in DivDiffFluxProjectionDataDestroy() local
436 PetscCallCeed(ceed, CeedVectorDestroy(&diff_flux_proj->div_diff_flux_ceed)); in DivDiffFluxProjectionDataDestroy()
437 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&diff_flux_proj->elem_restr_div_diff_flux)); in DivDiffFluxProjectionDataDestroy()
438 PetscCallCeed(ceed, CeedBasisDestroy(&diff_flux_proj->basis_div_diff_flux)); in DivDiffFluxProjectionDataDestroy()