Lines Matching refs:PetscCallCeed

32   PetscCallCeed(ceed, CeedVectorDestroy(&sgs_dd_data_->sgs_nodal_ceed));  in SgsDDDataDestroy()
33 PetscCallCeed(ceed, CeedVectorDestroy(&sgs_dd_data_->grad_velo_ceed)); in SgsDDDataDestroy()
63 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&sgs_dd_setup_data->elem_restr_grid_aniso)); in SgsDDSetupDataDestroy()
64 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&sgs_dd_setup_data->elem_restr_sgs)); in SgsDDSetupDataDestroy()
65 PetscCallCeed(ceed, CeedVectorDestroy(&sgs_dd_setup_data->grid_aniso_ceed)); in SgsDDSetupDataDestroy()
66 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&sgs_dd_setup_data->sgsdd_qfctx)); in SgsDDSetupDataDestroy()
67 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&sgs_dd_setup_data->ifunction_qfctx)); in SgsDDSetupDataDestroy()
128 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in SgsDDSetupNodalEvaluation_Fused()
129PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(sgs_dd_setup_data->elem_restr_grid_aniso, … in SgsDDSetupNodalEvaluation_Fused()
135PetscCallCeed(ceed, CeedOperatorGetFieldByName(grad_velo_proj->l2_rhs_ctx->op, "velocity gradient"… in SgsDDSetupNodalEvaluation_Fused()
136 PetscCallCeed(ceed, CeedOperatorFieldGetElemRestriction(op_field, &elem_restr_grad_velo)); in SgsDDSetupNodalEvaluation_Fused()
137PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_grad_velo, &num_comp_grad_velo)… in SgsDDSetupNodalEvaluation_Fused()
141PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_sgs, &sgs_dd_data->sgs_nodal_ceed, … in SgsDDSetupNodalEvaluation_Fused()
149PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Prim, ComputeSgsDDNodal… in SgsDDSetupNodalEvaluation_Fused()
152PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Conserv, ComputeSgsDDNo… in SgsDDSetupNodalEvaluation_Fused()
155PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Entropy, ComputeSgsDDNo… in SgsDDSetupNodalEvaluation_Fused()
162 PetscCallCeed(ceed, CeedBasisCreateProjection(basis_x, basis_q, &basis_x_to_q)); in SgsDDSetupNodalEvaluation_Fused()
164 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_sgs_dd_nodal, sgs_dd_setup_data->sgsdd_qfctx)); in SgsDDSetupNodalEvaluation_Fused()
165 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_nodal, "q", num_comp_q, CEED_EVAL_NONE)); in SgsDDSetupNodalEvaluation_Fused()
166 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_nodal, "x", num_comp_x, CEED_EVAL_INTERP)); in SgsDDSetupNodalEvaluation_Fused()
167PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_nodal, "gradient velocity", num_comp_grad_velo… in SgsDDSetupNodalEvaluation_Fused()
168PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_nodal, "anisotropy tensor", num_comp_grid_anis… in SgsDDSetupNodalEvaluation_Fused()
169PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_nodal, "inverse multiplicity", 1, CEED_EVAL_NO… in SgsDDSetupNodalEvaluation_Fused()
170PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_sgs_dd_nodal, "km_sgs", sgs_dd_data->num_comp_sgs, C… in SgsDDSetupNodalEvaluation_Fused()
172 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_sgs_dd_nodal, NULL, NULL, &op_sgs_dd_nodal)); in SgsDDSetupNodalEvaluation_Fused()
173PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_nodal, "q", elem_restr_q, CEED_BASIS_NONE, hone… in SgsDDSetupNodalEvaluation_Fused()
174PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_nodal, "x", elem_restr_x, basis_x_to_q, x_coord… in SgsDDSetupNodalEvaluation_Fused()
175PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_nodal, "gradient velocity", elem_restr_grad_vel… in SgsDDSetupNodalEvaluation_Fused()
176PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_nodal, "anisotropy tensor", sgs_dd_setup_data->… in SgsDDSetupNodalEvaluation_Fused()
178PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_nodal, "inverse multiplicity", elem_restr_inv_m… in SgsDDSetupNodalEvaluation_Fused()
179PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_nodal, "km_sgs", elem_restr_sgs, CEED_BASIS_NON… in SgsDDSetupNodalEvaluation_Fused()
187 PetscCallCeed(ceed, CeedVectorDestroy(&inv_multiplicity)); in SgsDDSetupNodalEvaluation_Fused()
188 PetscCallCeed(ceed, CeedVectorDestroy(&x_coord)); in SgsDDSetupNodalEvaluation_Fused()
189 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x_to_q)); in SgsDDSetupNodalEvaluation_Fused()
190 PetscCallCeed(ceed, CeedBasisDestroy(&basis_q)); in SgsDDSetupNodalEvaluation_Fused()
191 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x)); in SgsDDSetupNodalEvaluation_Fused()
192 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_q)); in SgsDDSetupNodalEvaluation_Fused()
193 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_x)); in SgsDDSetupNodalEvaluation_Fused()
194 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_inv_multiplicity)); in SgsDDSetupNodalEvaluation_Fused()
195 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_grad_velo)); in SgsDDSetupNodalEvaluation_Fused()
196 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_sgs_dd_nodal)); in SgsDDSetupNodalEvaluation_Fused()
197 PetscCallCeed(ceed, CeedOperatorDestroy(&op_sgs_dd_nodal)); in SgsDDSetupNodalEvaluation_Fused()
211PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Sequential_Inference, C… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
214 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_sgs_dd_inference, sgs_dd_setup_data->sgsdd_qfctx)); in SgsDDSetupNodalEvaluation_Sequential_Ceed()
215PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_inference, "model inputs", sgs_dd_data->num_co… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
216PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_inference, "inverse multiplicity", 1, CEED_EVA… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
217PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_sgs_dd_inference, "model outputs", sgs_dd_data->num_… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
219PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_sgs_dd_inference, NULL, NULL, &op_sgs_dd_inference… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
220PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inference, "model inputs", elem_restr_dd_inputs… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
221 PetscCallCeed(ceed, in SgsDDSetupNodalEvaluation_Sequential_Ceed()
223PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inference, "model outputs", elem_restr_dd_outpu… in SgsDDSetupNodalEvaluation_Sequential_Ceed()
229 PetscCallCeed(ceed, CeedOperatorDestroy(&op_sgs_dd_inference)); in SgsDDSetupNodalEvaluation_Sequential_Ceed()
230 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_sgs_dd_inference)); in SgsDDSetupNodalEvaluation_Sequential_Ceed()
259 PetscCallCeed(ceed, CeedGetResource(ceed, &ceed_resource)); in SgsDDSetupNodalEvaluation_Sequential_Torch()
368PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(sgs_dd_setup_data->elem_restr_grid_aniso, … in SgsDDSetupNodalEvaluation_Sequential()
373PetscCallCeed(ceed, CeedOperatorGetFieldByName(grad_velo_proj->l2_rhs_ctx->op, "velocity gradient"… in SgsDDSetupNodalEvaluation_Sequential()
374 PetscCallCeed(ceed, CeedOperatorFieldGetElemRestriction(op_field, &elem_restr_grad_velo)); in SgsDDSetupNodalEvaluation_Sequential()
375PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_grad_velo, &num_comp_grad_velo)… in SgsDDSetupNodalEvaluation_Sequential()
376PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_grad_velo, &sgs_dd_data->grad_velo_… in SgsDDSetupNodalEvaluation_Sequential()
380PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_sgs, &sgs_dd_data->sgs_nodal_ceed, … in SgsDDSetupNodalEvaluation_Sequential()
383 PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr_eigvec, &eigvec, NULL)); in SgsDDSetupNodalEvaluation_Sequential()
399PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Sequential_Inputs_Prim, in SgsDDSetupNodalEvaluation_Sequential()
403PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Sequential_Inputs_Conse… in SgsDDSetupNodalEvaluation_Sequential()
407PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Sequential_Inputs_Entro… in SgsDDSetupNodalEvaluation_Sequential()
412 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_sgs_dd_inputs, sgs_dd_setup_data->sgsdd_qfctx)); in SgsDDSetupNodalEvaluation_Sequential()
413 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_inputs, "q", num_comp_q, CEED_EVAL_NONE)); in SgsDDSetupNodalEvaluation_Sequential()
414PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_inputs, "gradient velocity", num_comp_grad_vel… in SgsDDSetupNodalEvaluation_Sequential()
415PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_inputs, "anisotropy tensor", num_comp_grid_ani… in SgsDDSetupNodalEvaluation_Sequential()
416PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_inputs, "inverse multiplicity", 1, CEED_EVAL_N… in SgsDDSetupNodalEvaluation_Sequential()
417PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_sgs_dd_inputs, "eigenvectors", num_comp_eigvec, CEED… in SgsDDSetupNodalEvaluation_Sequential()
418PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_sgs_dd_inputs, "model inputs", sgs_dd_data->num_comp… in SgsDDSetupNodalEvaluation_Sequential()
420 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_sgs_dd_inputs, NULL, NULL, &op_sgs_dd_inputs)); in SgsDDSetupNodalEvaluation_Sequential()
421PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inputs, "q", elem_restr_q, CEED_BASIS_NONE, hon… in SgsDDSetupNodalEvaluation_Sequential()
422PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inputs, "gradient velocity", elem_restr_grad_ve… in SgsDDSetupNodalEvaluation_Sequential()
423PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inputs, "anisotropy tensor", sgs_dd_setup_data-… in SgsDDSetupNodalEvaluation_Sequential()
425 PetscCallCeed(ceed, in SgsDDSetupNodalEvaluation_Sequential()
427PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inputs, "eigenvectors", elem_restr_eigvec, CEED… in SgsDDSetupNodalEvaluation_Sequential()
428PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_inputs, "model inputs", elem_restr_dd_inputs, C… in SgsDDSetupNodalEvaluation_Sequential()
432 PetscCallCeed(ceed, CeedOperatorDestroy(&op_sgs_dd_inputs)); in SgsDDSetupNodalEvaluation_Sequential()
433 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_sgs_dd_inputs)); in SgsDDSetupNodalEvaluation_Sequential()
440PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ComputeSgsDDNodal_Sequential_Outputs, Com… in SgsDDSetupNodalEvaluation_Sequential()
442 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_sgs_dd_outputs, sgs_dd_setup_data->sgsdd_qfctx)); in SgsDDSetupNodalEvaluation_Sequential()
443PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_outputs, "model outputs", sgs_dd_data->num_com… in SgsDDSetupNodalEvaluation_Sequential()
444PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_outputs, "anisotropy tensor", num_comp_grid_an… in SgsDDSetupNodalEvaluation_Sequential()
445PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_outputs, "inverse multiplicity", 1, CEED_EVAL_… in SgsDDSetupNodalEvaluation_Sequential()
446PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_dd_outputs, "eigenvectors", num_comp_eigvec, CEED… in SgsDDSetupNodalEvaluation_Sequential()
447PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_sgs_dd_outputs, "km_sgs", sgs_dd_data->num_comp_sgs,… in SgsDDSetupNodalEvaluation_Sequential()
449PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_sgs_dd_outputs, NULL, NULL, &op_sgs_dd_outputs)); in SgsDDSetupNodalEvaluation_Sequential()
450PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_outputs, "model outputs", elem_restr_dd_outputs… in SgsDDSetupNodalEvaluation_Sequential()
451PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_outputs, "anisotropy tensor", sgs_dd_setup_data… in SgsDDSetupNodalEvaluation_Sequential()
453 PetscCallCeed(ceed, in SgsDDSetupNodalEvaluation_Sequential()
455PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_outputs, "eigenvectors", elem_restr_eigvec, CEE… in SgsDDSetupNodalEvaluation_Sequential()
456PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_dd_outputs, "km_sgs", elem_restr_sgs, CEED_BASIS_N… in SgsDDSetupNodalEvaluation_Sequential()
460 PetscCallCeed(ceed, CeedOperatorDestroy(&op_sgs_dd_outputs)); in SgsDDSetupNodalEvaluation_Sequential()
461 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_sgs_dd_outputs)); in SgsDDSetupNodalEvaluation_Sequential()
478 PetscCallCeed(ceed, CeedVectorDestroy(&inv_multiplicity)); in SgsDDSetupNodalEvaluation_Sequential()
479 PetscCallCeed(ceed, CeedVectorDestroy(&eigvec)); in SgsDDSetupNodalEvaluation_Sequential()
480 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_inv_multiplicity)); in SgsDDSetupNodalEvaluation_Sequential()
481 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_eigvec)); in SgsDDSetupNodalEvaluation_Sequential()
482 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_dd_inputs)); in SgsDDSetupNodalEvaluation_Sequential()
483 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_dd_outputs)); in SgsDDSetupNodalEvaluation_Sequential()
484 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_grad_velo)); in SgsDDSetupNodalEvaluation_Sequential()
485 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_q)); in SgsDDSetupNodalEvaluation_Sequential()
517PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, IFunction_NodalSgs_Prim, IFunction_NodalS… in SgsSetupNodalIFunction()
520PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, IFunction_NodalSgs_Conserv, IFunction_Nod… in SgsSetupNodalIFunction()
523PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, IFunction_NodalSgs_Entropy, IFunction_Nod… in SgsSetupNodalIFunction()
527 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_sgs_apply, sgs_dd_setup_data->ifunction_qfctx)); in SgsSetupNodalIFunction()
528 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_apply, "q", num_comp_q, CEED_EVAL_INTERP)); in SgsSetupNodalIFunction()
529 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_apply, "qdata", q_data_size, CEED_EVAL_NONE)); in SgsSetupNodalIFunction()
530PetscCallCeed(ceed, CeedQFunctionAddInput(qf_sgs_apply, "km_sgs", sgs_dd_data->num_comp_sgs, CEED_… in SgsSetupNodalIFunction()
531PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_sgs_apply, "Grad_v", num_comp_q * dim, CEED_EVAL_GRA… in SgsSetupNodalIFunction()
533 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_sgs_apply, NULL, NULL, &op_sgs_apply)); in SgsSetupNodalIFunction()
534PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_apply, "q", elem_restr_q, basis_q, CEED_VECTOR_ACT… in SgsSetupNodalIFunction()
535PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_apply, "qdata", elem_restr_qd, CEED_BASIS_NONE, q_… in SgsSetupNodalIFunction()
536PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_apply, "km_sgs", sgs_dd_setup_data->elem_restr_sgs… in SgsSetupNodalIFunction()
537PetscCallCeed(ceed, CeedOperatorSetField(op_sgs_apply, "Grad_v", elem_restr_q, basis_q, CEED_VECTO… in SgsSetupNodalIFunction()
542 PetscCallCeed(ceed, CeedVectorDestroy(&q_data)); in SgsSetupNodalIFunction()
543 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qd)); in SgsSetupNodalIFunction()
544 PetscCallCeed(ceed, CeedBasisDestroy(&basis_sgs)); in SgsSetupNodalIFunction()
545 PetscCallCeed(ceed, CeedOperatorDestroy(&op_sgs_apply)); in SgsSetupNodalIFunction()
546 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_sgs_apply)); in SgsSetupNodalIFunction()
547 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_q)); in SgsSetupNodalIFunction()
548 PetscCallCeed(ceed, CeedBasisDestroy(&basis_q)); in SgsSetupNodalIFunction()
663 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_q)); in SgsDDSetup()
664 PetscCallCeed(ceed, CeedBasisDestroy(&basis_q)); in SgsDDSetup()
700PetscCallCeed(ceed, CeedQFunctionContextGetDataRead(problem->apply_vol_ifunction.qfctx, CEED_MEM_H… in SgsDDSetup()
702PetscCallCeed(ceed, CeedQFunctionContextRestoreDataRead(problem->apply_vol_ifunction.qfctx, &newt_… in SgsDDSetup()
703 PetscCallCeed(ceed, CeedQFunctionContextCreate(honee->ceed, &sgs_dd_setup_data->sgsdd_qfctx)); in SgsDDSetup()
704 PetscCallCeed(ceed, in SgsDDSetup()
706PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(sgs_dd_setup_data->sgsdd_qfctx, CEED_MEM_HO… in SgsDDSetup()
708PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(problem->apply_vol_ifunction.qfctx, &sgs_dd_… in SgsDDSetup()