Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 25 of 25) sorted by relevance

/libCEED/tests/
H A Dt409-qfunction.h10 CEED_QFUNCTION(scale)(void *ctx, const CeedInt Q, const CeedScalar *const *in, CeedScalar *const *o… in scale() function
11 CeedScalar *scale = (CeedScalar *)ctx; in scale() local
16 v[i] = scale[1] * u[i]; in scale()
18 scale[0] = 42; in scale()
H A Dt506-operator.c18 CeedInt num_elem = 15, p = 5, q = 8, scale = 3, num_comp = 2; in main() local
34 CeedVectorCreate(ceed, num_elem * q * scale, &q_data_large); in main()
53 CeedInt strides_q_data_large[3] = {1, q * scale, q * scale}; in main()
54 …CeedElemRestrictionCreateStrided(ceed, num_elem, q * scale, 1, q * num_elem * scale, strides_q_dat… in main()
59 CeedBasisCreateTensorH1Lagrange(ceed, 1, 1, 2, q * scale, CEED_GAUSS, &basis_x_large); in main()
60 CeedBasisCreateTensorH1Lagrange(ceed, 1, num_comp, p, q * scale, CEED_GAUSS, &basis_u_large); in main()
H A Dt567-operator.h38 const CeedScalar scale[2][2] = { in diff() local
58 …vg[j][k][i] = (ug[0][k][i] * dXdxdXdxT[0][j] * scale[0][j] + ug[1][k][i] * dXdxdXdxT[1][j] * scale in diff()
H A Dt401-qfunction.h20 CeedScalar *scale = (CeedScalar *)ctx; in mass() local
24 v[i] = scale[4] * q_data[i] * u[i]; in mass()
H A Dt566-operator.h24 const CeedScalar scale[2][2] = { in mass() local
33 v[c_out][i] += q_data[i] * u[c_in][i] * scale[c_in][c_out]; in mass()
H A Dt352-basis.c8 static CeedScalar Eval(CeedInt dim, CeedScalar scale, const CeedScalar x[]) { in Eval() argument
14 return scale * result; in Eval()
H A Dt409-qfunction.c27 CeedQFunctionCreateInterior(ceed, 1, scale, scale_loc, &qf); in main()
/libCEED/include/ceed/jit-source/gallery/
H A Dceed-scale.h20 const CeedScalar *scale = in[1]; in Scale() local
25 …CeedPragmaSIMD for (CeedInt i = 0; i < Q * size; i++) { output[i] = input[i] * scale[i]; } // End… in Scale()
H A Dceed-scale-scalar.h20 const CeedScalar *scale = in[1]; in ScaleScalar() local
26 for (CeedInt j = 0; j < size; j++) output[i + j * Q] = input[i + j * Q] * scale[i]; in ScaleScalar()
/libCEED/tests/output/
H A Dt402-qfunction.out29 Labeled double field: scale
47 Labeled double field: scale
/libCEED/python/tests/
H A Dtest-qfunctions.h48 const CeedScalar scale = ctx ? scale_array[4] : 1.; in apply_mass() local
58 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { v[i] = scale * qdata[i] * u[i]; } in apply_mass()
H A Dtest-1-vector.py302 x.scale(-0.5)
/libCEED/julia/LibCEED.jl/docs/src/
H A DCeedVector.md18 scale!
/libCEED/interface/
H A Dceed-elemrestriction.c577 CeedSize e_size, scale = 0; in CeedElemRestrictionGetFlopsEstimate() local
585 scale = 0; in CeedElemRestrictionGetFlopsEstimate()
589 scale = 1; in CeedElemRestrictionGetFlopsEstimate()
592 scale = 2; in CeedElemRestrictionGetFlopsEstimate()
595 scale = 6; in CeedElemRestrictionGetFlopsEstimate()
603 scale = 0; in CeedElemRestrictionGetFlopsEstimate()
606 scale = 1; in CeedElemRestrictionGetFlopsEstimate()
609 scale = 5; in CeedElemRestrictionGetFlopsEstimate()
613 *flops = e_size * scale; in CeedElemRestrictionGetFlopsEstimate()
/libCEED/julia/LibCEED.jl/src/
H A DCeedVector.jl316 scale!(v::CeedVector, a::Real)
320 function scale!(v::CeedVector, a::Real)
H A DLibCEED.jl129 scale!,
/libCEED/python/
H A Dceed_vector.py419 def scale(self, alpha): member in Vector
/libCEED/rust/libceed/src/
H A Dvector.rs641 pub fn scale(mut self, alpha: crate::Scalar) -> crate::Result<Self> { in scale() method
/libCEED/examples/nek/bps/
H A Dbps.usr540 scale = w3mq(i,1,1)/jacmq
542 gf(1,i,e) = scale*(g11*g11+g12*g12+g13*g13) ! Grr
543 gf(2,i,e) = scale*(g11*g21+g12*g22+g13*g23) ! Grs
544 gf(3,i,e) = scale*(g11*g31+g12*g32+g13*g33) ! Grt
545 gf(4,i,e) = scale*(g21*g21+g22*g22+g23*g23) ! Gss
546 gf(5,i,e) = scale*(g21*g31+g22*g32+g23*g33) ! Gst
547 gf(6,i,e) = scale*(g31*g31+g32*g32+g33*g33) ! Gtt
/libCEED/examples/fluids/qfunctions/
H A Dstg_shur14.h471 const CeedScalar(*scale) = (const CeedScalar(*))in[2]; in StgShur14InflowStrongQF()
526 bcval[j][i] = scale[i] * q[j]; in StgShur14InflowStrongQF()
/libCEED/examples/fluids/
H A Dindex.md206 …or-ns-supg`, $\bm\tau \in \mathbb R^{5\times 5}$ (field indices) is an intrinsic time scale matrix.
223 :::{dropdown} Stabilization scale $\bm\tau$
321 For scale-resolving simulations (such as LES and DNS), statistics for a simulation are more often u…
493 …y^+ = y u_\tau / \nu = y/\delta_\nu$), $A^+$ is some wall-friction scaled scale factor, and $\zeta…
514 To account for this, we use $\beta$ to scale the filter tensor to the appropriate size, as is done …
600scale that is proportional to the element length in the direction of the density gradient unit vec…
741 where $l_t$ is the turbulence length scale, and $d_w$ is the distance to the
H A DREADME.md263 … the simpler HLL converts thermal structures exiting the domain into grid-scale reflecting acousti…
/libCEED/julia/LibCEED.jl/test/
H A Druntests.jl124 scale!(cv1, alpha)
/libCEED/examples/solids/
H A Dindex.md380 alt.Y("energy", scale=alt.Scale(type="sqrt")),
/libCEED/
H A Dcoverage.info4923 SF:/home/jeremy/Dev/libCEED/gallery/scale/ceed-scale.c
5152 SF:/home/jeremy/Dev/libCEED/include/ceed/jit-source/gallery/ceed-scale.h