| /libCEED/tests/ |
| H A D | t415-qfunction.c | 32 for (CeedInt g = 0; g < dim; g++) { in main() local 34 dx_array[i + (g * dim + d) * num_qpts] = d == g; in main() 39 for (CeedInt g = 0; g < dim; g++) { in main() local 41 du_array[i + (g * num_comp + c) * num_qpts] = c + 1; in main() 82 for (CeedInt g = 0; g < dim; g++) sum += v_array[i + (g * num_comp + c) * num_qpts]; in main() local
|
| H A D | t414-qfunction.c | 32 for (CeedInt g = 0; g < dim; g++) { in main() local 34 dx_array[i + (g * dim + d) * num_qpts] = d == g; in main()
|
| /libCEED/examples/fluids/qfunctions/ |
| H A D | densitycurrent.h | 100 const CeedScalar *g_vec = gas->g; in Exact_DC() 101 const CeedScalar g = -g_vec[2]; in Exact_DC() local 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()
|
| H A D | newtonian.h | 158 const CeedScalar *g = context->g; in RHSFunction_Newtonian() local 189 …edScalar body_force[5] = {0, s.U.density * g[0], s.U.density * g[1], s.U.density * g[2], Dot3(s.U.… in RHSFunction_Newtonian() 229 const CeedScalar *g = context->g; in IFunction_Newtonian() local 262 …edScalar body_force[5] = {0, s.U.density * g[0], s.U.density * g[1], s.U.density * g[2], Dot3(s.U.… in IFunction_Newtonian() 318 const CeedScalar *g = context->g; in IJacobian_Newtonian() local 355 …calar dbody_force[5] = {0, ds.U.density * g[0], ds.U.density * g[1], ds.U.density * g[2], Dot3(ds.… in IJacobian_Newtonian()
|
| H A D | newtonian_types.h | 29 CeedScalar g[3]; member
|
| /libCEED/examples/fluids/problems/ |
| H A D | channel.c | 91 CeedScalar g[] = {channel_ctx->B / rho, 0., 0.}; in NS_CHANNEL() local 92 PetscCall(PetscArraycpy(newtonian_ig_ctx->g, g, 3)); in NS_CHANNEL()
|
| H A D | newtonian.c | 244 CeedScalar g[3] = {0, 0, 0}; // m/s^2 in NS_NEWTONIAN_IG() local 331 …PetscCall(PetscOptionsRealArray("-gravity", "Gravitational acceleration vector", NULL, g, &dim, &g… in NS_NEWTONIAN_IG() 403 for (PetscInt i = 0; i < 3; i++) g[i] *= m_per_squared_s; in NS_NEWTONIAN_IG() 433 PetscCall(PetscArraycpy(newtonian_ig_ctx->g, g, 3)); in NS_NEWTONIAN_IG()
|
| /libCEED/benchmarks/ |
| H A D | README.md | 29 * `max_dofs_node=<number>`, e.g. `max_dofs_node=1000000` - this sets the upper 31 * `max_p=<number>`, e.g. `max_p=12` - this sets the highest degree for which the 38 e.g.:
|
| /libCEED/julia/LibCEED.jl/examples/ |
| H A D | ex2-surface.jl | 158 @printf("Exact mesh surface area : % .14g\n", exact_sa) 159 @printf("Computed mesh surface area : % .14g\n", sa) 160 @printf("Surface area error : % .14g\n", sa - exact_sa)
|
| H A D | ex1-volume.jl | 145 @printf("Exact mesh volume : % .14g\n", exact_vol) 146 @printf("Computed mesh volume : % .14g\n", vol) 147 @printf("Volume error : % .14g\n", vol - exact_vol)
|
| H A D | ex3-volume.jl | 184 @printf("Exact mesh volume : % .14g\n", exact_vol) 185 @printf("Computed mesh volume : % .14g\n", vol) 186 @printf("Volume error : % .14g\n", vol - exact_vol)
|
| H A D | ex1-volume-c.jl | 406 @printf("Exact mesh volume : % .14g\n", exact_vol) 407 @printf("Computed mesh volume : % .14g\n", vol) 408 @printf("Volume error : % .14g\n", vol - exact_vol)
|
| /libCEED/julia/LibCEED.jl/ |
| H A D | README.md | 9 If you require features of a specific build of libCEED (e.g. CUDA/GPU support, specific compiler fl… 19 If you wish to use a different libCEED binary (e.g. one built from source), LibCEED.jl can be confi…
|
| /libCEED/examples/python/ |
| H A D | tutorial-6-shell.ipynb | 186 " QFunction source [-g] : gallery\n", 200 "! ./ex1-volume -d 3 -g" 207 …line option `-d` specifies the dimensionality of the domain Ω. The option `-g` specifies that the … 277 " QFunction source [-g] : gallery\n", 291 "! ./ex2-surface -d 3 -g" 298 …line option `-d` specifies the dimensionality of the domain Ω. The option `-g` specifies that the …
|
| H A D | tutorial-0-ceed.ipynb | 95 …"Similarly, if libCEED is built with GPU support, you can specify a GPU backend, e.g., `/gpu/hip` …
|
| /libCEED/julia/LibCEED.jl/docs/src/ |
| H A D | LibCEED.md | 6 with a other versions of the libCEED library (e.g. compiled from source).
|
| H A D | Misc.md | 8 If the matrix or vector is given in a statically sized container (e.g. using
|
| H A D | index.md | 16 libCEED library. If you require features of a specific build of libCEED (e.g. 32 you wish to use a different libCEED binary (e.g. one built from source),
|
| /libCEED/examples/solids/ |
| H A D | README.md | 54 Note that many mesh formats require PETSc to be configured appropriately; e.g., `--download-exodusi… 215 * - Body force (gravity) on volume, $\int \rho \bm g$ 219 …placement independently (e.g., {code}`-units_meter 100` to measure displacement in centimeters), b…
|
| /libCEED/examples/fluids/src/ |
| H A D | setupts.c | 59 const PetscScalar *g; in Surface_Forces_NS() local 68 PetscCall(VecGetArrayRead(G_loc, &g)); in Surface_Forces_NS() 84 PetscCall(DMPlexPointLocalRead(dm, p, g, &r)); in Surface_Forces_NS() 98 PetscCall(VecRestoreArrayRead(G_loc, &g)); in Surface_Forces_NS()
|
| /libCEED/examples/fluids/include/ |
| H A D | mat-ceed.h | 37 PETSC_CEED_EXTERN PetscErrorCode MatCeedSetOperation(Mat mat, MatOperation op, void (*g)(void));
|
| /libCEED/examples/nek/bps/ |
| H A D | bps.usr | 1481 subroutine ax_e_bp1(w,u,g,h1,h2,b,ju,us,ut) 1483 C Input: u,g,h1,h2,b,ju,us,ut Output: w 1488 real*8 w(lxyz),u(lxyz),g(lg,lxyz),h1(lxyz),h2(lxyz),b(lxyz) 1543 subroutine ax_e_bp3(w,u,g,ur,us,ut,wk) 1545 C Input: u,g,ur,us,ut,wk Output: w 1555 real*8 w(lxyz),u(lxyz),g(2*ldim,lxyzq) 1563 wr = g(1,i)*ur(i) + g(2,i)*us(i) + g(3,i)*ut(i) 1564 ws = g(2,i)*ur(i) + g(4,i)*us(i) + g(5,i)*ut(i) 1565 wt = g(3,i)*ur(i) + g(5,i)*us(i) + g(6,i)*ut(i)
|
| /libCEED/examples/petsc/ |
| H A D | index.md | 125 …e identified the $2\times 2$ contravariant metric tensor $\bm g$ (sometimes written $\bm g^{ij}$),… 129 \bm g = \left(\frac{\partial \overset{\circ}{\bm{x}}}{\partial \bm{X}}^T \frac{\partial\overset{\ci… 150 -\nabla\cdot \left( \kappa \left( x \right) \nabla x \right) = g \left( x \right)
|
| /libCEED/doc/sphinx/source/ |
| H A D | precision.md | 18 … can be used for compile-time checking of {code}`CeedScalar`'s type; see, e.g., {code}`tests/t314-…
|
| /libCEED/examples/fluids/ |
| H A D | index.md | 28 …3 \times 3$ identity matrix, $\bm{b}$ is a body force vector (e.g., gravity vector $\bm{g}$), $k$… 105 …t represents contraction in just one, which should be clear from context, e.g., $\bm v \cdot \bm S… 143 \bm f(\bm q_N) \equiv \bm g(t^{n+1}, \bm{q}_N, \bm{\dot{q}}_N) = 0 \, , 157 …tial \bm f}{\partial \bm q_N} = \frac{\partial \bm g}{\partial \bm q_N} + \alpha \frac{\partial \b… 266 \tau_c &= \frac{C_c \mathcal{F}}{8\rho \trace(\bm g)} \\ 274 + \bm u \cdot (\bm u \cdot \bm g)\right] 275 + C_v \mu^2 \Vert \bm g \Vert_F ^2} 278 where $\bm g = \nabla_{\bm x} \bm{X}^T \cdot \nabla_{\bm x} \bm{X}$ is the metric tensor and $\Vert… 285 + \frac{\bm u \cdot (\bm u \cdot \bm g)}{C_a} 286 + \frac{\kappa^2 \Vert \bm g \Vert_F ^2}{C_d} \right]^{-1/2} [all …]
|