| /honee/qfunctions/ |
| H A D | densitycurrent.h | 107 const CeedScalar theta = theta0 * exp(Square(N) * z / g) + delta_theta; in Exact_DC() 110 const CeedScalar Pi = 1. + Square(g) * (exp(-Square(N) * z / g) - 1.) / (cp * theta0 * Square(N)); in Exact_DC()
|
| H A D | differential_filter.h | 198 …const CeedScalar d_dy_dy = 0.06 * Square(1 / cosh(6 * x_i[1])); // Change of \Delta_y … in DifferentialFilter_MMS_IC() 199 …CeedScalar alpha[2] = {Square(dx) * aniso_scale_factor, Square(dy) * aniso_scale_f… in DifferentialFilter_MMS_IC() 204 CeedScalar d_damping_coeff = 60 / Square(cosh(60 * x_i[1])); in DifferentialFilter_MMS_IC() 206 alpha[1] *= Square(damping_coeff); in DifferentialFilter_MMS_IC() 211 …CeedScalar phi = phi_bar + alpha[0] * Square(omega6) * sin(6 * omega * x_i[0]) + alpha[1] * Square… in DifferentialFilter_MMS_IC()
|
| H A D | riemann_solver.h | 36 CeedScalar square_sum_root = Square(sqrt_left + sqrt_right); in RoeSetup_fwd() 85 dF_hll[i] += (S_l * (-F_l[i] + F_r[i] + S_l * U_l[i] - S_l * U_r[i]) / Square(S_diff)) * dS_r; in Flux_HLL_fwd() 86 dF_hll[i] += (S_r * (F_l[i] - F_r[i] - S_r * U_l[i] + S_r * U_r[i]) / Square(S_diff)) * dS_l; in Flux_HLL_fwd() 110 CeedScalar a_roe = sqrt((gamma - 1) * (H_roe - 0.5 * Square(u_roe))); in ComputeHLLSpeeds_Roe() 137 CeedScalar a_roe = sqrt((gamma - 1) * (H_roe - 0.5 * Square(u_roe))); in ComputeHLLSpeeds_Roe_fwd() 138 …CeedScalar da_roe = 0.5 * sqrt((gamma - 1) / (H_roe - 0.5 * Square(u_roe))) * dH_roe; // (da/dH) … in ComputeHLLSpeeds_Roe_fwd() 139 …da_roe -= 0.5 * sqrt(gamma - 1) * u_roe / sqrt(H_roe - 0.5 * Square(u_roe)) * du_roe; // (da/du) … in ComputeHLLSpeeds_Roe_fwd() 260 … dside.U.E_total / side.U.density - side.U.E_total / Square(side.U.density) * dside.U.density // in RiemannFlux_HLLC_Star_fwd() 262 …+ (s_star - u_side) * (ds_star + dside.Y.pressure / denom - side.Y.pressure / Square(denom) * dden… in RiemannFlux_HLLC_Star_fwd() 326 CeedScalar ds_star = dnumer / denom - numer / Square(denom) * ddenom; in RiemannFlux_HLLC_fwd()
|
| H A D | gaussianwave.h | 44 …const CeedScalar perturbation = 1 + amplitude * exp(-(Square(x0) + Square(y0)) / (2 * Square(width… in IC_GaussianWave()
|
| H A D | sgs_dd_utils.h | 91 inputs[5] = viscosity / Square(delta); in ComputeSgsDDInputs() 112 ScaleN(outputs, Square(delta) * Square(grad_velo_magnitude), 6); in ComputeSgsDDOutputs()
|
| H A D | sgs_dd_training.h | 52 …v[0 + 6][i] = (velo_prod[DIFF_FILTER_VELOCITY_SQUARED_XX][i] - Square(s.Y.velocity[0])) * inv_mult… in ComputeSGS_DDAnisotropicTrainingDataNodal() 53 …v[1 + 6][i] = (velo_prod[DIFF_FILTER_VELOCITY_SQUARED_YY][i] - Square(s.Y.velocity[1])) * inv_mult… in ComputeSGS_DDAnisotropicTrainingDataNodal() 54 …v[2 + 6][i] = (velo_prod[DIFF_FILTER_VELOCITY_SQUARED_ZZ][i] - Square(s.Y.velocity[2])) * inv_mult… in ComputeSGS_DDAnisotropicTrainingDataNodal()
|
| H A D | stabilization.h | 93 …tau = Square(rho) * (4. * Square(dts) + velocity_term) + Ctau_v * Square(mu) * DotN((CeedScalar *)… in Tau_diagPrim()
|
| H A D | advection.h | 102 CeedScalar r = sqrt(Square(x - x0[0]) + Square(y - x0[1]) + Square(z - x0[2])); in Exact_AdvectionGeneric() 124 CeedScalar r = sqrt(Square(x - center[0]) + Square(y - center[1])); in Exact_AdvectionGeneric() 253 ScaleN(gijd_mat, 0.25, Square(dim)); in Tau() 255 …return 1 / sqrt(Square(2 * context->Ctau_t / context->dt) + DotN(s.Y.velocity, gij_uj, dim) * Squa… in Tau() 256 … Square(context->diffusion_coeff) * DotN(gijd_mat, gijd_mat, dim * dim) * Square(context->Ctau_d)); in Tau()
|
| H A D | monitor_cfl.h | 28 ScaleN((CeedScalar *)gijd_mat, 0.25, Square(dim)); in MonitorCFL() 38 ScaleN((CeedScalar *)gijd_mat, 0.25, Square(dim)); in MonitorCFL()
|
| H A D | channel.h | 44 const CeedScalar theta = theta0 * (1 + (Pr * Ec / 3) * (1 - Square(Square((x[1] - center) / H)))); in Exact_Channel() 47 Y[1] = umax * (1 - Square((x[1] - center) / H)); in Exact_Channel()
|
| H A D | stg_shur14.h | 97 …const CeedScalar feta_x_fcut = exp(-Square(12 * kappa / keta) - Cube(4 * Max(kappa - 0.9 * kcut, 0… in Calc_qn() 98 …return pow(kappa / ke, 4.) * pow(1 + 2.4 * Square(kappa / ke), -17. / 6) * feta_x_fcut * dkappa * … in Calc_qn() 235 …r (CeedInt j = 0; j < 3; j++) lengths[j] = 2 / sqrt(Square(dXdx[0][j]) + Square(dXdx[1][j]) + Squa… in CalculateElementLengths() 364 … for (CeedInt j = 1; j < 3; j++) h_node_sep[j] = 2 / sqrt(Square(dXdx[0][j]) + Square(dXdx[1][j])); in StgShur14Inflow()
|
| H A D | blasius.h | 110 const CeedScalar x0 = U_infty * S_infty.U.density / (mu * 25 / Square(delta0)); in ICsBlasius() 136 …const CeedScalar x0 = U_infty * rho_0 / (gas.mu * 25 / Square(context->delta0)… in Blasius_Inflow() 191 …const CeedScalar x0 = U_infty * rho_0 / (gas.mu * 25 / Square(context->delta0)… in Blasius_Inflow_Jacobian()
|
| H A D | shocktube.h | 160 CeedScalar h = 2 / sqrt(Square(dXdx[0][i]) + Square(dXdx[1][i]) + Square(dXdx[2][i])); in Tau_spatial()
|
| H A D | eulervortex.h | 76 const CeedScalar r = sqrt(Square(x0) + Square(y0)); in Exact_Euler() 213 CeedScalar h = 2 / sqrt(Square(dXdx[0][i]) + Square(dXdx[1][i]) + Square(dXdx[2][i])); in Tau_spatial()
|
| H A D | taylorgreen.h | 40 …Y[0] = reference.pressure + (density0 * Square(V0) / 16) * (cos(2 * x[0]) + cos(2 * x[1])) * (cos(… in ICsTaylorGreen()
|
| H A D | monitor_totalkineticenergy.h | 31 v[2][i] = wdetJ * -gas.lambda * gas.mu * Square(div_u); in MonitorTotalKineticEnergy()
|
| H A D | newtonian_state.h | 61 …return de_internal + de_kinetic + ds.Y.pressure / s.U.density - s.Y.pressure / Square(s.U.density)… in TotalSpecificEnthalpy_fwd() 113 …const CeedScalar drho_div_p = (drho * s.Y.pressure - s.U.density * dY.pressure) / Square(s.Y.press… in StateEntropyFromPrimitive_fwd() 200 dV.S_density = -dentropy / (gamma - 1) - de_kinetic / p + dp * e_kinetic / Square(p); in StateEntropyFromConservative_fwd()
|
| H A D | utils.h | 23 CEED_QFUNCTION_HELPER CeedScalar Square(CeedScalar x) { return x * x; } in Square() function
|
| /honee/qfunctions/spanstats/ |
| H A D | cflpe.h | 42 ScaleN((CeedScalar *)gijd_mat, 0.25, Square(dim)); in ChildStatsCollection_CflPe() 55 ScaleN((CeedScalar *)gijd_mat, 0.25, Square(dim)); in ChildStatsCollection_CflPe() 63 v[1][i] = wdetJ * Square(cfl); in ChildStatsCollection_CflPe() 66 v[4][i] = wdetJ * Square(Pe); in ChildStatsCollection_CflPe()
|
| H A D | turbulence.h | 58 v[TURB_MEAN_PRESSURE_SQUARED][i] = wdetJ * Square(s.Y.pressure); in ChildStatsCollection() 95 …dScalar ChildStatsCollectionTest_Exact(const CeedScalar x_i[3]) { return x_i[0] + Square(x_i[1]); } in ChildStatsCollectionTest_Exact() 126 v[0][i] = wdetJ * Square(ChildStatsCollectionTest_Exact(x_i) - q[0][i]); in ChildStatsCollectionMMSTest_Error()
|
| /honee/problems/ |
| H A D | stg_shur14.c | 36 Cij[1][i] = sqrt(Rij[1][i] - Square(Cij[3][i])); in CalcCholeskyDecomp() 39 Cij[2][i] = sqrt(Rij[2][i] - Square(Cij[4][i]) - Square(Cij[5][i])); in CalcCholeskyDecomp()
|
| H A D | bc_freestream.c | 197 CeedScalar u_magnitude = sqrt(Square(Q_s[1]) + Square(Q_s[2]) + Square(Q_s[3])); in CheckQWithTolerance()
|
| H A D | newtonian.c | 653 CeedScalar u_magnitude = sqrt(Square(Q_s[1]) + Square(Q_s[2]) + Square(Q_s[3])); in CheckQWithTolerance()
|