Searched refs:Square (Results 1 – 15 of 15) sorted by relevance
115 const CeedScalar theta = theta0 * exp(Square(N) * z / g) + delta_theta; in Exact_DC()118 const CeedScalar Pi = 1. + Square(g) * (exp(-Square(N) * z / g) - 1.) / (cp * theta0 * Square(N)); in Exact_DC()
202 …const CeedScalar d_dy_dy = 0.06 * Square(1 / cosh(6 * x_i[1])); // Change of \Delta_y … in DifferentialFilter_MMS_IC()203 …CeedScalar alpha[2] = {Square(dx) * aniso_scale_factor, Square(dy) * aniso_scale_f… in DifferentialFilter_MMS_IC()208 CeedScalar d_damping_coeff = 60 / Square(cosh(60 * x_i[1])); in DifferentialFilter_MMS_IC()210 alpha[1] *= Square(damping_coeff); in DifferentialFilter_MMS_IC()215 …CeedScalar phi = phi_bar + alpha[0] * Square(omega6) * sin(6 * omega * x_i[0]) + alpha[1] * Square… in DifferentialFilter_MMS_IC()
50 …const CeedScalar perturbation = 1 + amplitude * exp(-(Square(x0) + Square(y0)) / (2 * Square(width… in IC_GaussianWave()
98 …tau = Square(rho) * (4. * Square(dts) + velocity_term) + Ctau_v * Square(mu) * DotN((CeedScalar *)… in Tau_diagPrim()
40 CeedScalar square_sum_root = Square(sqrt_left + sqrt_right); in RoeSetup_fwd()89 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()90 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()114 CeedScalar a_roe = sqrt((gamma - 1) * (H_roe - 0.5 * Square(u_roe))); in ComputeHLLSpeeds_Roe()141 CeedScalar a_roe = sqrt((gamma - 1) * (H_roe - 0.5 * Square(u_roe))); in ComputeHLLSpeeds_Roe_fwd()142 …CeedScalar da_roe = 0.5 * sqrt((gamma - 1) / (H_roe - 0.5 * Square(u_roe))) * dH_roe; // (da/dH) … in ComputeHLLSpeeds_Roe_fwd()143 …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()264 … dside.U.E_total / side.U.density - side.U.E_total / Square(side.U.density) * dside.U.density // in RiemannFlux_HLLC_Star_fwd()266 …+ (s_star - u_side) * (ds_star + dside.Y.pressure / denom - side.Y.pressure / Square(denom) * dden… in RiemannFlux_HLLC_Star_fwd()330 CeedScalar ds_star = dnumer / denom - numer / Square(denom) * ddenom; in RiemannFlux_HLLC_fwd()
52 const CeedScalar theta = theta0 * (1 + (Pr * Ec / 3) * (1 - Square(Square((x[1] - center) / H)))); in Exact_Channel()55 Y[1] = umax * (1 - Square((x[1] - center) / H)); in Exact_Channel()
30 v[TURB_MEAN_PRESSURE_SQUARED][i] = wdetJ * Square(s.Y.pressure); in ChildStatsCollection()67 …dScalar ChildStatsCollectionTest_Exact(const CeedScalar x_i[3]) { return x_i[0] + Square(x_i[1]); } in ChildStatsCollectionTest_Exact()98 v[0][i] = wdetJ * Square(ChildStatsCollectionTest_Exact(x_i) - q[0][i]); in ChildStatsCollectionMMSTest_Error()
102 …const CeedScalar feta_x_fcut = exp(-Square(12 * kappa / keta) - Cube(4 * Max(kappa - 0.9 * kcut, 0… in Calc_qn()103 …return pow(kappa / ke, 4.) * pow(1 + 2.4 * Square(kappa / ke), -17. / 6) * feta_x_fcut * dkappa * … in Calc_qn()302 …CeedInt j = 1; j < 3; j++) h_node_sep[j] = 2 / sqrt(Square(dXdx[0][j]) + Square(dXdx[1][j]) + Squa… in ICsStg()360 … for (CeedInt j = 1; j < 3; j++) h_node_sep[j] = 2 / sqrt(Square(dXdx[0][j]) + Square(dXdx[1][j])); in StgShur14Inflow()495 … for (CeedInt j = 1; j < 3; j++) h_node_sep[j] = 2 / sqrt(Square(dXdx[0][j]) + Square(dXdx[1][j])); in StgShur14InflowStrongQF()
90 r = sqrt(Square(x - x0[0]) + Square(y - x0[1]) + Square(z - x0[2])); in Exact_AdvectionGeneric()93 r = sqrt(Square(x - center[0]) + Square(y - center[1])); in Exact_AdvectionGeneric()270 …return 1 / sqrt(Square(2 * context->Ctau_t / context->dt) + DotN(s.Y.velocity, gij_uj, dim) * cont… in Tau()
34 …Y[0] = reference.pressure + (density0 * Square(V0) / 16) * (cos(2 * x[0]) + cos(2 * x[1])) * (cos(… in ICsTaylorGreen()
117 const CeedScalar x0 = U_infty * S_infty.U.density / (mu * 25 / Square(delta0)); in ICsBlasius()144 …const CeedScalar x0 = U_infty * rho_0 / (gas->mu * 25 / Square(context->del… in Blasius_Inflow()201 …const CeedScalar x0 = U_infty * rho_0 / (gas->mu * 25 / Square(context->del… in Blasius_Inflow_Jacobian()
68 …return de_internal + de_kinetic + ds.Y.pressure / s.U.density - s.Y.pressure / Square(s.U.density)… in TotalSpecificEnthalpy_fwd()120 …const CeedScalar drho_div_p = (drho * s.Y.pressure - s.U.density * dY.pressure) / Square(s.Y.press… in StateEntropyFromPrimitive_fwd()207 dV.S_density = -dentropy / (gamma - 1) - de_kinetic / p + dp * e_kinetic / Square(p); in StateEntropyFromConservative_fwd()
27 CEED_QFUNCTION_HELPER CeedScalar Square(CeedScalar x) { return x * x; } in Square() function
238 CeedScalar u_magnitude = sqrt(Square(Q_s[1]) + Square(Q_s[2]) + Square(Q_s[3])); in CheckQWithTolerance()
30 CeedScalar u_magnitude = sqrt(Square(Q_s[1]) + Square(Q_s[2]) + Square(Q_s[3])); in CheckQWithTolerance()