Home
last modified time | relevance | path

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

/honee/qfunctions/
H A Ddensitycurrent.h81 const DensityCurrentContext context = (DensityCurrentContext)ctx; in Exact_DC() local
82 const CeedScalar theta0 = context->theta0; in Exact_DC()
83 const CeedScalar thetaC = context->thetaC; in Exact_DC()
84 const CeedScalar P0 = context->P0; in Exact_DC()
85 const CeedScalar N = context->N; in Exact_DC()
86 const CeedScalar rc = context->rc; in Exact_DC()
87 const CeedScalar *center = context->center; in Exact_DC()
88 const CeedScalar *dc_axis = context->dc_axis; in Exact_DC()
89 NewtonianIGProperties gas = context->newt_ctx.gas; in Exact_DC()
92 const CeedScalar *g_vec = context->newt_ctx.g; in Exact_DC()
[all …]
H A Dadvection.h65 const SetupContextAdv context = (SetupContextAdv)ctx; in Exact_AdvectionGeneric() local
66 const CeedScalar rc = context->rc; in Exact_AdvectionGeneric()
67 const CeedScalar lx = context->lx; in Exact_AdvectionGeneric()
68 const CeedScalar ly = context->ly; in Exact_AdvectionGeneric()
69 const CeedScalar lz = dim == 2 ? 0. : context->lz; in Exact_AdvectionGeneric()
70 const CeedScalar *wind = context->wind; in Exact_AdvectionGeneric()
78 switch (context->wind_type) { in Exact_AdvectionGeneric()
99 switch (context->initial_condition_type) { in Exact_AdvectionGeneric()
103 switch (context->bubble_continuity_type) { in Exact_AdvectionGeneric()
125 CeedScalar half_width = context->lx / 2; in Exact_AdvectionGeneric()
[all …]
H A Dblasius.h100 const BlasiusContext context = (BlasiusContext)ctx; in ICsBlasius() local
101 const NewtonianIGProperties gas = context->newt_ctx.gas; in ICsBlasius()
102 const CeedScalar mu = context->newt_ctx.gas.mu; in ICsBlasius()
103 const CeedScalar delta0 = context->delta0; in ICsBlasius()
104 const CeedScalar x_inflow = context->x_inflow; in ICsBlasius()
107 const State S_infty = context->S_infty; in ICsBlasius()
114 State s = BlasiusSolution(context, x, x0, x_inflow, S_infty.U.density, &t12); in ICsBlasius()
117 StateToQ(gas, s, q, context->newt_ctx.state_var); in ICsBlasius()
125 const BlasiusContext context = (BlasiusContext)ctx; in Blasius_Inflow() local
131 const bool is_implicit = context->implicit; in Blasius_Inflow()
[all …]
H A Dchannel.h25 const ChannelContext context = (ChannelContext)ctx; in Exact_Channel() local
26 const CeedScalar theta0 = context->theta0; in Exact_Channel()
27 const CeedScalar P0 = context->P0; in Exact_Channel()
28 const CeedScalar umax = context->umax; in Exact_Channel()
29 const CeedScalar center = context->center; in Exact_Channel()
30 const CeedScalar H = context->H; in Exact_Channel()
31 NewtonianIGProperties gas = context->newt_ctx.gas; in Exact_Channel()
62 const ChannelContext context = (ChannelContext)ctx; in ICsChannel() local
63 NewtonianIGProperties gas = context->newt_ctx.gas; in ICsChannel()
69 StateToQ(gas, s, q, context->newt_ctx.state_var); in ICsChannel()
[all …]
H A Dnewtonian.h19 const SetupContext context = (SetupContext)ctx; in ICsNewtonianIG() local
20 NewtonianIGProperties gas = context->newt_ctx.gas; in ICsNewtonianIG()
24 State s = StateFromPrimitive(gas, context->reference); in ICsNewtonianIG()
50 NewtonianIdealGasContext context = (NewtonianIdealGasContext)ctx; in MassFunction_Newtonian() local
51 NewtonianIGProperties gas = context->gas; in MassFunction_Newtonian()
70 Tau_diagPrim(context->tau_coeffs, gas, s, dXdx, context->dt, Tau_d); in MassFunction_Newtonian()
71 Stabilization(context->stabilization, gas, s, Tau_d, grad_s, U_dot, body_force, divFdiff, stab); in MassFunction_Newtonian()
188 NewtonianIdealGasContext context = (NewtonianIdealGasContext)ctx; in RHSFunction_Newtonian() local
189 const bool use_divFdiff = context->divFdiff_method != DIV_DIFF_FLUX_PROJ_NONE; in RHSFunction_Newtonian()
199 const CeedScalar *g = context->g; in RHSFunction_Newtonian()
[all …]
H A Dtaylorgreen.h28 const TaylorGreenContext context = (TaylorGreenContext)ctx; in ICsTaylorGreen() local
29 const NewtonianIGProperties gas = context->newt_ctx.gas; in ICsTaylorGreen()
31 StatePrimitive reference = context->reference; in ICsTaylorGreen()
38 ScaleN(x, 2 * M_PI / context->lx, 3); in ICsTaylorGreen()
41 Y[1] = context->u[0] + V0 * sin(x[0]) * cos(x[1]) * cos(x[2]); in ICsTaylorGreen()
42 Y[2] = context->u[1] - V0 * cos(x[0]) * sin(x[1]) * cos(x[2]); in ICsTaylorGreen()
43 Y[3] = context->u[2]; in ICsTaylorGreen()
47 StateToQ(gas, s, q, context->newt_ctx.state_var); in ICsTaylorGreen()
H A Ddifferential_filter.h35 DifferentialFilterContext context = (DifferentialFilterContext)ctx; in DifferentialFilter_RHS() local
36 NewtonianIGProperties gas = context->newt_ctx.gas; in DifferentialFilter_RHS()
83 DifferentialFilterContext context = (DifferentialFilterContext)ctx; in DifferentialFilter_LHS_N() local
92 if (context->grid_based_width) { in DifferentialFilter_LHS_N()
102 if (context->damping_function == DIFF_FILTER_DAMP_VAN_DRIEST) { in DifferentialFilter_LHS_N()
103 …st CeedScalar damping_coeff = VanDriestWallDamping(x_i[1] / context->friction_length, context->dam… in DifferentialFilter_LHS_N()
104 scaling_matrix[0][0] = Max(1, damping_coeff * context->width_scaling[0]); in DifferentialFilter_LHS_N()
105 scaling_matrix[1][1] = damping_coeff * context->width_scaling[1]; in DifferentialFilter_LHS_N()
106 scaling_matrix[2][2] = Max(1, damping_coeff * context->width_scaling[2]); in DifferentialFilter_LHS_N()
107 } else if (context->damping_function == DIFF_FILTER_DAMP_NONE) { in DifferentialFilter_LHS_N()
[all …]
H A Dbc_freestream.h16 const FreestreamContext context = (FreestreamContext)ctx; in Freestream() local
20 CeedScalar(*jac_data_sur) = context->newt_ctx.is_implicit ? out[1] : NULL; in Freestream()
22 const NewtonianIGProperties gas = context->newt_ctx.gas; in Freestream()
23 const bool is_implicit = context->newt_ctx.is_implicit; in Freestream()
36 flux = RiemannFlux_HLL(gas, s, context->S_infty, normal); in Freestream()
39 flux = RiemannFlux_HLLC(gas, s, context->S_infty, normal); in Freestream()
83 const FreestreamContext context = (FreestreamContext)ctx; in Freestream_Jacobian() local
84 const NewtonianIGProperties gas = context->newt_ctx.gas; in Freestream_Jacobian()
85 const bool is_implicit = context->newt_ctx.is_implicit; in Freestream_Jacobian()
102 dflux = RiemannFlux_HLL_fwd(gas, s, ds, context->S_infty, dS_infty, normal); in Freestream_Jacobian()
[all …]
H A Dgaussianwave.h25 const GaussianWaveContext context = (GaussianWaveContext)ctx; in IC_GaussianWave() local
26 const NewtonianIdealGasContext newt_ctx = &context->newt_ctx; in IC_GaussianWave()
29 const CeedScalar amplitude = context->amplitude; in IC_GaussianWave()
30 const CeedScalar width = context->width; in IC_GaussianWave()
31 const State S_infty = context->S_infty; in IC_GaussianWave()
32 const CeedScalar xc = context->epicenter[0]; in IC_GaussianWave()
33 const CeedScalar yc = context->epicenter[1]; in IC_GaussianWave()
H A Dshocktube.h74 const SetupContextShock context = (SetupContextShock)ctx; in Exact_ShockTube() local
75 const CeedScalar mid_point = context->mid_point; // Midpoint of the domain in Exact_ShockTube()
76 const CeedScalar P_high = context->P_high; // Driver section pressure in Exact_ShockTube()
77 const CeedScalar rho_high = context->rho_high; // Driver section density in Exact_ShockTube()
78 const CeedScalar P_low = context->P_low; // Driven section pressure in Exact_ShockTube()
79 const CeedScalar rho_low = context->rho_low; // Driven section density in Exact_ShockTube()
218 ShockTubeContext context = (ShockTubeContext)ctx; in EulerShockTube() local
219 const CeedScalar Cyzb = context->Cyzb; in EulerShockTube()
220 const CeedScalar Byzb = context->Byzb; in EulerShockTube()
221 const CeedScalar c_tau = context->c_tau; in EulerShockTube()
[all …]
H A Deulervortex.h60 const EulerContext context = (EulerContext)ctx; in Exact_Euler() local
61 const CeedScalar vortex_strength = context->vortex_strength; in Exact_Euler()
62 const CeedScalar *center = context->center; // Center of the domain in Exact_Euler()
63 const CeedScalar *mean_velocity = context->mean_velocity; in Exact_Euler()
84 switch (context->euler_test) { in Exact_Euler()
227 const EulerContext context = (EulerContext)ctx; in ICsEuler() local
233 Exact_Euler(3, context->curr_time, x, 5, q, ctx); in ICsEuler()
270 EulerContext context = (EulerContext)ctx; in Euler() local
271 const CeedScalar c_tau = context->c_tau; in Euler()
359 switch (context->stabilization) { in Euler()
[all …]
H A Dstg_shur14.h289 const NewtonianIdealGasContext context = &stg_ctx->newt_ctx; in ICsStg() local
290 const NewtonianIGProperties gas = context->gas; in ICsStg()
318 StateToQ(gas, s, q, context->state_var); in ICsStg()
/honee/qfunctions/spanstats/
H A Dcflpe.h24 CflPe_SpanStatsContext context = (CflPe_SpanStatsContext)ctx; in ChildStatsCollection_CflPe() local
25 const NewtonianIGProperties gas = context->newt_ctx.gas; in ChildStatsCollection_CflPe()
26 CeedScalar delta_t = context->solution_time - context->previous_time; in ChildStatsCollection_CflPe()
44 cfl = CalculateCFL_2D(s.Y.velocity, context->timestep, gijd_mat); in ChildStatsCollection_CflPe()
45 Pe = CalculatePe_2D(s.Y.velocity, context->diffusion_coeff, gijd_mat); in ChildStatsCollection_CflPe()
57 cfl = CalculateCFL_3D(s.Y.velocity, context->timestep, gijd_mat); in ChildStatsCollection_CflPe()
58 Pe = CalculatePe_3D(s.Y.velocity, context->diffusion_coeff, gijd_mat); in ChildStatsCollection_CflPe()
H A Dturbulence.h46 Turbulence_SpanStatsContext context = (Turbulence_SpanStatsContext)ctx; in ChildStatsCollection() local
47 NewtonianIGProperties gas = context->newt_ctx.gas; in ChildStatsCollection()
48 CeedScalar delta_t = context->solution_time - context->previous_time; in ChildStatsCollection()
102 NewtonianIdealGasContext context = (NewtonianIdealGasContext)ctx; in ChildStatsCollectionMMSTest() local
103 const CeedScalar t = context->time; in ChildStatsCollectionMMSTest()
/honee/include/
H A Dnodal_projection.h13 PetscErrorCode NodalProjectionDataDestroy(NodalProjectionData *context);
/honee/src/
H A Dmisc.c189 PetscErrorCode NodalProjectionDataDestroy(NodalProjectionData *context) { in NodalProjectionDataDestroy() argument
190 NodalProjectionData context_ = *context; in NodalProjectionDataDestroy()
198 *context = NULL; in NodalProjectionDataDestroy()
/honee/doc/
H A Dtheory.md107 …ingle dot represents contraction in just one, which should be clear from context, e.g., $\bm v \cd…
564 Data flow for initializing function (which creates the context data struct) is given below:
590 subgraph context[Context Data]