Home
last modified time | relevance | path

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

12

/libCEED/examples/fluids/src/
H A Dsetuplibceed.c31 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(user->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_Unstabilized()
32 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &field)); in CreateKSPMassOperator_Unstabilized()
33 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_Unstabilized()
35 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &field)); in CreateKSPMassOperator_Unstabilized()
36 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_qd_i, NULL, &q_data)); in CreateKSPMassOperator_Unstabilized()
39 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in CreateKSPMassOperator_Unstabilized()
40 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_qd_i, &q_data_size)); in CreateKSPMassOperator_Unstabilized()
43 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, op_mass)); in CreateKSPMassOperator_Unstabilized()
44PetscCallCeed(ceed, CeedOperatorSetField(*op_mass, "u", elem_restr_q, basis_q, CEED_VECTOR_ACTIVE)… in CreateKSPMassOperator_Unstabilized()
45PetscCallCeed(ceed, CeedOperatorSetField(*op_mass, "qdata", elem_restr_qd_i, CEED_BASIS_NONE, q_da… in CreateKSPMassOperator_Unstabilized()
[all …]
H A Dstrong_boundary_conditions.c39 PetscCallCeed(ceed, CeedBasisCreateProjection(basis_x_sur, basis_q_sur, &basis_x_to_q_sur)); in SetupStrongSTG_Ceed()
41 PetscCallCeed(ceed, CeedBasisDestroy(&basis_q_sur)); in SetupStrongSTG_Ceed()
42 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x_sur)); in SetupStrongSTG_Ceed()
46PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, SetupStrongBC, SetupStrongBC_loc, &qf_set… in SetupStrongSTG_Ceed()
47 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "x", num_comp_x, CEED_EVAL_INTERP)); in SetupStrongSTG_Ceed()
48PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "dxdX", num_comp_x * dim_boundary, CEED_EVAL_G… in SetupStrongSTG_Ceed()
49 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "multiplicity", num_comp_q, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
50 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "x stored", num_comp_x, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
51 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "scale", 1, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
52 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "dXdx", dXdx_size, CEED_EVAL_NONE)); in SetupStrongSTG_Ceed()
[all …]
H A Dqdata.c82 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_x, &num_comp_x)); in QDataGet()
88PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2d, Setup2d_loc, &qf_setup)); in QDataGet()
91PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2D_3Dcoords, Setup2D_3Dcoords_loc, &… in QDataGet()
96 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup, Setup_loc, &qf_setup)); in QDataGet()
101 PetscCallCeed(ceed, CeedQFunctionSetUserFlopsEstimate(qf_setup, 0)); in QDataGet()
102PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "dx", num_comp_x * (dim - height), CEED_EVAL_G… in QDataGet()
103 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "weight", 1, CEED_EVAL_WEIGHT)); in QDataGet()
104PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_setup, "surface qdata", *q_data_size, CEED_EVAL_NONE… in QDataGet()
107 PetscCallCeed(ceed, CeedElemRestrictionCreateVector(*elem_restr_qd, q_data, NULL)); in QDataGet()
109 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_setup, NULL, NULL, &op_setup)); in QDataGet()
[all …]
H A Ddifferential_filter.c26 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_x, &num_comp_x)); in DifferentialFilterCreateOperators()
27 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_q, &num_comp_q)); in DifferentialFilterCreateOperators()
28PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_qd_i, &num_comp_qd)); in DifferentialFilterCreateOperators()
35PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Prim, Differential… in DifferentialFilterCreateOperators()
38PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Conserv, Different… in DifferentialFilterCreateOperators()
41PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Entropy, Different… in DifferentialFilterCreateOperators()
45 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_rhs)); in DifferentialFilterCreateOperators()
46PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_MMS_RHS, DifferentialF… in DifferentialFilterCreateOperators()
49 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_rhs, diff_filter_qfctx)); in DifferentialFilterCreateOperators()
50 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs, "q", num_comp_q, CEED_EVAL_INTERP)); in DifferentialFilterCreateOperators()
[all …]
H A Dinverse_multiplicity.c41PetscCallCeed(ceed, CeedElemRestrictionCreateVector(*elem_restr_inv_multiplicity, inv_multiplicity… in GetInverseMultiplicity()
44 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr, &num_comp)); in GetInverseMultiplicity()
45 PetscCallCeed(ceed, CeedElemRestrictionCreateVector(elem_restr, &multiplicity, NULL)); in GetInverseMultiplicity()
53 PetscCallCeed(ceed, CeedElemRestrictionGetMultiplicity(elem_restr, multiplicity)); in GetInverseMultiplicity()
60 PetscCallCeed(ceed, CeedElemRestrictionGetMultiplicity(elem_restr, multiplicity)); in GetInverseMultiplicity()
63PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, InverseMultiplicity, InverseMultiplicity_… in GetInverseMultiplicity()
64PetscCallCeed(ceed, CeedQFunctionAddInput(qf_multiplicity, "multiplicity", num_comp, CEED_EVAL_NON… in GetInverseMultiplicity()
65PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_multiplicity, "inverse multiplicity", 1, CEED_EVAL_N… in GetInverseMultiplicity()
67 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_multiplicity, NULL, NULL, &op_multiplicity)); in GetInverseMultiplicity()
68 PetscCallCeed(ceed, CeedOperatorSetName(op_multiplicity, "InverseMultiplicity")); in GetInverseMultiplicity()
[all …]
H A Dvelocity_gradient_projection.c60 PetscCallCeed(ceed, CeedBasisGetNumComponents(ceed_data->basis_x, &num_comp_x)); in VelocityGradientProjectionSetup()
61 PetscCallCeed(ceed, CeedBasisGetNumComponents(ceed_data->basis_q, &num_comp_input)); in VelocityGradientProjectionSetup()
62PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_qd_i, &q_data_size)); in VelocityGradientProjectionSetup()
70PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Prim, Veloc… in VelocityGradientProjectionSetup()
74PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Conserv, Ve… in VelocityGradientProjectionSetup()
78PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Entropy, Ve… in VelocityGradientProjectionSetup()
83PetscCallCeed(ceed, CeedQFunctionSetContext(qf_rhs_assemble, problem->apply_vol_ifunction.qfunctio… in VelocityGradientProjectionSetup()
84PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "q", num_comp_input, CEED_EVAL_INTERP)); in VelocityGradientProjectionSetup()
85PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "Grad_q", num_comp_input * dim, CEED_EV… in VelocityGradientProjectionSetup()
86 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "qdata", q_data_size, CEED_EVAL_NONE)); in VelocityGradientProjectionSetup()
[all …]
H A Dgrid_anisotropy_tensor.c52PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_qd_i, &q_data_size)); in GridAnisotropyTensorProjectionSetupApply()
58PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, AnisotropyTensorProjection, AnisotropyTen… in GridAnisotropyTensorProjectionSetupApply()
59 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "qdata", q_data_size, CEED_EVAL_NONE)); in GridAnisotropyTensorProjectionSetupApply()
60PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_assemble, "v", grid_aniso_proj->num_comp, CEED_E… in GridAnisotropyTensorProjectionSetupApply()
62 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_rhs_assemble, NULL, NULL, &op_rhs_assemble)); in GridAnisotropyTensorProjectionSetupApply()
63PetscCallCeed(ceed, CeedOperatorSetField(op_rhs_assemble, "qdata", ceed_data->elem_restr_qd_i, CEE… in GridAnisotropyTensorProjectionSetupApply()
64PetscCallCeed(ceed, CeedOperatorSetField(op_rhs_assemble, "v", *elem_restr_grid_aniso, basis_grid_… in GridAnisotropyTensorProjectionSetupApply()
70 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_mass, NULL, NULL, &op_mass)); in GridAnisotropyTensorProjectionSetupApply()
71PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "u", *elem_restr_grid_aniso, basis_grid_aniso, C… in GridAnisotropyTensorProjectionSetupApply()
72PetscCallCeed(ceed, CeedOperatorSetField(op_mass, "qdata", ceed_data->elem_restr_qd_i, CEED_BASIS_… in GridAnisotropyTensorProjectionSetupApply()
[all …]
H A Dturb_spanstats.c140 PetscCallCeed(ceed, CeedBasisGetNumQuadraturePoints(basis, &num_elem_qpts)); in CreateElemRestrColloc_CompMajor()
141 PetscCallCeed(ceed, CeedElemRestrictionGetNumElements(elem_restr_base, &loc_num_elem)); in CreateElemRestrColloc_CompMajor()
144PetscCallCeed(ceed, CeedElemRestrictionCreateStrided(ceed, loc_num_elem, num_elem_qpts, num_comp, … in CreateElemRestrColloc_CompMajor()
160 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_x, &num_comp_x)); in GetQuadratureCoords()
162 PetscCallCeed(ceed, CeedElemRestrictionGetLVectorSize(elem_restr_qx, &l_vec_size)); in GetQuadratureCoords()
166PetscCallCeed(ceed, CeedQFunctionCreateIdentity(ceed, num_comp_x, CEED_EVAL_INTERP, CEED_EVAL_NONE… in GetQuadratureCoords()
169 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_quad_coords, NULL, NULL, &op_quad_coords)); in GetQuadratureCoords()
170PetscCallCeed(ceed, CeedOperatorSetField(op_quad_coords, "input", elem_restr_x, basis_x, x_coords)… in GetQuadratureCoords()
171PetscCallCeed(ceed, CeedOperatorSetField(op_quad_coords, "output", elem_restr_qx, CEED_BASIS_NONE,… in GetQuadratureCoords()
179 PetscCallCeed(ceed, CeedElemRestrictionDestroy(&elem_restr_qx)); in GetQuadratureCoords()
[all …]
H A Dmat-ceed.c91PetscCallCeed(ctx->ceed, CeedOperatorLinearAssemblePointBlockDiagonalSymbolic(ctx->op_mult, &num_e… in MatCeedAssemblePointBlockDiagonalCOO()
98 …if (!ctx->coo_values_pbd) PetscCallCeed(ctx->ceed, CeedVectorCreate(ctx->ceed, num_entries, &ctx->… in MatCeedAssemblePointBlockDiagonalCOO()
121PetscCallCeed(ctx->ceed, CeedOperatorLinearAssemblePointBlockDiagonal(ctx->op_mult, ctx->coo_value… in MatCeedAssemblePointBlockDiagonalCOO()
123 PetscCallCeed(ctx->ceed, CeedVectorGetArrayRead(ctx->coo_values_pbd, mem_type, &values)); in MatCeedAssemblePointBlockDiagonalCOO()
127 PetscCallCeed(ctx->ceed, CeedVectorRestoreArrayRead(ctx->coo_values_pbd, &values)); in MatCeedAssemblePointBlockDiagonalCOO()
285 if (is_detailed) PetscCallCeed(ctx->ceed, CeedOperatorView(ctx->op_mult, file)); in MatView_Ceed()
286 else PetscCallCeed(ctx->ceed, CeedOperatorViewTerse(ctx->op_mult, file)); in MatView_Ceed()
291 if (is_detailed) PetscCallCeed(ctx->ceed, CeedOperatorView(ctx->op_mult_transpose, file)); in MatView_Ceed()
292 else PetscCallCeed(ctx->ceed, CeedOperatorViewTerse(ctx->op_mult_transpose, file)); in MatView_Ceed()
404 PetscCallCeed(ctx->ceed, CeedOperatorIsComposite(op_mult, &is_composite)); in MatCreateCeed()
[all …]
H A Dpetsc_ops.c64 PetscCallCeed(ceed, CeedOperatorGetActiveVectorLengths(op_apply, &x_size, &y_size)); in OperatorApplyContextCreate()
89 PetscCallCeed(ceed, CeedVectorGetLength(x_ceed, &x_ceed_size)); in OperatorApplyContextCreate()
98 PetscCallCeed(ceed, CeedVectorGetLength(y_ceed, &y_ceed_size)); in OperatorApplyContextCreate()
122 if (x_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(x_ceed, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
123 else PetscCallCeed(ceed, CeedVectorCreate(ceed, x_size, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
125 if (y_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(y_ceed, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
126 else PetscCallCeed(ceed, CeedVectorCreate(ceed, y_size, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
128 PetscCallCeed(ceed, CeedOperatorReferenceCopy(op_apply, &(*ctx)->op)); in OperatorApplyContextCreate()
129 PetscCallCeed(ceed, CeedReferenceCopy(ceed, &(*ctx)->ceed)); in OperatorApplyContextCreate()
150 PetscCallCeed(ceed, CeedVectorDestroy(&ctx->x_ceed)); in OperatorApplyContextDestroy()
[all …]
H A Dmisc.c26 …if (user->phys->ics_time_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(ceed_data->op_ics… in ICs_FixMultiplicity()
29 PetscCallCeed(ceed, CeedElemRestrictionCreateVector(ceed_data->elem_restr_q, &mult_vec, NULL)); in ICs_FixMultiplicity()
34 PetscCallCeed(ceed, CeedElemRestrictionGetMultiplicity(ceed_data->elem_restr_q, mult_vec)); in ICs_FixMultiplicity()
47 PetscCallCeed(ceed, CeedVectorDestroy(&mult_vec)); in ICs_FixMultiplicity()
255 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_1, Mass_1_loc, qf)); in CreateMassQFunction()
258 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_5, Mass_5_loc, qf)); in CreateMassQFunction()
261 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_7, Mass_7_loc, qf)); in CreateMassQFunction()
264 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_9, Mass_9_loc, qf)); in CreateMassQFunction()
267 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Mass_22, Mass_22_loc, qf)); in CreateMassQFunction()
273 PetscCallCeed(ceed, CeedQFunctionAddInput(*qf, "u", N, CEED_EVAL_INTERP)); in CreateMassQFunction()
[all …]
/libCEED/examples/fluids/problems/
H A Dadvection.c38 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(user->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_AdvectionStabilized()
39 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &field)); in CreateKSPMassOperator_AdvectionStabilized()
40 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_AdvectionStabilized()
42 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &field)); in CreateKSPMassOperator_AdvectionStabilized()
43 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_qd_i, NULL, &q_data)); in CreateKSPMassOperator_AdvectionStabilized()
45 PetscCallCeed(ceed, CeedOperatorGetContext(sub_ops[sub_op_index], &qf_ctx)); in CreateKSPMassOperator_AdvectionStabilized()
48 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in CreateKSPMassOperator_AdvectionStabilized()
49 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_qd_i, &q_data_size)); in CreateKSPMassOperator_AdvectionStabilized()
53PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MassFunction_Advection2D, MassFunction_Ad… in CreateKSPMassOperator_AdvectionStabilized()
56PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MassFunction_Advection, MassFunction_Adve… in CreateKSPMassOperator_AdvectionStabilized()
[all …]
H A Dnewtonian.c174 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(user->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_NewtonianStabilized()
175 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &field)); in CreateKSPMassOperator_NewtonianStabilized()
176 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_NewtonianStabilized()
178 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &field)); in CreateKSPMassOperator_NewtonianStabilized()
179 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_qd_i, NULL, &q_data)); in CreateKSPMassOperator_NewtonianStabilized()
181 PetscCallCeed(ceed, CeedOperatorGetContext(sub_ops[sub_op_index], &qf_ctx)); in CreateKSPMassOperator_NewtonianStabilized()
184 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in CreateKSPMassOperator_NewtonianStabilized()
185 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_qd_i, &q_data_size)); in CreateKSPMassOperator_NewtonianStabilized()
187PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, MassFunction_Newtonian_Conserv, MassFunct… in CreateKSPMassOperator_NewtonianStabilized()
189 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_mass, qf_ctx)); in CreateKSPMassOperator_NewtonianStabilized()
[all …]
H A Dgaussianwave.c64PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_GAUSSIAN_WAVE()
65PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_freestream.qfunction_context, CEED_… in NS_GAUSSIAN_WAVE()
73PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_GAUSSIAN_WAVE()
74PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_freestream.qfunction_context, &… in NS_GAUSSIAN_WAVE()
76 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &gausswave_context)); in NS_GAUSSIAN_WAVE()
77PetscCallCeed(ceed, CeedQFunctionContextSetData(gausswave_context, CEED_MEM_HOST, CEED_USE_POINTER… in NS_GAUSSIAN_WAVE()
78PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(gausswave_context, CEED_MEM_HOST, FreeConte… in NS_GAUSSIAN_WAVE()
79 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_GAUSSIAN_WAVE()
H A Deulervortex.c131 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &euler_context)); in NS_EULER_VORTEX()
132PetscCallCeed(ceed, CeedQFunctionContextSetData(euler_context, CEED_MEM_HOST, CEED_USE_POINTER, si… in NS_EULER_VORTEX()
133PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(euler_context, CEED_MEM_HOST, FreeContextPe… in NS_EULER_VORTEX()
134PetscCallCeed(ceed, CeedQFunctionContextRegisterDouble(euler_context, "solution time", offsetof(st… in NS_EULER_VORTEX()
136PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->ics.qfunction_conte… in NS_EULER_VORTEX()
137PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_vol_rhs.qfunc… in NS_EULER_VORTEX()
138PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_vol_ifunction… in NS_EULER_VORTEX()
139PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_inflow.qfunct… in NS_EULER_VORTEX()
140PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_outflow.qfunc… in NS_EULER_VORTEX()
141 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&euler_context)); in NS_EULER_VORTEX()
[all …]
H A Dchannel.c33 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_CHANNEL()
76PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_CHANNEL()
95PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_CHANNEL()
97 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &channel_context)); in NS_CHANNEL()
98PetscCallCeed(ceed, CeedQFunctionContextSetData(channel_context, CEED_MEM_HOST, CEED_USE_POINTER, … in NS_CHANNEL()
99PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(channel_context, CEED_MEM_HOST, FreeContext… in NS_CHANNEL()
102PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(channel_context, &problem->apply_inflow.qfun… in NS_CHANNEL()
103PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(channel_context, &problem->apply_outflow.qfu… in NS_CHANNEL()
H A Dstg_shur14.c270PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in SetupStg()
272PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in SetupStg()
276 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &stg_context)); in SetupStg()
277PetscCallCeed(ceed, CeedQFunctionContextSetData(stg_context, CEED_MEM_HOST, CEED_USE_POINTER, glob… in SetupStg()
278PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(stg_context, CEED_MEM_HOST, FreeContextPets… in SetupStg()
279PetscCallCeed(ceed, CeedQFunctionContextRegisterDouble(stg_context, "solution time", offsetof(stru… in SetupStg()
282 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in SetupStg()
296PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(stg_context, &problem->apply_inflow.qfunctio… in SetupStg()
297PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(stg_context, &problem->apply_inflow_jacobian… in SetupStg()
336PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, StgShur14InflowStrongQF, StgShur14InflowS… in SetupStrongStg_QF()
[all …]
H A Ddensitycurrent.c32 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_DENSITY_CURRENT()
98PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_DENSITY_CURRENT()
100PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_DENSITY_CURRENT()
101 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &density_current_context)); in NS_DENSITY_CURRENT()
102PetscCallCeed(ceed, CeedQFunctionContextSetData(density_current_context, CEED_MEM_HOST, CEED_USE_P… in NS_DENSITY_CURRENT()
103PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(density_current_context, CEED_MEM_HOST, Fre… in NS_DENSITY_CURRENT()
H A Dshocktube.c132 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &problem->ics.qfunction_context)); in NS_SHOCKTUBE()
133 PetscCallCeed(ceed, in NS_SHOCKTUBE()
135PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(problem->ics.qfunction_context, CEED_MEM_HO… in NS_SHOCKTUBE()
137 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &shocktube_context)); in NS_SHOCKTUBE()
138PetscCallCeed(ceed, CeedQFunctionContextSetData(shocktube_context, CEED_MEM_HOST, CEED_USE_POINTER… in NS_SHOCKTUBE()
139PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(shocktube_context, CEED_MEM_HOST, FreeConte… in NS_SHOCKTUBE()
H A Dbc_slip.c45PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(newtonian_ig_qfctx, &problem->apply_slip.qfu… in SlipBCSetup()
46PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(newtonian_ig_qfctx, &problem->apply_slip_jac… in SlipBCSetup()
H A Dblasius.c323PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_BLASIUS()
350PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_BLASIUS()
352 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &blasius_context)); in NS_BLASIUS()
353PetscCallCeed(ceed, CeedQFunctionContextSetData(blasius_context, CEED_MEM_HOST, CEED_USE_POINTER, … in NS_BLASIUS()
354PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(blasius_context, CEED_MEM_HOST, FreeContext… in NS_BLASIUS()
356 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_BLASIUS()
369PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(blasius_context, &problem->apply_inflow.qfun… in NS_BLASIUS()
370PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(blasius_context, &problem->apply_inflow_jaco… in NS_BLASIUS()
H A Dbc_freestream.c112 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &freestream_context)); in FreestreamBCSetup()
113PetscCallCeed(ceed, CeedQFunctionContextSetData(freestream_context, CEED_MEM_HOST, CEED_USE_POINTE… in FreestreamBCSetup()
114PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(freestream_context, CEED_MEM_HOST, FreeCont… in FreestreamBCSetup()
116PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(freestream_context, &problem->apply_freestre… in FreestreamBCSetup()
214 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &outflow_context)); in OutflowBCSetup()
215PetscCallCeed(ceed, CeedQFunctionContextSetData(outflow_context, CEED_MEM_HOST, CEED_USE_POINTER, … in OutflowBCSetup()
216PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(outflow_context, CEED_MEM_HOST, FreeContext… in OutflowBCSetup()
218PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(outflow_context, &problem->apply_outflow_jac… in OutflowBCSetup()
/libCEED/examples/fluids/
H A Dnavierstokes.c123 PetscCallCeed(ceed, CeedGetPreferredMemType(ceed, &mem_type_backend)); in main()
127 PetscCallCeed(ceed, CeedGetResource(ceed, &resource)); in main()
133 PetscCallCeed(ceed, CeedSetStream(ceed, stream_handle)); in main()
150 PetscCallCeed(ceed, CeedGetResource(ceed, &resolved)); in main()
257 PetscCallCeed(ceed, CeedVectorDestroy(&ceed_data->x_coord)); in main()
258 PetscCallCeed(ceed, CeedVectorDestroy(&ceed_data->q_data)); in main()
259 PetscCallCeed(ceed, CeedVectorDestroy(&user->q_ceed)); in main()
260 PetscCallCeed(ceed, CeedVectorDestroy(&user->q_dot_ceed)); in main()
261 PetscCallCeed(ceed, CeedVectorDestroy(&user->g_ceed)); in main()
264 PetscCallCeed(ceed, CeedBasisDestroy(&ceed_data->basis_q)); in main()
[all …]
/libCEED/examples/fluids/include/
H A Dpetsc-ceed-utils.h134PetscCallCeed(CeedVectorReturnCeed(x_ceed), CeedVectorSetArray(x_ceed, MemTypePetscToCeed(*mem_typ… in VecPetscToCeed()
153PetscCallCeed(CeedVectorReturnCeed(x_ceed), CeedVectorTakeArray(x_ceed, MemTypePetscToCeed(mem_typ… in VecCeedToPetsc()
174PetscCallCeed(CeedVectorReturnCeed(x_ceed), CeedVectorSetArray(x_ceed, MemTypePetscToCeed(*mem_typ… in VecReadPetscToCeed()
193PetscCallCeed(CeedVectorReturnCeed(x_ceed), CeedVectorTakeArray(x_ceed, MemTypePetscToCeed(mem_typ… in VecReadCeedToPetsc()
216 PetscCallCeed(ceed, CeedVectorGetLength(x_ceed, &x_size)); in VecCopyPetscToCeed()
221PetscCallCeed(ceed, CeedVectorSetArray(x_ceed, MemTypePetscToCeed(mem_type), CEED_COPY_VALUES, x)); in VecCopyPetscToCeed()
H A Dpetsc-ceed.h30 #ifndef PetscCallCeed
31 #define PetscCallCeed(ceed_, ...) \ macro

12