Home
last modified time | relevance | path

Searched refs:dU (Results 1 – 11 of 11) sorted by relevance

/libCEED/include/ceed/jit-source/magma/
H A Dmagma-basis-grad-1d.h41 …el(const CeedScalar *dTinterp, const CeedScalar *dTgrad, const CeedScalar *dU, const int estrdU, c… in __launch_bounds__()
55 dU += elem_id * estrdU; in __launch_bounds__()
74 read_1d<CeedScalar, BASIS_P, BASIS_NUM_COMP>(dU, cstrdU, sU, tx); in __launch_bounds__()
86 …el(const CeedScalar *dTinterp, const CeedScalar *dTgrad, const CeedScalar *dU, const int estrdU, c… in __launch_bounds__()
100 dU += elem_id * estrdU; in __launch_bounds__()
119 read_1d<CeedScalar, BASIS_Q, BASIS_NUM_COMP>(dU, cstrdU, sU, tx); in __launch_bounds__()
131 …el(const CeedScalar *dTinterp, const CeedScalar *dTgrad, const CeedScalar *dU, const int estrdU, c… in __launch_bounds__()
145 dU += elem_id * estrdU; in __launch_bounds__()
164 read_1d<CeedScalar, BASIS_Q, BASIS_NUM_COMP>(dU, cstrdU, sU, tx); in __launch_bounds__()
H A Dmagma-basis-interp-1d.h41 …void magma_interpn_1d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const i… in __launch_bounds__()
55 dU += elem_id * estrdU; in __launch_bounds__()
74 read_1d<CeedScalar, BASIS_P, BASIS_NUM_COMP>(dU, cstrdU, sU, tx); in __launch_bounds__()
86 …void magma_interpt_1d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const i… in __launch_bounds__()
100 dU += elem_id * estrdU; in __launch_bounds__()
119 read_1d<CeedScalar, BASIS_Q, BASIS_NUM_COMP>(dU, cstrdU, sU, tx); in __launch_bounds__()
131 …void magma_interpta_1d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const … in __launch_bounds__()
145 dU += elem_id * estrdU; in __launch_bounds__()
164 read_1d<CeedScalar, BASIS_Q, BASIS_NUM_COMP>(dU, cstrdU, sU, tx); in __launch_bounds__()
H A Dmagma-basis-interp-2d.h67 …void magma_interpn_2d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const i… in __launch_bounds__()
82 dU += elem_id * estrdU; in __launch_bounds__()
96 read_U_2d<CeedScalar, BASIS_P, 1, BASIS_NUM_COMP, BASIS_P, 0>(dU, cstrdU, rU, sTmp, tx); in __launch_bounds__()
108 …void magma_interpt_2d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const i… in __launch_bounds__()
123 dU += elem_id * estrdU; in __launch_bounds__()
137 read_U_2d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU, cstrdU, rU, sTmp, tx); in __launch_bounds__()
149 …void magma_interpta_2d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const … in __launch_bounds__()
164 dU += elem_id * estrdU; in __launch_bounds__()
178 read_U_2d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU, cstrdU, rU, sTmp, tx); in __launch_bounds__()
H A Dmagma-basis-grad-3d.h113 …(const CeedScalar *dinterp1d, const CeedScalar *dgrad1d, const CeedScalar *dU, const int estrdU, c…
128 dU += elem_id * estrdU;
146 …read_U_3d<CeedScalar, BASIS_P, 1, BASIS_NUM_COMP, BASIS_P, 0>(dU + (0 * dstrdU), cstrdU, rU, sTmp,…
172 …(const CeedScalar *dinterp1d, const CeedScalar *dgrad1d, const CeedScalar *dU, const int estrdU, c…
187 dU += elem_id * estrdU;
205 …read_U_3d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU + (0 * dstrdU), cstrdU, rU, sTmp,…
212 …read_U_3d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU + (1 * dstrdU), cstrdU, rU, sTmp,…
219 …read_U_3d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU + (2 * dstrdU), cstrdU, rU, sTmp,…
230 …(const CeedScalar *dinterp1d, const CeedScalar *dgrad1d, const CeedScalar *dU, const int estrdU, c…
245 dU += elem_id * estrdU;
[all …]
H A Dmagma-basis-grad-2d.h91 …(const CeedScalar *dinterp1d, const CeedScalar *dgrad1d, const CeedScalar *dU, const int estrdU, c…
106 dU += elem_id * estrdU;
123 …read_U_2d<CeedScalar, BASIS_P, 1, BASIS_NUM_COMP, BASIS_P, 0>(dU + (0 * dstrdU), cstrdU, rU, sTmp,…
142 …(const CeedScalar *dinterp1d, const CeedScalar *dgrad1d, const CeedScalar *dU, const int estrdU, c…
157 dU += elem_id * estrdU;
175 …read_U_2d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU + (0 * dstrdU), cstrdU, rU, sTmp,…
182 …read_U_2d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU + (1 * dstrdU), cstrdU, rU, sTmp,…
193 …(const CeedScalar *dinterp1d, const CeedScalar *dgrad1d, const CeedScalar *dU, const int estrdU, c…
208 dU += elem_id * estrdU;
226 …read_U_2d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU + (0 * dstrdU), cstrdU, rU, sTmp,…
[all …]
H A Dmagma-basis-interp-3d.h95 …void magma_interpn_3d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const i… in __launch_bounds__()
110 dU += elem_id * estrdU; in __launch_bounds__()
124 read_U_3d<CeedScalar, BASIS_P, 1, BASIS_NUM_COMP, BASIS_P, 0>(dU, cstrdU, rU, sTmp, tx); in __launch_bounds__()
136 …void magma_interpt_3d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const i… in __launch_bounds__()
151 dU += elem_id * estrdU; in __launch_bounds__()
165 read_U_3d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU, cstrdU, rU, sTmp, tx); in __launch_bounds__()
177 …void magma_interpta_3d_kernel(const CeedScalar *dT, const CeedScalar *dU, const int estrdU, const … in __launch_bounds__()
192 dU += elem_id * estrdU; in __launch_bounds__()
206 read_U_3d<CeedScalar, BASIS_Q, 1, BASIS_NUM_COMP, BASIS_Q, 0>(dU, cstrdU, rU, sTmp, tx); in __launch_bounds__()
H A Dmagma-common-tensor.h59 static __device__ __inline__ void read_U_2d(const T *dU, const int compstride, T rU[DIM_U][NUM_COMP… in read_U_2d() argument
74 sTmp[i * P + tx] = dU[comp * compstride + i * P + tx]; in read_U_2d()
147 static __device__ __inline__ void read_U_3d(const T *dU, const int compstride, T rU[DIM_U][NUM_COMP… in read_U_3d() argument
162 sTmp[i * P * P + tx] = dU[comp * compstride + i * P * P + tx]; in read_U_3d()
/libCEED/examples/fluids/qfunctions/
H A Dnewtonian_state.h82 …e StatePrimitiveFromConservative_fwd(NewtonianIdealGasContext gas, State s, StateConservative dU) { in StatePrimitiveFromConservative_fwd() argument
85 dY.velocity[i] = (dU.momentum[i] - s.Y.velocity[i] * dU.density) / s.U.density; in StatePrimitiveFromConservative_fwd()
90 CeedScalar de_total = (dU.E_total - e_total * dU.density) / s.U.density; in StatePrimitiveFromConservative_fwd()
94 …dY.pressure = (HeatCapacityRatio(gas) - 1) * (dU.density * e_internal + s.U.density * d… in StatePrimitiveFromConservative_fwd()
167 StateConservative dU; in StateConservativeFromPrimitive_fwd() local
168dU.density = (dY.pressure * s.Y.temperature - s.Y.pressure * dY.temperature) / (GasConstant(gas) *… in StateConservativeFromPrimitive_fwd()
170 dU.momentum[i] = dU.density * s.Y.velocity[i] + s.U.density * dY.velocity[i]; in StateConservativeFromPrimitive_fwd()
178 dU.E_total = dU.density * e_total + s.U.density * de_total; in StateConservativeFromPrimitive_fwd()
179 return dU; in StateConservativeFromPrimitive_fwd()
196 …opy StateEntropyFromConservative_fwd(NewtonianIdealGasContext gas, State s, StateConservative dU) { in StateEntropyFromConservative_fwd() argument
[all …]
H A Dshocktube.h242 const CeedScalar dU[3][3] = { in EulerShockTube() local
258 du[j][k] = (dU[j][k] - drho[k] * u[j]) / rho; in EulerShockTube()
262 dUdx[j][k] += dU[j][l] * dXdx[l][k]; in EulerShockTube()
H A Deulervortex.h287 const CeedScalar dU[3][3] = { in Euler() local
305 dUdx[j][k] += dU[j][l] * dXdx[l][k]; in Euler()
410 const CeedScalar dU[3][3] = { in IFunction_Euler() local
428 dUdx[j][k] += dU[j][l] * dXdx[l][k]; in IFunction_Euler()
H A Dnewtonian.h356 CeedScalar dU[5] = {0.}; in IJacobian_Newtonian() local
357 UnpackState_U(ds.U, dU); in IJacobian_Newtonian()
358 …for (int j = 0; j < 5; j++) v[j][i] = wdetJ * (context->ijacobian_time_shift * dU[j] - dbody_force… in IJacobian_Newtonian()
370 for (CeedInt j = 0; j < 5; j++) U_dot[j] = context->ijacobian_time_shift * dU[j]; in IJacobian_Newtonian()