| /libCEED/examples/fluids/qfunctions/ |
| H A D | newtonian_types.h | 24 CeedScalar lambda; 25 CeedScalar mu; 26 CeedScalar k; 27 CeedScalar cv; 28 CeedScalar cp; 29 CeedScalar g[3]; 30 CeedScalar c_tau; 31 CeedScalar Ctau_t; 32 CeedScalar Ctau_v; 33 CeedScalar Ctau_C; [all …]
|
| H A D | differential_filter.h | 25 CeedScalar width_scaling[3]; 26 CeedScalar kernel_scaling; 27 CeedScalar friction_length; 29 CeedScalar damping_constant; 33 …LPER int DifferentialFilter_RHS(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in DifferentialFilter_RHS() 34 const CeedScalar(*q)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in DifferentialFilter_RHS() 35 const CeedScalar(*q_data)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[1]; in DifferentialFilter_RHS() 36 CeedScalar(*v0)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in DifferentialFilter_RHS() 37 CeedScalar(*v1)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[1]; in DifferentialFilter_RHS() 43 const CeedScalar qi[5] = {q[0][i], q[1][i], q[2][i], q[3][i], q[4][i]}; in DifferentialFilter_RHS() [all …]
|
| H A D | utils.h | 18 CEED_QFUNCTION_HELPER CeedScalar Max(CeedScalar a, CeedScalar b) { return a < b ? b : a; } in Max() 19 CEED_QFUNCTION_HELPER CeedScalar Min(CeedScalar a, CeedScalar b) { return a < b ? a : b; } in Min() 21 CEED_QFUNCTION_HELPER void SwapScalar(CeedScalar *a, CeedScalar *b) { in SwapScalar() 22 CeedScalar temp = *a; in SwapScalar() 27 CEED_QFUNCTION_HELPER CeedScalar Square(CeedScalar x) { return x * x; } in Square() 28 CEED_QFUNCTION_HELPER CeedScalar Cube(CeedScalar x) { return x * x * x; } in Cube() 31 CEED_QFUNCTION_HELPER void ScaleN(CeedScalar *u, const CeedScalar alpha, const CeedInt N) { in ScaleN() 36 CEED_QFUNCTION_HELPER void SetValueN(CeedScalar *u, const CeedScalar alpha, const CeedInt N) { in SetValueN() 41 CEED_QFUNCTION_HELPER void CopyN(const CeedScalar *x, CeedScalar *y, const CeedInt N) { CeedPragmaS… in CopyN() 44 …UNCTION_HELPER void CopyMat3(const CeedScalar A[3][3], CeedScalar B[3][3]) { CopyN((const CeedScal… in CopyMat3() [all …]
|
| H A D | channel.h | 23 CeedScalar theta0; // !< Reference temperature 24 CeedScalar P0; // !< Reference Pressure 25 CeedScalar umax; // !< Centerline velocity 26 CeedScalar center; // !< Y Coordinate for center of channel 27 CeedScalar H; // !< Channel half-height 28 CeedScalar B; // !< Body-force driving the flow 32 CEED_QFUNCTION_HELPER State Exact_Channel(CeedInt dim, CeedScalar time, const CeedScalar X[], CeedI… in Exact_Channel() 34 const CeedScalar theta0 = context->theta0; in Exact_Channel() 35 const CeedScalar P0 = context->P0; in Exact_Channel() 36 const CeedScalar umax = context->umax; in Exact_Channel() [all …]
|
| H A D | stg_shur14.h | 41 …R void InterpolateProfile(const CeedScalar wall_dist, CeedScalar ubar[3], CeedScalar cij[6], CeedS… in InterpolateProfile() 44 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile() 45 const CeedScalar *prof_eps = &stg_ctx->data[stg_ctx->offsets.eps]; in InterpolateProfile() 46 const CeedScalar *prof_lt = &stg_ctx->data[stg_ctx->offsets.lt]; in InterpolateProfile() 47 const CeedScalar *prof_ubar = &stg_ctx->data[stg_ctx->offsets.ubar]; in InterpolateProfile() 48 const CeedScalar *prof_cij = &stg_ctx->data[stg_ctx->offsets.cij]; in InterpolateProfile() 59 CeedScalar coeff = (wall_dist - prof_wd[idx - 1]) / (prof_wd[idx] - prof_wd[idx - 1]); in InterpolateProfile() 100 CEED_QFUNCTION_HELPER CeedScalar Calc_qn(const CeedScalar kappa, const CeedScalar dkappa, const Cee… in Calc_qn() 101 const CeedScalar ke, const CeedScalar Ektot_inv) { in Calc_qn() 102 …const CeedScalar feta_x_fcut = exp(-Square(12 * kappa / keta) - Cube(4 * Max(kappa - 0.9 * kcut, 0… in Calc_qn() [all …]
|
| H A D | densitycurrent.h | 25 CeedScalar theta0; 26 CeedScalar thetaC; 27 CeedScalar P0; 28 CeedScalar N; 29 CeedScalar rc; 30 CeedScalar center[3]; 31 CeedScalar dc_axis[3]; 86 CEED_QFUNCTION_HELPER State Exact_DC(CeedInt dim, CeedScalar time, const CeedScalar X[], CeedInt Nf… in Exact_DC() 89 const CeedScalar theta0 = context->theta0; in Exact_DC() 90 const CeedScalar thetaC = context->thetaC; in Exact_DC() [all …]
|
| H A D | setupgeo_helpers.h | 41 …InvertMappingJacobian_3D(CeedInt Q, CeedInt i, const CeedScalar (*dxdX_q)[3][CEED_Q_VLA], CeedScal… in InvertMappingJacobian_3D() 42 CeedScalar *detJ_ptr) { in InvertMappingJacobian_3D() 43 const CeedScalar dxdX_11 = dxdX_q[0][0][i]; in InvertMappingJacobian_3D() 44 const CeedScalar dxdX_21 = dxdX_q[0][1][i]; in InvertMappingJacobian_3D() 45 const CeedScalar dxdX_31 = dxdX_q[0][2][i]; in InvertMappingJacobian_3D() 46 const CeedScalar dxdX_12 = dxdX_q[1][0][i]; in InvertMappingJacobian_3D() 47 const CeedScalar dxdX_22 = dxdX_q[1][1][i]; in InvertMappingJacobian_3D() 48 const CeedScalar dxdX_32 = dxdX_q[1][2][i]; in InvertMappingJacobian_3D() 49 const CeedScalar dxdX_13 = dxdX_q[2][0][i]; in InvertMappingJacobian_3D() 50 const CeedScalar dxdX_23 = dxdX_q[2][1][i]; in InvertMappingJacobian_3D() [all …]
|
| H A D | blasius.h | 25 CeedScalar delta0; // !< Boundary layer height at inflow 27 …CeedScalar T_wall; // !< Temperature at the w… 28 …CeedScalar x_inflow; // !< Location of inflow i… 29 …CeedScalar n_cheb; // !< Number of Chebyshev … 30 …CeedScalar *X; // !< Chebyshev polynomial… 31 …CeedScalar eta_max; // !< Maximum eta in the d… 32 …CeedScalar Tf_cheb[BLASIUS_MAX_N_CHEBYSHEV]; // !< Chebyshev coefficien… 33 …CeedScalar Th_cheb[BLASIUS_MAX_N_CHEBYSHEV - 1]; // !< Chebyshev coefficien… 74 …iusSolution)(const BlasiusContext blasius, const CeedScalar x[3], const CeedScalar x0, const CeedS… in BlasiusSolution() 75 const CeedScalar rho_infty, CeedScalar *t12) { in BlasiusSolution() [all …]
|
| H A D | bc_freestream.h | 22 CEED_QFUNCTION_HELPER int Freestream(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar … in Freestream() 25 const CeedScalar(*q)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in Freestream() 26 const CeedScalar(*q_data_sur) = in[2]; in Freestream() 27 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in Freestream() 28 CeedScalar(*jac_data_sur) = context->newtonian_ctx.is_implicit ? out[1] : NULL; in Freestream() 34 const CeedScalar qi[5] = {q[0][i], q[1][i], q[2][i], q[3][i], q[4][i]}; in Freestream() 37 CeedScalar wdetJb, normal[3]; in Freestream() 50 CeedScalar Flux[5]; in Freestream() 55 CeedScalar zeros[6] = {0.}; in Freestream() 63 …UNCTION(Freestream_Conserv_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Conserv_HLL() [all …]
|
| H A D | shocktube.h | 23 CeedScalar theta0; 24 CeedScalar thetaC; 25 CeedScalar P0; 26 CeedScalar N; 27 CeedScalar cv; 28 CeedScalar cp; 29 CeedScalar time; 30 CeedScalar mid_point; 31 CeedScalar P_high; 32 CeedScalar rho_high; [all …]
|
| H A D | newtonian.h | 21 …(const NewtonianIdealGasContext context, const State s, const CeedScalar sigma, CeedScalar damp_Y[… in InternalDampingLayer() 22 CeedScalar damp_residual[5]) { in InternalDampingLayer() 26 CeedScalar U[5]; in InternalDampingLayer() 34 …CTION_HELPER int ICsNewtonianIG(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in ICsNewtonianIG() 35 CeedScalar(*q0)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in ICsNewtonianIG() 40 CeedScalar q[5] = {0.}; in ICsNewtonianIG() 48 …UNCTION(ICsNewtonianIG_Conserv)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in ICsNewtonianIG_Conserv() 52 CEED_QFUNCTION(ICsNewtonianIG_Prim)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *… in ICsNewtonianIG_Prim() 56 …UNCTION(ICsNewtonianIG_Entropy)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in ICsNewtonianIG_Entropy() 60 …PER void MassFunction_Newtonian(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in MassFunction_Newtonian() [all …]
|
| H A D | advection.h | 72 …R CeedInt Exact_AdvectionGeneric(CeedInt dim, CeedScalar time, const CeedScalar X[], CeedInt Nf, C… in Exact_AdvectionGeneric() 74 const CeedScalar rc = context->rc; in Exact_AdvectionGeneric() 75 const CeedScalar lx = context->lx; in Exact_AdvectionGeneric() 76 const CeedScalar ly = context->ly; in Exact_AdvectionGeneric() 77 const CeedScalar lz = dim == 2 ? 0. : context->lz; in Exact_AdvectionGeneric() 78 const CeedScalar *wind = context->wind; in Exact_AdvectionGeneric() 80 const CeedScalar center[3] = {0.5 * lx, 0.5 * ly, 0.5 * lz}; in Exact_AdvectionGeneric() 81 const CeedScalar theta = dim == 2 ? M_PI / 3 : M_PI; in Exact_AdvectionGeneric() 82 …const CeedScalar x0[3] = {center[0] + .25 * lx * cos(theta + time), center[1] + .25 * ly * sin… in Exact_AdvectionGeneric() 84 const CeedScalar x = X[0], y = X[1], z = dim == 2 ? 0. : X[2]; in Exact_AdvectionGeneric() [all …]
|
| H A D | setupgeo2d.h | 45 CEED_QFUNCTION(Setup2d)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const *out) { in Setup2d() 46 const CeedScalar(*J)[2][CEED_Q_VLA] = (const CeedScalar(*)[2][CEED_Q_VLA])in[0]; in Setup2d() 47 const CeedScalar(*w) = in[1]; in Setup2d() 48 CeedScalar(*q_data) = out[0]; in Setup2d() 51 CeedScalar dXdx[2][2], detJ; in Setup2d() 53 const CeedScalar wdetJ = w[i] * detJ; in Setup2d() 56 StoredValuesPack(Q, i, 1, 4, (const CeedScalar *)dXdx, q_data); in Setup2d() 86 CEED_QFUNCTION(SetupBoundary2d)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *cons… in SetupBoundary2d() 87 const CeedScalar(*J)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in SetupBoundary2d() 88 const CeedScalar(*w) = in[1]; in SetupBoundary2d() [all …]
|
| H A D | eulervortex.h | 24 CeedScalar center[3]; 25 CeedScalar curr_time; 26 CeedScalar vortex_strength; 27 CeedScalar c_tau; 28 CeedScalar mean_velocity[3]; 64 …QFUNCTION_HELPER int Exact_Euler(CeedInt dim, CeedScalar time, const CeedScalar X[], CeedInt Nf, C… in Exact_Euler() 67 const CeedScalar vortex_strength = context->vortex_strength; in Exact_Euler() 68 const CeedScalar *center = context->center; // Center of the domain in Exact_Euler() 69 const CeedScalar *mean_velocity = context->mean_velocity; in Exact_Euler() 72 const CeedScalar gamma = 1.4; in Exact_Euler() [all …]
|
| H A D | riemann_solver.h | 29 CeedScalar left, right; 32 CEED_QFUNCTION_HELPER RoeWeights RoeSetup(CeedScalar rho_left, CeedScalar rho_right) { in RoeSetup() 33 CeedScalar sqrt_left = sqrt(rho_left), sqrt_right = sqrt(rho_right); in RoeSetup() 38 …UNCTION_HELPER RoeWeights RoeSetup_fwd(CeedScalar rho_left, CeedScalar rho_right, CeedScalar drho_… in RoeSetup_fwd() 39 CeedScalar sqrt_left = sqrt(rho_left), sqrt_right = sqrt(rho_right); in RoeSetup_fwd() 40 CeedScalar square_sum_root = Square(sqrt_left + sqrt_right); in RoeSetup_fwd() 41 …CeedScalar r_right = (sqrt_left / (2 * sqrt_right * square_sum_root)) * drho_right - (sqrt_right /… in RoeSetup_fwd() 42 …CeedScalar r_left = (sqrt_right / (2 * sqrt_left * square_sum_root)) * drho_left - (sqrt_left / (… in RoeSetup_fwd() 47 CEED_QFUNCTION_HELPER CeedScalar RoeAverage(RoeWeights r, CeedScalar q_left, CeedScalar q_right) { … in RoeAverage() 49 CEED_QFUNCTION_HELPER CeedScalar RoeAverage_fwd(RoeWeights r, RoeWeights dr, CeedScalar q_left, Cee… in RoeAverage_fwd() [all …]
|
| H A D | stabilization.h | 17 CEED_QFUNCTION_HELPER void dYFromTau(CeedScalar Y[5], CeedScalar Tau_d[3], CeedScalar dY[5]) { in dYFromTau() 28 …d StabilizationMatrix(NewtonianIdealGasContext gas, State s, CeedScalar Tau_d[3], CeedScalar stron… in StabilizationMatrix() 29 CeedScalar stab[5][3]) { in StabilizationMatrix() 30 CeedScalar dY[5]; in StabilizationMatrix() 40 CeedScalar dF_i[5]; in StabilizationMatrix() 46 … Stabilization(NewtonianIdealGasContext gas, State s, CeedScalar Tau_d[3], State ds[3], CeedScalar… in Stabilization() 47 const CeedScalar body_force[5], CeedScalar stab[5][3]) { in Stabilization() 49 CeedScalar strong_residual[5] = {0}; in Stabilization() 71 …au_diagPrim(NewtonianIdealGasContext gas, State s, const CeedScalar dXdx[3][3], const CeedScalar d… in Tau_diagPrim() 72 CeedScalar Tau_d[3]) { in Tau_diagPrim() [all …]
|
| H A D | bc_slip.h | 15 CEED_QFUNCTION_HELPER int Slip(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const… in Slip() 17 const CeedScalar(*q)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in Slip() 18 const CeedScalar(*q_data_sur) = in[2]; in Slip() 19 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in Slip() 20 CeedScalar(*jac_data_sur) = newt_ctx->is_implicit ? out[1] : NULL; in Slip() 23 const CeedScalar qi[5] = {q[0][i], q[1][i], q[2][i], q[3][i], q[4][i]}; in Slip() 26 CeedScalar wdetJb, norm[3]; in Slip() 30 CeedScalar vel_reflect[3]; in Slip() 31 const CeedScalar vel_normal = Dot3(s.Y.velocity, norm); in Slip() 33 …const CeedScalar Y_reflect[5] = {s.Y.pressure, vel_reflect[0], vel_reflect[1], vel_reflect[2], s.Y… in Slip() [all …]
|
| /libCEED/include/ceed/jit-source/magma/ |
| H A D | magma-basis-interp-deriv-nontensor.h | 14 …void magma_basis_nontensor_device_n(const int n, CeedScalar const *dA, CeedScalar const *dB, CeedS… in magma_basis_nontensor_device_n() 15 CeedScalar *shared_data) { in magma_basis_nontensor_device_n() 26 CeedScalar *sB = shared_data + ty * P * NB; in magma_basis_nontensor_device_n() 27 CeedScalar *sA = shared_data + blockDim.y * P * NB; in magma_basis_nontensor_device_n() 31 read_B_g2s_1D_nosync<CeedScalar, Q, P, NB>(tx, myn, dB, sB); in magma_basis_nontensor_device_n() 37 CeedScalar rA[P]; in magma_basis_nontensor_device_n() 38 …read_A_trans_g2r_1D_nosync<CeedScalar, Q, P, MAGMA_BASIS_NTCOL(Q, MAGMA_MAXTHREADS_1D)>(tx, ty, dA… in magma_basis_nontensor_device_n() 40 CeedScalar rC[NB]; in magma_basis_nontensor_device_n() 41 mul_rAsBrC_1D_nosync<CeedScalar, Q, P, NB>(rA, sB, rC); in magma_basis_nontensor_device_n() 45 write_C_r2g_1D_nosync<CeedScalar, Q, P, NB>(tx, myn, rC, dC); in magma_basis_nontensor_device_n() [all …]
|
| /libCEED/examples/solids/qfunctions/ |
| H A D | finite-strain-neo-hookean.h | 20 CeedScalar nu; // Poisson's ratio 21 CeedScalar E; // Young's Modulus 35 CEED_QFUNCTION_HELPER CeedScalar log1p_series_shifted(CeedScalar x) { in log1p_series_shifted() 36 const CeedScalar left = sqrt(2.) / 2 - 1, right = sqrt(2.) - 1; in log1p_series_shifted() 37 CeedScalar sum = 0; in log1p_series_shifted() 47 CeedScalar y = x / (2. + x); in log1p_series_shifted() 48 const CeedScalar y2 = y * y; in log1p_series_shifted() 65 CEED_QFUNCTION_HELPER CeedScalar computeJM1(const CeedScalar grad_u[3][3]) { in computeJM1() 79 CEED_QFUNCTION_HELPER int computeMatinvSym(const CeedScalar A[3][3], const CeedScalar detA, CeedSca… in computeMatinvSym() 81 CeedScalar B[6] = { in computeMatinvSym() [all …]
|
| H A D | finite-strain-mooney-rivlin.h | 24 CeedScalar mu_1; 25 CeedScalar mu_2; 26 CeedScalar lambda; 40 CEED_QFUNCTION_HELPER CeedScalar log1p_series_shifted(CeedScalar x) { in log1p_series_shifted() 41 const CeedScalar left = sqrt(2.) / 2 - 1, right = sqrt(2.) - 1; in log1p_series_shifted() 42 CeedScalar sum = 0; in log1p_series_shifted() 52 CeedScalar y = x / (2. + x); in log1p_series_shifted() 53 const CeedScalar y2 = y * y; in log1p_series_shifted() 70 CEED_QFUNCTION_HELPER CeedScalar computeJM1(const CeedScalar grad_u[3][3]) { in computeJM1() 84 CEED_QFUNCTION_HELPER int computeMatinvSym(const CeedScalar A[3][3], const CeedScalar detA, CeedSca… in computeMatinvSym() [all …]
|
| H A D | linear.h | 20 CeedScalar nu; // Poisson's ratio 21 CeedScalar E; // Young's Modulus 28 CEED_QFUNCTION(ElasResidual_Linear)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *… in ElasResidual_Linear() 30 …const CeedScalar(*ug)[3][CEED_Q_VLA] = (const CeedScalar(*)[3][CEED_Q_VLA])in[0], (*q_data)[CEED_Q… in ElasResidual_Linear() 33 CeedScalar(*dvdX)[3][CEED_Q_VLA] = (CeedScalar(*)[3][CEED_Q_VLA])out[0]; in ElasResidual_Linear() 39 const CeedScalar E = context->E; in ElasResidual_Linear() 40 const CeedScalar nu = context->nu; in ElasResidual_Linear() 45 const CeedScalar du[3][3] = { in ElasResidual_Linear() 51 const CeedScalar wdetJ = q_data[0][i]; in ElasResidual_Linear() 52 const CeedScalar dXdx[3][3] = { in ElasResidual_Linear() [all …]
|
| H A D | common.h | 34 CEED_QFUNCTION(SetupGeo)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const *out)… in SetupGeo() 36 const CeedScalar(*J)[3][CEED_Q_VLA] = (const CeedScalar(*)[3][CEED_Q_VLA])in[0], (*w) = in[1]; in SetupGeo() 39 CeedScalar(*q_data)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in SetupGeo() 45 const CeedScalar J11 = J[0][0][i]; in SetupGeo() 46 const CeedScalar J21 = J[0][1][i]; in SetupGeo() 47 const CeedScalar J31 = J[0][2][i]; in SetupGeo() 48 const CeedScalar J12 = J[1][0][i]; in SetupGeo() 49 const CeedScalar J22 = J[1][1][i]; in SetupGeo() 50 const CeedScalar J32 = J[1][2][i]; in SetupGeo() 51 const CeedScalar J13 = J[2][0][i]; in SetupGeo() [all …]
|
| /libCEED/include/ceed/jit-source/sycl/ |
| H A D | sycl-shared-basis-tensor-templates.h | 19 …onst CeedInt P_1D, const CeedInt Q_1D, private const CeedScalar *restrict U, local const CeedScala… in ContractX1d() 20 private CeedScalar *restrict V, local CeedScalar *restrict scratch) { in ContractX1d() 38 …onst CeedInt P_1D, const CeedInt Q_1D, private const CeedScalar *restrict U, local const CeedScala… in ContractTransposeX1d() 39 … private CeedScalar *restrict V, local CeedScalar *restrict scratch) { in ContractTransposeX1d() 57 …t CeedInt NUM_COMP, const CeedInt P_1D, const CeedInt Q_1D, private const CeedScalar *restrict r_U, in Interp1d() 58 …local const CeedScalar *restrict s_B, private CeedScalar *restrict r_V, local CeedScalar *restrict… in Interp1d() 67 …t CeedInt NUM_COMP, const CeedInt P_1D, const CeedInt Q_1D, private const CeedScalar *restrict r_U, in InterpTranspose1d() 68 …local const CeedScalar *restrict s_B, private CeedScalar *restrict r_V, local CeedScalar *restrict… in InterpTranspose1d() 77 …t CeedInt NUM_COMP, const CeedInt P_1D, const CeedInt Q_1D, private const CeedScalar *restrict r_U, in Grad1d() 78 …local const CeedScalar *restrict s_G, private CeedScalar *restrict r_V, local CeedScalar *restrict… in Grad1d() [all …]
|
| /libCEED/include/ |
| H A D | ceed-impl.h | 124 …nsorH1)(CeedInt, CeedInt, CeedInt, const CeedScalar *, const CeedScalar *, const CeedScalar *, con… 125 …pology, CeedInt, CeedInt, CeedInt, const CeedScalar *, const CeedScalar *, const CeedScalar *, con… 127 …pology, CeedInt, CeedInt, CeedInt, const CeedScalar *, const CeedScalar *, const CeedScalar *, con… 129 …pology, CeedInt, CeedInt, CeedInt, const CeedScalar *, const CeedScalar *, const CeedScalar *, con… 150 int (*SetArray)(CeedVector, CeedMemType, CeedCopyMode, CeedScalar *); 151 int (*SetValue)(CeedVector, CeedScalar); 152 int (*SetValueStrided)(CeedVector, CeedSize, CeedSize, CeedSize, CeedScalar); 154 int (*TakeArray)(CeedVector, CeedMemType, CeedScalar **); 155 int (*GetArray)(CeedVector, CeedMemType, CeedScalar **); 156 int (*GetArrayRead)(CeedVector, CeedMemType, const CeedScalar **); [all …]
|
| /libCEED/examples/nek/bps/ |
| H A D | bps.h | 21 CEED_QFUNCTION(masssetupf)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const *ou… in masssetupf() 22 CeedScalar *qdata = out[0], *rhs = out[1]; in masssetupf() 23 const CeedScalar *x = in[0]; in masssetupf() 24 const CeedScalar *J = in[1]; in masssetupf() 25 const CeedScalar *w = in[2]; in masssetupf() 29 CeedScalar det = (J[i + Q * 0] * (J[i + Q * 4] * J[i + Q * 8] - J[i + Q * 5] * J[i + Q * 7]) - in masssetupf() 38 CEED_QFUNCTION(massf)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const *out) { in massf() 39 const CeedScalar *u = in[0]; in massf() 40 const CeedScalar *qdata = in[1]; in massf() 41 CeedScalar *v = out[0]; in massf() [all …]
|