Home
last modified time | relevance | path

Searched refs:PetscCallCeed (Results 1 – 25 of 40) sorted by relevance

12

/honee/src/
H A Dsetuplibceed.c28 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(honee->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_Unstabilized()
29 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &op_field)); in CreateKSPMassOperator_Unstabilized()
30 PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_Unstabilized()
31 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &op_field)); in CreateKSPMassOperator_Unstabilized()
32 PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_qd, NULL, &q_data)); in CreateKSPMassOperator_Unstabilized()
35 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in CreateKSPMassOperator_Unstabilized()
36 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_qd, &q_data_size)); in CreateKSPMassOperator_Unstabilized()
39 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, op_mass)); in CreateKSPMassOperator_Unstabilized()
40 PetscCallCeed(ceed, CeedOperatorSetName(*op_mass, "RHS Mass Operator")); in CreateKSPMassOperator_Unstabilized()
41PetscCallCeed(ceed, CeedOperatorSetField(*op_mass, "u", elem_restr_q, basis_q, CEED_VECTOR_ACTIVE)… in CreateKSPMassOperator_Unstabilized()
[all …]
H A Dqdata.c34 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()
61PetscCallCeed(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()
[all …]
H A Dstrong_boundary_conditions.c38 PetscCallCeed(ceed, CeedBasisCreateProjection(basis_x_face, basis_q_face, &basis_x_to_q_face)); in SetupStrongSTG_Ceed()
40 PetscCallCeed(ceed, CeedBasisDestroy(&basis_q_face)); in SetupStrongSTG_Ceed()
41 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x_face)); in SetupStrongSTG_Ceed()
45PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, SetupStrongBC, SetupStrongBC_loc, &qf_set… in SetupStrongSTG_Ceed()
46 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "x", num_comp_x, CEED_EVAL_INTERP)); in SetupStrongSTG_Ceed()
47 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "dxdX", dXdx_size, CEED_EVAL_GRAD)); in SetupStrongSTG_Ceed()
48 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "multiplicity", num_comp_q, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
49 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "x stored", num_comp_x, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
50 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "scale", 1, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
51 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "dXdx", dXdx_size, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
[all …]
H A Dboundary_condition.c106 if (honee_bc->qfctx) PetscCallCeed(ceed, CeedQFunctionContextDestroy(&honee_bc->qfctx)); in HoneeBCDestroy()
149 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, qf_func_ptr, qf_loc, qf_ifunc)); in HoneeBCCreateIFunctionQF()
150 PetscCallCeed(ceed, CeedQFunctionSetContext(*qf_ifunc, qfctx)); in HoneeBCCreateIFunctionQF()
151 PetscCallCeed(ceed, CeedQFunctionSetUserFlopsEstimate(*qf_ifunc, 0)); in HoneeBCCreateIFunctionQF()
152 PetscCallCeed(ceed, CeedQFunctionAddInput(*qf_ifunc, "q", num_comp_q, CEED_EVAL_INTERP)); in HoneeBCCreateIFunctionQF()
153PetscCallCeed(ceed, CeedQFunctionAddInput(*qf_ifunc, "Grad_q", num_comp_q * dim_sur, CEED_EVAL_GRA… in HoneeBCCreateIFunctionQF()
154PetscCallCeed(ceed, CeedQFunctionAddInput(*qf_ifunc, "surface qdata", q_data_size_sur, CEED_EVAL_N… in HoneeBCCreateIFunctionQF()
155 PetscCallCeed(ceed, CeedQFunctionAddInput(*qf_ifunc, "x", num_comp_x, CEED_EVAL_INTERP)); in HoneeBCCreateIFunctionQF()
156 PetscCallCeed(ceed, CeedQFunctionAddOutput(*qf_ifunc, "v", num_comp_q, CEED_EVAL_INTERP)); in HoneeBCCreateIFunctionQF()
157 …if (num_comps_jac_data) PetscCallCeed(ceed, CeedQFunctionAddOutput(*qf_ifunc, "surface jacobian da… in HoneeBCCreateIFunctionQF()
[all …]
H A Ddifferential_filter.c39PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Prim, Differential… in DifferentialFilterCreateOperators()
42PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Conserv, Different… in DifferentialFilterCreateOperators()
45PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Entropy, Different… in DifferentialFilterCreateOperators()
49 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_rhs)); in DifferentialFilterCreateOperators()
50PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_MMS_RHS, DifferentialF… in DifferentialFilterCreateOperators()
55 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_rhs, diff_filter_qfctx)); in DifferentialFilterCreateOperators()
56 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs, "q", num_comp_q, CEED_EVAL_INTERP)); in DifferentialFilterCreateOperators()
57 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs, "qdata", q_data_size, CEED_EVAL_NONE)); in DifferentialFilterCreateOperators()
58 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs, "x", num_comp_x, CEED_EVAL_INTERP)); in DifferentialFilterCreateOperators()
63PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs, field_name, diff_filter->num_field_components[i… in DifferentialFilterCreateOperators()
[all …]
H A Dgrid_anisotropy_tensor.c56PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, AnisotropyTensorProjection, AnisotropyTen… in GridAnisotropyTensorProjectionSetupApply()
57PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "qdata", q_data_size, CEED_EVAL_NONE)); in GridAnisotropyTensorProjectionSetupApply()
58PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_assemble, "v", grid_aniso_proj->num_comp, CEED_E… in GridAnisotropyTensorProjectionSetupApply()
60 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_rhs_assemble, NULL, NULL, &op_rhs_assemble)); in GridAnisotropyTensorProjectionSetupApply()
61PetscCallCeed(ceed, CeedOperatorSetField(op_rhs_assemble, "qdata", elem_restr_qd, CEED_BASIS_NONE,… in GridAnisotropyTensorProjectionSetupApply()
62PetscCallCeed(ceed, CeedOperatorSetField(op_rhs_assemble, "v", *elem_restr_grid_aniso, basis_grid_… in GridAnisotropyTensorProjectionSetupApply()
67 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_rhs_assemble)); in GridAnisotropyTensorProjectionSetupApply()
68 PetscCallCeed(ceed, CeedOperatorDestroy(&op_rhs_assemble)); in GridAnisotropyTensorProjectionSetupApply()
77 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, &op_mass)); in GridAnisotropyTensorProjectionSetupApply()
78PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "u", *elem_restr_grid_aniso, basis_grid_aniso, C… in GridAnisotropyTensorProjectionSetupApply()
[all …]
H A Dvelocity_gradient_projection.c72PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Prim, Veloc… in VelocityGradientProjectionSetup()
76PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Conserv, Ve… in VelocityGradientProjectionSetup()
80PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Entropy, Ve… in VelocityGradientProjectionSetup()
85PetscCallCeed(ceed, CeedQFunctionSetContext(qf_rhs_assemble, problem->apply_vol_ifunction.qfctx)); in VelocityGradientProjectionSetup()
86PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "q", num_comp_input, CEED_EVAL_INTERP)); in VelocityGradientProjectionSetup()
87PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "Grad_q", num_comp_input * dim, CEED_EV… in VelocityGradientProjectionSetup()
88PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "qdata", q_data_size, CEED_EVAL_NONE)); in VelocityGradientProjectionSetup()
89 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "x", num_comp_x, CEED_EVAL_INTERP)); in VelocityGradientProjectionSetup()
90PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_assemble, "velocity gradient", grad_velo_proj->n… in VelocityGradientProjectionSetup()
92 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_rhs_assemble, NULL, NULL, &op_rhs_assemble)); in VelocityGradientProjectionSetup()
[all …]
H A Dhonee-mass.c23 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_1, Mass_1_loc, qf)); in HoneeMassQFunctionCreate()
26 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_2, Mass_2_loc, qf)); in HoneeMassQFunctionCreate()
29 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_3, Mass_3_loc, qf)); in HoneeMassQFunctionCreate()
32 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_4, Mass_4_loc, qf)); in HoneeMassQFunctionCreate()
35 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_5, Mass_5_loc, qf)); in HoneeMassQFunctionCreate()
38 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_6, Mass_6_loc, qf)); in HoneeMassQFunctionCreate()
41 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_7, Mass_7_loc, qf)); in HoneeMassQFunctionCreate()
44 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_9, Mass_9_loc, qf)); in HoneeMassQFunctionCreate()
47 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_12, Mass_12_loc, qf)); in HoneeMassQFunctionCreate()
50 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_22, Mass_22_loc, qf)); in HoneeMassQFunctionCreate()
[all …]
H A Dinverse_multiplicity.c36PetscCallCeed(ceed, CeedElemRestrictionCreateVector(*elem_restr_inv_multiplicity, inv_multiplicity… in GetInverseMultiplicity()
39 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr, &num_comp)); in GetInverseMultiplicity()
40 PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr, &multiplicity, NULL)); in GetInverseMultiplicity()
48 PetscCallCeed(ceed, CeedElemRestrictionGetMultiplicity(elem_restr, multiplicity)); in GetInverseMultiplicity()
55 PetscCallCeed(ceed, CeedElemRestrictionGetMultiplicity(elem_restr, multiplicity)); in GetInverseMultiplicity()
58PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, InverseMultiplicity, InverseMultiplicity_… in GetInverseMultiplicity()
59PetscCallCeed(ceed, CeedQFunctionAddInput(qf_multiplicity, "multiplicity", num_comp, CEED_EVAL_NON… in GetInverseMultiplicity()
60PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_multiplicity, "inverse multiplicity", 1, CEED_EVAL_N… in GetInverseMultiplicity()
62 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_multiplicity, NULL, NULL, &op_multiplicity)); in GetInverseMultiplicity()
63 PetscCallCeed(ceed, CeedOperatorSetName(op_multiplicity, "InverseMultiplicity")); in GetInverseMultiplicity()
[all …]
H A Dmonitor_cfl.c51 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in SetupMontiorCfl()
59 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(main_op, &sub_ops)); in SetupMontiorCfl()
60 PetscCallCeed(ceed, CeedOperatorGetContext(sub_ops[sub_op_index], &newt_qfctx)); in SetupMontiorCfl()
67PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorCFL_2D_Prim, MonitorCFL_2D_Prim_lo… in SetupMontiorCfl()
70PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorCFL_2D_Conserv, MonitorCFL_2D_Cons… in SetupMontiorCfl()
73PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorCFL_2D_Entropy, MonitorCFL_2D_Entr… in SetupMontiorCfl()
80PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorCFL_3D_Prim, MonitorCFL_3D_Prim_lo… in SetupMontiorCfl()
83PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorCFL_3D_Conserv, MonitorCFL_3D_Cons… in SetupMontiorCfl()
86PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorCFL_3D_Entropy, MonitorCFL_3D_Entr… in SetupMontiorCfl()
100 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&newt_qfctx)); in SetupMontiorCfl()
[all …]
H A Ddiff_flux_projection.c52 PetscCallCeed(honee->ceed, in DivDiffFluxProjectionCreate()
83 PetscCallCeed(honee->ceed, in DivDiffFluxProjectionCreate()
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()
140 PetscCallCeed(ceed, CeedOperatorDestroy(&op_rhs)); in DivDiffFluxProjectionSetup_Direct()
155 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, &op_mass)); in DivDiffFluxProjectionSetup_Direct()
156PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "u", elem_restr_div_diff_flux_volume, basis_div_… in DivDiffFluxProjectionSetup_Direct()
157PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "qdata", elem_restr_qd, CEED_BASIS_NONE, q_data)… in DivDiffFluxProjectionSetup_Direct()
158PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "v", elem_restr_div_diff_flux_volume, basis_div_… in DivDiffFluxProjectionSetup_Direct()
[all …]
H A Dmonitor_totalkineticenergy.c38 PetscCallCeed(ceed, CeedBasisGetNumQuadraturePoints(basis, &num_elem_qpts)); in CreateElemRestrColloc_CompMajor()
39 PetscCallCeed(ceed, CeedElemRestrictionGetNumElements(elem_restr_base, &loc_num_elem)); in CreateElemRestrColloc_CompMajor()
42PetscCallCeed(ceed, CeedElemRestrictionCreateStrided(ceed, loc_num_elem, num_elem_qpts, num_comp, … in CreateElemRestrColloc_CompMajor()
74 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(main_op, &sub_ops)); in SetupMontiorTotalKineticEnergy()
75 PetscCallCeed(ceed, CeedOperatorGetContext(sub_ops[sub_op_index], &newt_qfctx)); in SetupMontiorTotalKineticEnergy()
81 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in SetupMontiorTotalKineticEnergy()
85PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MonitorTotalKineticEnergy_Prim, MonitorTo… in SetupMontiorTotalKineticEnergy()
88 PetscCallCeed(ceed, in SetupMontiorTotalKineticEnergy()
92 PetscCallCeed(ceed, in SetupMontiorTotalKineticEnergy()
97 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_monitor, newt_qfctx)); in SetupMontiorTotalKineticEnergy()
[all …]
H A Dmat-ceed.c99PetscCallCeed(ctx->ceed, CeedOperatorLinearAssemblePointBlockDiagonalSymbolic(ctx->op_mult, &num_e… in MatCeedAssemblePointBlockDiagonalCOO()
106 …if (!ctx->coo_values_pbd) PetscCallCeed(ctx->ceed, CeedVectorCreate(ctx->ceed, num_entries, &ctx->… in MatCeedAssemblePointBlockDiagonalCOO()
126PetscCallCeed(ctx->ceed, CeedOperatorLinearAssemblePointBlockDiagonal(ctx->op_mult, ctx->coo_value… in MatCeedAssemblePointBlockDiagonalCOO()
128 PetscCallCeed(ctx->ceed, CeedVectorGetArrayRead(ctx->coo_values_pbd, mem_type, &values)); in MatCeedAssemblePointBlockDiagonalCOO()
132 PetscCallCeed(ctx->ceed, CeedVectorRestoreArrayRead(ctx->coo_values_pbd, &values)); in MatCeedAssemblePointBlockDiagonalCOO()
294 PetscCallCeed(ctx->ceed, CeedOperatorSetNumViewTabs(ctx->op_mult, num_tabs)); in MatView_Ceed()
295 if (is_detailed) PetscCallCeed(ctx->ceed, CeedOperatorView(ctx->op_mult, file)); in MatView_Ceed()
296 else PetscCallCeed(ctx->ceed, CeedOperatorViewTerse(ctx->op_mult, file)); in MatView_Ceed()
297 PetscCallCeed(ctx->ceed, CeedOperatorSetNumViewTabs(ctx->op_mult, 0)); in MatView_Ceed()
303 PetscCallCeed(ctx->ceed, CeedOperatorGetNumViewTabs(ctx->op_mult_transpose, &prev_num_tabs)); in MatView_Ceed()
[all …]
H A Dpetsc_ops.c60 PetscCallCeed(ceed, CeedOperatorGetActiveVectorLengths(op_apply, &x_size, &y_size)); in OperatorApplyContextCreate()
83 PetscCallCeed(ceed, CeedVectorGetLength(x_ceed, &x_ceed_size)); in OperatorApplyContextCreate()
91 PetscCallCeed(ceed, CeedVectorGetLength(y_ceed, &y_ceed_size)); in OperatorApplyContextCreate()
114 if (x_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(x_ceed, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
115 else PetscCallCeed(ceed, CeedVectorCreate(ceed, x_size, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
117 if (y_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(y_ceed, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
118 else PetscCallCeed(ceed, CeedVectorCreate(ceed, y_size, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
120 PetscCallCeed(ceed, CeedOperatorReferenceCopy(op_apply, &(*ctx)->op)); in OperatorApplyContextCreate()
121 PetscCallCeed(ceed, CeedReferenceCopy(ceed, &(*ctx)->ceed)); in OperatorApplyContextCreate()
142 PetscCallCeed(ceed, CeedVectorDestroy(&ctx->x_ceed)); in OperatorApplyContextDestroy()
[all …]
/honee/problems/
H A Dadvection.c30 PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfctx, CEED_MEM_HOST, &setup_ctx)); in PRINT_ADVECTION()
31PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &adve… in PRINT_ADVECTION()
68 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfctx, &setup_ctx)); in PRINT_ADVECTION()
69PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &advection_ctx)); in PRINT_ADVECTION()
93 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(honee->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_AdvectionStabilized()
94 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &op_field)); in CreateKSPMassOperator_AdvectionStabilized()
95 PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_AdvectionStabilized()
96 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &op_field)); in CreateKSPMassOperator_AdvectionStabilized()
97 PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_qd, NULL, &q_data)); in CreateKSPMassOperator_AdvectionStabilized()
99 PetscCallCeed(ceed, CeedOperatorGetContext(sub_ops[sub_op_index], &qfctx)); in CreateKSPMassOperator_AdvectionStabilized()
[all …]
H A Dsgs_dd_model.c32 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()
[all …]
H A Dnewtonian.c25PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newt… in PRINT_NEWTONIAN()
31 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newt_ctx)); in PRINT_NEWTONIAN()
54 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(honee->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_NewtonianStabilized()
55 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &op_field)); in CreateKSPMassOperator_NewtonianStabilized()
56 PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_NewtonianStabilized()
57 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &op_field)); in CreateKSPMassOperator_NewtonianStabilized()
58 PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_qd, NULL, &q_data)); in CreateKSPMassOperator_NewtonianStabilized()
60 PetscCallCeed(ceed, CeedOperatorGetContext(sub_ops[sub_op_index], &qfctx)); in CreateKSPMassOperator_NewtonianStabilized()
63 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in CreateKSPMassOperator_NewtonianStabilized()
64 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_qd, &q_data_size)); in CreateKSPMassOperator_NewtonianStabilized()
[all …]
H A Dgaussianwave.c44PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newt… in NS_GAUSSIAN_WAVE()
54PetscCallCeed(ceed, CeedQFunctionContextGetData(honee_bc->qfctx, CEED_MEM_HOST, &freestream_ctx)); in NS_GAUSSIAN_WAVE()
56 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(honee_bc->qfctx, &freestream_ctx)); in NS_GAUSSIAN_WAVE()
66PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ct… in NS_GAUSSIAN_WAVE()
68 PetscCallCeed(ceed, CeedQFunctionContextCreate(honee->ceed, &gausswave_qfctx)); in NS_GAUSSIAN_WAVE()
69PetscCallCeed(ceed, CeedQFunctionContextSetData(gausswave_qfctx, CEED_MEM_HOST, CEED_USE_POINTER, … in NS_GAUSSIAN_WAVE()
70PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(gausswave_qfctx, CEED_MEM_HOST, FreeContext… in NS_GAUSSIAN_WAVE()
71 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfctx)); in NS_GAUSSIAN_WAVE()
H A Deulervortex.c20 PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfctx, CEED_MEM_HOST, &euler_ctx)); in PRINT_EULER_VORTEX()
30 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfctx, &euler_ctx)); in PRINT_EULER_VORTEX()
148 PetscCallCeed(ceed, CeedQFunctionContextCreate(honee->ceed, &euler_qfctx)); in NS_EULER_VORTEX()
149PetscCallCeed(ceed, CeedQFunctionContextSetData(euler_qfctx, CEED_MEM_HOST, CEED_USE_POINTER, size… in NS_EULER_VORTEX()
150PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(euler_qfctx, CEED_MEM_HOST, FreeContextPets… in NS_EULER_VORTEX()
151PetscCallCeed(ceed, CeedQFunctionContextRegisterDouble(euler_qfctx, "solution time", offsetof(stru… in NS_EULER_VORTEX()
153 PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &problem->ics.qfctx)); in NS_EULER_VORTEX()
154PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &problem->apply_vol_rhs.qfctx)); in NS_EULER_VORTEX()
155PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &problem->apply_vol_ifunction.q… in NS_EULER_VORTEX()
166 PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &honee_bc->qfctx)); in NS_EULER_VORTEX()
[all …]
H A Dtaylorgreen.c23 PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfctx, CEED_MEM_HOST, &setup_ctx)); in NS_TAYLOR_GREEN()
31 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfctx, &setup_ctx)); in NS_TAYLOR_GREEN()
39 PetscCallCeed(ceed, CeedQFunctionContextCreate(honee->ceed, &taylorgreen_qfctx)); in NS_TAYLOR_GREEN()
40PetscCallCeed(ceed, CeedQFunctionContextSetData(taylorgreen_qfctx, CEED_MEM_HOST, CEED_USE_POINTER… in NS_TAYLOR_GREEN()
41PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(taylorgreen_qfctx, CEED_MEM_HOST, FreeConte… in NS_TAYLOR_GREEN()
43 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfctx)); in NS_TAYLOR_GREEN()
H A Dstg_shur14.c290PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newt… in SetupStg()
292PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ct… in SetupStg()
296 PetscCallCeed(ceed, CeedQFunctionContextCreate(honee->ceed, &stg_qfctx)); in SetupStg()
297PetscCallCeed(ceed, CeedQFunctionContextSetData(stg_qfctx, CEED_MEM_HOST, CEED_USE_POINTER, global… in SetupStg()
298PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(stg_qfctx, CEED_MEM_HOST, FreeContextPetsc)… in SetupStg()
299PetscCallCeed(ceed, CeedQFunctionContextRegisterDouble(stg_qfctx, "solution time", offsetof(struct… in SetupStg()
302 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfctx)); in SetupStg()
319 PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(stg_qfctx, &honee_bc->qfctx)); in SetupStg()
370PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, StgShur14InflowStrongQF, StgShur14InflowS… in SetupStrongStg_QF()
371 PetscCallCeed(ceed, CeedQFunctionAddInput(*qf_strongbc, "dXdx", dXdx_size, CEED_EVAL_NONE)); in SetupStrongStg_QF()
[all …]
/honee/src/spanstats/
H A Dturbulence.c37PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_Prim, ChildStatsColl… in CreateStatisticCollectionOperator()
40PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_Conserv, ChildStatsC… in CreateStatisticCollectionOperator()
43PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_Entropy, ChildStatsC… in CreateStatisticCollectionOperator()
48 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_stats_collect)); in CreateStatisticCollectionOperator()
49PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollectionMMSTest, ChildStatsCo… in CreateStatisticCollectionOperator()
59PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newt… in CreateStatisticCollectionOperator()
62 PetscCallCeed(ceed, CeedQFunctionContextCreate(honee->ceed, &collect_qfctx)); in CreateStatisticCollectionOperator()
63PetscCallCeed(ceed, CeedQFunctionContextSetData(collect_qfctx, CEED_MEM_HOST, CEED_USE_POINTER, si… in CreateStatisticCollectionOperator()
64PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(collect_qfctx, CEED_MEM_HOST, FreeContextPe… in CreateStatisticCollectionOperator()
66 PetscCallCeed(ceed, CeedQFunctionContextRegisterDouble(collect_qfctx, "solution time", in CreateStatisticCollectionOperator()
[all …]
H A Dcflpe.c40 PetscCallCeed(ceed, in CreateStatisticCollectionOperator()
44PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_2D_Conserv, ChildSta… in CreateStatisticCollectionOperator()
48PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_2D_Entropy, ChildSta… in CreateStatisticCollectionOperator()
56 PetscCallCeed(ceed, in CreateStatisticCollectionOperator()
60PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_3D_Conserv, ChildSta… in CreateStatisticCollectionOperator()
64PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, ChildStatsCollection_3D_Entropy, ChildSta… in CreateStatisticCollectionOperator()
86PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &adve… in CreateStatisticCollectionOperator()
89PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &advection_ctx)); in CreateStatisticCollectionOperator()
93PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newt… in CreateStatisticCollectionOperator()
96PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ct… in CreateStatisticCollectionOperator()
[all …]
H A Dspanstats.c126 PetscCallCeed(ceed, CeedBasisGetNumQuadraturePoints(basis, &num_elem_qpts)); in CreateElemRestrColloc_CompMajor()
127 PetscCallCeed(ceed, CeedElemRestrictionGetNumElements(elem_restr_base, &loc_num_elem)); in CreateElemRestrColloc_CompMajor()
130PetscCallCeed(ceed, CeedElemRestrictionCreateStrided(ceed, loc_num_elem, num_elem_qpts, num_comp, … in CreateElemRestrColloc_CompMajor()
149 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_x, &num_comp_x)); in GetQuadratureCoords()
151 PetscCallCeed(ceed, CeedElemRestrictionGetLVectorSize(elem_restr_qx, &l_vec_size)); in GetQuadratureCoords()
155PetscCallCeed(ceed, CeedQFunctionCreateIdentity(ceed, num_comp_x, CEED_EVAL_INTERP, CEED_EVAL_NONE… in GetQuadratureCoords()
158 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_quad_coords, NULL, NULL, &op_quad_coords)); in GetQuadratureCoords()
159PetscCallCeed(ceed, CeedOperatorSetField(op_quad_coords, "input", elem_restr_x, basis_x, x_coords)… in GetQuadratureCoords()
160PetscCallCeed(ceed, CeedOperatorSetField(op_quad_coords, "output", elem_restr_qx, CEED_BASIS_NONE,… in GetQuadratureCoords()
168 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qx)); in GetQuadratureCoords()
[all …]
/honee/src/smartsim/
H A Dsgs_dd_training.c51 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&sgs_dd_train_setup_data->elem_restr_grid_aniso)); in SGS_DD_TrainingSetupDataDestroy()
52 PetscCallCeed(ceed, CeedVectorDestroy(&sgs_dd_train_setup_data->grid_aniso_ceed)); in SGS_DD_TrainingSetupDataDestroy()
53 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&sgs_dd_train_setup_data->sgs_dd_train_qfctx)); in SGS_DD_TrainingSetupDataDestroy()
101PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(sgs_dd_train_setup_data->elem_restr_grid_a… in SetupTrainingDataCalculation()
113PetscCallCeed(ceed, CeedOperatorGetFieldByName(sgs_dd_train->diff_filter->op_rhs_ctx->op, "v0", &o… in SetupTrainingDataCalculation()
114PetscCallCeed(ceed, CeedOperatorFieldGetData(op_field, NULL, &elem_restr_filtered_state, &basis_fi… in SetupTrainingDataCalculation()
115PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_filtered_state, &num_comp_filte… in SetupTrainingDataCalculation()
118 PetscCallCeed(ceed, CeedBasisDestroy(&basis_filtered_state)); in SetupTrainingDataCalculation()
120PetscCallCeed(ceed, CeedOperatorGetFieldByName(sgs_dd_train->filtered_grad_velo_proj->l2_rhs_ctx->… in SetupTrainingDataCalculation()
121 PetscCallCeed(ceed, CeedOperatorFieldGetElemRestriction(op_field, &elem_restr_grad_velo)); in SetupTrainingDataCalculation()
[all …]

12