Home
last modified time | relevance | path

Searched refs:qfunction_context (Results 1 – 17 of 17) sorted by relevance

/libCEED/examples/fluids/problems/
H A Dgaussianwave.c64 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_GAUSSIAN_WAVE()
65 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_freestream.qfunction_context, CEED_… in NS_GAUSSIAN_WAVE()
73 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_GAUSSIAN_WAVE()
74 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_freestream.qfunction_context, &… in NS_GAUSSIAN_WAVE()
79 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_GAUSSIAN_WAVE()
80 problem->ics.qfunction_context = gausswave_context; in NS_GAUSSIAN_WAVE()
H A Dchannel.c33 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_CHANNEL()
76 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_CHANNEL()
95 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_CHANNEL()
101 problem->ics.qfunction_context = channel_context; in NS_CHANNEL()
102 …eed, CeedQFunctionContextReferenceCopy(channel_context, &problem->apply_inflow.qfunction_context)); in NS_CHANNEL()
103 …ed, CeedQFunctionContextReferenceCopy(channel_context, &problem->apply_outflow.qfunction_context)); in NS_CHANNEL()
H A Deulervortex.c136 …cCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->ics.qfunction_context)); in NS_EULER_VORTEX()
137 …ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_vol_rhs.qfunction_context)); in NS_EULER_VORTEX()
138 …CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_vol_ifunction.qfunction_context)); in NS_EULER_VORTEX()
139 …(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_inflow.qfunction_context)); in NS_EULER_VORTEX()
140 …ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_outflow.qfunction_context)); in NS_EULER_VORTEX()
151 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfunction_context, CEED_MEM_HOST, &eu… in PRINT_EULER_VORTEX()
161 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfunction_context, &euler_ctx)); in PRINT_EULER_VORTEX()
H A Dadvection.c260 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &problem->ics.qfunction_context)); in NS_ADVECTION()
262 …CeedQFunctionContextSetData(problem->ics.qfunction_context, CEED_MEM_HOST, CEED_USE_POINTER, sizeo… in NS_ADVECTION()
263 …PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(problem->ics.qfunction_context, CEED_MEM_HO… in NS_ADVECTION()
270 problem->apply_vol_rhs.qfunction_context = advection_context; in NS_ADVECTION()
271 …QFunctionContextReferenceCopy(advection_context, &problem->apply_vol_ifunction.qfunction_context)); in NS_ADVECTION()
272 …d, CeedQFunctionContextReferenceCopy(advection_context, &problem->apply_inflow.qfunction_context)); in NS_ADVECTION()
283 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfunction_context, CEED_MEM_HOST, &se… in PRINT_ADVECTION()
284 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in PRINT_ADVECTION()
306 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfunction_context, &setup_ctx)); in PRINT_ADVECTION()
307 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &adv… in PRINT_ADVECTION()
H A Ddensitycurrent.c32 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_DENSITY_CURRENT()
98 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_DENSITY_CURRENT()
100 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_DENSITY_CURRENT()
104 problem->ics.qfunction_context = density_current_context; in NS_DENSITY_CURRENT()
H A Dshocktube.c132 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &problem->ics.qfunction_context)); in NS_SHOCKTUBE()
134 …CeedQFunctionContextSetData(problem->ics.qfunction_context, CEED_MEM_HOST, CEED_USE_POINTER, sizeo… in NS_SHOCKTUBE()
135 …PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(problem->ics.qfunction_context, CEED_MEM_HO… in NS_SHOCKTUBE()
140 problem->apply_vol_rhs.qfunction_context = shocktube_context; in NS_SHOCKTUBE()
H A Dbc_slip.c45 …ed, CeedQFunctionContextReferenceCopy(newtonian_ig_qfctx, &problem->apply_slip.qfunction_context)); in SlipBCSetup()
46 …FunctionContextReferenceCopy(newtonian_ig_qfctx, &problem->apply_slip_jacobian.qfunction_context)); in SlipBCSetup()
H A Dstg_shur14.c270 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in SetupStg()
272 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in SetupStg()
282 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in SetupStg()
285 problem->ics.qfunction_context = stg_context; in SetupStg()
296 …ed(ceed, CeedQFunctionContextReferenceCopy(stg_context, &problem->apply_inflow.qfunction_context)); in SetupStg()
297 …CeedQFunctionContextReferenceCopy(stg_context, &problem->apply_inflow_jacobian.qfunction_context)); in SetupStg()
343 PetscCallCeed(ceed, CeedQFunctionSetContext(*qf_strongbc, problem->ics.qfunction_context)); in SetupStrongStg_QF()
355 PetscCallCeed(ceed, CeedQFunctionSetContext(*qf_strongbc, problem->ics.qfunction_context)); in SetupStrongStg_PreProcessing()
H A Dnewtonian.c443 PetscCallCeed(ceed, CeedQFunctionContextCreate(user->ceed, &problem->ics.qfunction_context)); in NS_NEWTONIAN_IG()
445 …CeedQFunctionContextSetData(problem->ics.qfunction_context, CEED_MEM_HOST, CEED_USE_POINTER, sizeo… in NS_NEWTONIAN_IG()
446 …PetscCallCeed(ceed, CeedQFunctionContextSetDataDestroy(problem->ics.qfunction_context, CEED_MEM_HO… in NS_NEWTONIAN_IG()
447 …PetscCallCeed(ceed, CeedQFunctionContextRegisterDouble(problem->ics.qfunction_context, "evaluation… in NS_NEWTONIAN_IG()
462 problem->apply_vol_rhs.qfunction_context = newtonian_ig_context; in NS_NEWTONIAN_IG()
463 …nctionContextReferenceCopy(newtonian_ig_context, &problem->apply_vol_ifunction.qfunction_context)); in NS_NEWTONIAN_IG()
464 …nctionContextReferenceCopy(newtonian_ig_context, &problem->apply_vol_ijacobian.qfunction_context)); in NS_NEWTONIAN_IG()
465 …CeedQFunctionContextReferenceCopy(newtonian_ig_context, &problem->apply_inflow.qfunction_context)); in NS_NEWTONIAN_IG()
466 …tionContextReferenceCopy(newtonian_ig_context, &problem->apply_inflow_jacobian.qfunction_context)); in NS_NEWTONIAN_IG()
484 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in PRINT_NEWTONIAN()
[all …]
H A Dblasius.c323 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in NS_BLASIUS()
350 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in NS_BLASIUS()
356 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in NS_BLASIUS()
357 problem->ics.qfunction_context = blasius_context; in NS_BLASIUS()
369 …eed, CeedQFunctionContextReferenceCopy(blasius_context, &problem->apply_inflow.qfunction_context)); in NS_BLASIUS()
370 …QFunctionContextReferenceCopy(blasius_context, &problem->apply_inflow_jacobian.qfunction_context)); in NS_BLASIUS()
H A Dbc_freestream.c115 problem->apply_freestream.qfunction_context = freestream_context; in FreestreamBCSetup()
116 …onContextReferenceCopy(freestream_context, &problem->apply_freestream_jacobian.qfunction_context)); in FreestreamBCSetup()
217 problem->apply_outflow.qfunction_context = outflow_context; in OutflowBCSetup()
218 …FunctionContextReferenceCopy(outflow_context, &problem->apply_outflow_jacobian.qfunction_context)); in OutflowBCSetup()
/libCEED/examples/fluids/
H A Dnavierstokes.c275 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_inflow.qfunction_context)); in main()
276 …etscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_inflow_jacobian.qfunction_context)); in main()
277 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_outflow.qfunction_context)); in main()
278 …tscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_outflow_jacobian.qfunction_context)); in main()
279 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_freestream.qfunction_context)); in main()
280 …CallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_freestream_jacobian.qfunction_context)); in main()
281 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_slip.qfunction_context)); in main()
282 … PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_slip_jacobian.qfunction_context)); in main()
283 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in main()
284 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_vol_rhs.qfunction_context)); in main()
[all …]
H A Dnavierstokes.h227 CeedQFunctionContext qfunction_context; member
/libCEED/examples/fluids/src/
H A Dsetuplibceed.c157 PetscCallCeed(ceed, CeedQFunctionSetContext(*qf_apply_bc, apply_bc.qfunction_context)); in SetupBCQFunctions()
168 …allCeed(ceed, CeedQFunctionSetContext(*qf_apply_bc_jacobian, apply_bc_jacobian.qfunction_context)); in SetupBCQFunctions()
294 …(ceed, CeedQFunctionContextGetDataRead(problem->apply_vol_ifunction.qfunction_context, CEED_MEM_HO… in SetupLibceed()
296 …d(ceed, CeedQFunctionContextRestoreDataRead(problem->apply_vol_ifunction.qfunction_context, &gas)); in SetupLibceed()
343 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_ics, problem->ics.qfunction_context)); in SetupLibceed()
365 …PetscCallCeed(ceed, CeedQFunctionSetContext(qf_rhs_vol, problem->apply_vol_rhs.qfunction_context)); in SetupLibceed()
390 …d(ceed, CeedQFunctionSetContext(qf_ifunction_vol, problem->apply_vol_ifunction.qfunction_context)); in SetupLibceed()
419 …d(ceed, CeedQFunctionSetContext(qf_ijacobian_vol, problem->apply_vol_ijacobian.qfunction_context)); in SetupLibceed()
H A Dvelocity_gradient_projection.c83 …ed(ceed, CeedQFunctionSetContext(qf_rhs_assemble, problem->apply_vol_ifunction.qfunction_context)); in VelocityGradientProjectionSetup()
H A Ddifferential_filter.c269 …(ceed, CeedQFunctionContextGetDataRead(problem->apply_vol_ifunction.qfunction_context, CEED_MEM_HO… in DifferentialFilterSetup()
271 …d(ceed, CeedQFunctionContextRestoreDataRead(problem->apply_vol_ifunction.qfunction_context, &gas)); in DifferentialFilterSetup()
H A Dturb_spanstats.c391 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM… in CreateStatisticCollectionOperator()
404 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &new… in CreateStatisticCollectionOperator()