| /libCEED/examples/fluids/problems/ |
| H A D | channel.c | 23 NewtonianIdealGasContext newtonian_ig_ctx; in NS_CHANNEL() local 76 …unctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_CHANNEL() 84 channel_ctx->B = body_force_scale * 2 * umax * newtonian_ig_ctx->mu / (H * H); in NS_CHANNEL() 88 CeedScalar cv = newtonian_ig_ctx->cv, cp = newtonian_ig_ctx->cp; in NS_CHANNEL() 92 PetscCall(PetscArraycpy(newtonian_ig_ctx->g, g, 3)); in NS_CHANNEL() 94 channel_ctx->newtonian_ctx = *newtonian_ig_ctx; in NS_CHANNEL() 95 …eed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &newtonian_ig_ctx)); in NS_CHANNEL()
|
| H A D | newtonian.c | 223 NewtonianIdealGasContext newtonian_ig_ctx; in NS_NEWTONIAN_IG() local 228 PetscCall(PetscCalloc1(1, &newtonian_ig_ctx)); in NS_NEWTONIAN_IG() 414 newtonian_ig_ctx->lambda = lambda; in NS_NEWTONIAN_IG() 415 newtonian_ig_ctx->mu = mu; in NS_NEWTONIAN_IG() 416 newtonian_ig_ctx->k = k; in NS_NEWTONIAN_IG() 417 newtonian_ig_ctx->cv = cv; in NS_NEWTONIAN_IG() 418 newtonian_ig_ctx->cp = cp; in NS_NEWTONIAN_IG() 419 newtonian_ig_ctx->c_tau = c_tau; in NS_NEWTONIAN_IG() 420 newtonian_ig_ctx->Ctau_t = Ctau_t; in NS_NEWTONIAN_IG() 421 newtonian_ig_ctx->Ctau_v = Ctau_v; in NS_NEWTONIAN_IG() [all …]
|
| H A D | gaussianwave.c | 25 NewtonianIdealGasContext newtonian_ig_ctx; in NS_GAUSSIAN_WAVE() local 64 …unctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_GAUSSIAN_WAVE() 70 gausswave_ctx->newt_ctx = *newtonian_ig_ctx; in NS_GAUSSIAN_WAVE() 73 …eed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &newtonian_ig_ctx)); in NS_GAUSSIAN_WAVE()
|
| H A D | densitycurrent.c | 24 NewtonianIdealGasContext newtonian_ig_ctx; in NS_DENSITY_CURRENT() local 98 …unctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_DENSITY_CURRENT() 99 dc_ctx->newtonian_ctx = *newtonian_ig_ctx; in NS_DENSITY_CURRENT() 100 …eed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &newtonian_ig_ctx)); in NS_DENSITY_CURRENT()
|
| H A D | blasius.c | 247 NewtonianIdealGasContext newtonian_ig_ctx; in NS_BLASIUS() local 323 …unctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_BLASIUS() 329 State S_infty = StateFromPrimitive(newtonian_ig_ctx, Y_inf); in NS_BLASIUS() 337 …if (P0_set) newtonian_ig_ctx->idl_pressure = P_inf; // For maintaining behavior of -P0 flag (whic… in NS_BLASIUS() 338 blasius_ctx->newtonian_ctx = *newtonian_ig_ctx; in NS_BLASIUS() 350 …eed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &newtonian_ig_ctx)); in NS_BLASIUS()
|
| H A D | bc_freestream.c | 23 …tup(ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, const StateP… in FreestreamBCSetup() argument 105 State S_infty = StateFromPrimitive(newtonian_ig_ctx, Y_inf); in FreestreamBCSetup() 109 freestream_ctx->newtonian_ctx = *newtonian_ig_ctx; in FreestreamBCSetup() 122 if (run_unit_tests) PetscCall(RiemannSolverUnitTests(newtonian_ig_ctx, 5e-7)); in FreestreamBCSetup() 133 …tup(ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, const StateP… in OutflowBCSetup() argument 208 outflow_ctx->gas = *newtonian_ig_ctx; in OutflowBCSetup()
|
| H A D | stg_shur14.c | 228 NewtonianIdealGasContext newtonian_ig_ctx; in SetupStg() local 270 …unctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM_HOST, &newtonian_ig_ctx)); in SetupStg() 271 global_stg_ctx->newtonian_ctx = *newtonian_ig_ctx; in SetupStg() 272 …eed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &newtonian_ig_ctx)); in SetupStg()
|
| /libCEED/examples/fluids/src/ |
| H A D | turb_spanstats.c | 363 NewtonianIdealGasContext newtonian_ig_ctx; in CreateStatisticCollectionOperator() local 391 …unctionContextGetData(problem->apply_vol_rhs.qfunction_context, CEED_MEM_HOST, &newtonian_ig_ctx)); in CreateStatisticCollectionOperator() 392 collect_ctx->gas = *newtonian_ig_ctx; in CreateStatisticCollectionOperator() 404 …eed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfunction_context, &newtonian_ig_ctx)); in CreateStatisticCollectionOperator()
|
| /libCEED/examples/fluids/ |
| H A D | navierstokes.h | 413 …tup(ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, const StateP… 414 …tup(ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, const StateP…
|