Home
last modified time | relevance | path

Searched full:shape (Results 1 – 25 of 64) sorted by relevance

123

/libCEED/python/
H A Dceed_vector.py141 'shape': (length_pointer[0]),
188 'shape': (length_pointer[0]),
234 'shape': (length_pointer[0]),
266 def array(self, *shape, memtype=MEM_HOST): argument
270 shape (tuple): shape of returned numpy.array
285 if shape:
286 x = x.reshape(shape)
291 def array_read(self, *shape, memtype=MEM_HOST): argument
295 shape (tuple): shape of returned numpy.array
310 if shape:
[all …]
H A Dceed_qfunctioncontext.py139 'shape': (size_pointer[0] / ffi.sizeof("CeedScalar")),
160 def data(self, *shape, memtype=MEM_HOST): argument
164 shape (tuple): shape of returned numpy.array
172 if shape:
173 x = x.reshape(shape)
H A Dceed.py210 *offsets: Numpy array of shape [nelem, elemsize]. Row i holds the
239 *offsets: Numpy array of shape [nelem, elemsize]. Row i holds the
244 *orients: Numpy array of shape [nelem, elemsize]. Row i holds the
272 *offsets: Numpy array of shape [nelem, elemsize]. Row i holds the
277 *curl_orients: Numpy array of shape [nelem, 3 * elemsize]. Row i holds
326 *offsets: Numpy array of shape [nelem, elemsize]. Row i holds the
360 *offsets: Numpy array of shape [nelem, elemsize]. Row i holds the
368 *orients: Numpy array of shape [nelem, elemsize]. Row i holds the
397 *offsets: Numpy array of shape [nelem, elemsize]. Row i holds the
405 *curl_orients: Numpy array of shape [nelem, 3 * elemsize]. Row i holds
/libCEED/examples/ceed/
H A Dex1-volume-f.h6 ! j is Jacobians with shape [dim, dim, Q]
7 ! w is quadrature weights with shape [1, Q]
10 ! qdata is quadrature data with shape [1, Q]
42 ! u is solution variables with shape [1, Q]
43 ! qdata is quadrature data with shape [1, Q]
46 ! v is solution variables with shape [1, Q]
H A Dex1-volume.h19 // in[0] is Jacobians with shape [dim, dim, Q] in build_mass()
20 // in[1] is quadrature weights with shape [1, Q] in build_mass()
56 // in[0], out[0] are solution variables with shape [1, Q] in apply_mass()
57 // in[1] is quadrature data with shape [1, Q] in apply_mass()
H A Dex1-volume-f-c.h14 // in[0] is Jacobians with shape [dim, dim, Q] in build_mass()
15 // in[1] is quadrature weights with shape [1, Q] in build_mass()
51 // in[0], out[0] are solution variables with shape [1, Q] in apply_mass()
52 // in[1] is quadrature data with shape [1, Q] in apply_mass()
/libCEED/tests/
H A Dt531-operator.h14 // in[0] is Jacobians with shape [2, nc=2, Q] in setup()
39 // in[0] is gradient u, shape [2, nc=1, Q] in diff()
43 // out[0] is output to multiply against gradient v, shape [2, nc=1, Q] in diff()
57 // in[0] is gradient u, shape [2, nc=1, Q] in diff_lin()
61 // out[0] is output to multiply against gradient v, shape [2, nc=1, Q] in diff_lin()
H A Dt532-operator.h23 // in[0] is Jacobians with shape [2, nc=2, Q] in setup_diff()
48 // in[0] is gradient u, shape [2, nc=1, Q] in apply()
55 // out[1] is output to multiply against gradient v, shape [2, nc=1, Q] in apply()
73 // in[0] is gradient u, shape [2, nc=1, Q] in apply_lin()
79 // out[1] is output to multiply against gradient v, shape [2, nc=1, Q] in apply_lin()
H A Dt534-operator.h14 // in[0] is Jacobians with shape [2, nc=2, Q] in setup()
39 // in[0] is gradient u, shape [2, nc=1, Q] in diff()
43 // out[0] is output to multiply against gradient v, shape [2, nc=1, Q] in diff()
H A Dt568-operator.h14 // in[0] is Jacobians with shape [2, nc=2, Q] in setup()
39 // in[0] is gradient u, shape [2, nc=2, Q] in diff()
43 // out[0] is output to multiply against gradient v, shape [2, nc=2, Q] in diff()
H A Dt541-operator.h11 // in[0] is Jacobians with shape [2, nc=2, Q] in setup_diff()
36 // in[0] is gradient u, shape [2, nc=1, Q] in apply()
40 // out[0] is output to multiply against gradient v, shape [2, nc=1, Q] in apply()
H A Dt597-operator.h14 // in[0] is Jacobians with shape [2, nc=2, Q] in setup()
40 // in[0] is gradient u, shape [2, nc=1, Q] in diff()
44 // out[0] is output to multiply against gradient v, shape [2, nc=1, Q] in diff()
H A Dt535-operator.h23 // in[0] is Jacobians with shape [2, nc=2, Q] in setup_diff()
48 // in[0] is gradient u, shape [2, nc=1, Q] in apply()
55 // out[1] is output to multiply against gradient v, shape [2, nc=1, Q] in apply()
H A Dt539-operator.h11 // in[0] is gradient u_0, shape [2, num_comp=2, Q] in apply()
20 // out[2] is output to multiply against gradient v_0, shape [2, num_comp=2, Q] in apply()
/libCEED/examples/python/qfunctions/
H A Dex1-volume.h14 // in[0] is Jacobians with shape [dim, dim, Q] in build_mass()
15 // in[1] is quadrature weights with shape [1, Q] in build_mass()
52 // in[0], out[0] are solution variables with shape [1, Q] in apply_mass()
53 // in[1] is quadrature data with shape [1, Q] in apply_mass()
/libCEED/include/ceed/
H A Dtypes.h253 /// Type of basis shape to create non-tensor element basis.
259 /// Triangle - 2D shape
261 /// Quadralateral - 2D shape
263 /// Tetrahedron - 3D shape
265 /// Pyramid - 3D shape
267 /// Prism - 3D shape
269 /// Hexehedron - 3D shape
/libCEED/examples/fluids/qfunctions/
H A Dadvection_types.h31 BUBBLE_CONTINUITY_SMOOTH = 0, // Original continuous, smooth shape
32 BUBBLE_CONTINUITY_BACK_SHARP = 1, // Discontinuous, sharp back half shape
/libCEED/include/ceed/jit-source/gallery/
H A Dceed-vectorpoisson1dapply.h14 // in[0] is gradient u, shape [1, nc=3, Q] in Vector3Poisson1DApply()
17 // out[0] is output to multiply against gradient v, shape [1, nc=3, Q] in Vector3Poisson1DApply()
H A Dceed-poisson2dapply.h14 // in[0] is gradient u, shape [2, nc=1, Q] in Poisson2DApply()
17 // out[0] is output to multiply against gradient v, shape [2, nc=1, Q] in Poisson2DApply()
H A Dceed-vectorpoisson2dapply.h14 // in[0] is gradient u, shape [2, nc=3, Q] in Vector3Poisson2DApply()
17 // out[0] is output to multiply against gradient v, shape [2, nc=3, Q] in Vector3Poisson2DApply()
H A Dceed-poisson3dapply.h14 // in[0] is gradient u, shape [3, nc=1, Q] in Poisson3DApply()
17 // out[0] is output to multiply against gradient v, shape [3, nc=1, Q] in Poisson3DApply()
H A Dceed-vectorpoisson3dapply.h14 // in[0] is gradient u, shape [3, nc=3, Q] in Vector3Poisson3DApply()
17 // out[0] is output to multiply against gradient v, shape [3, nc=3, Q] in Vector3Poisson3DApply()
/libCEED/include/
H A Dceed-impl.h223 …CeedScalar *interp; /* row-major matrix of shape [Q, P] or [dim * Q, P] expressing the values of n…
225 …CeedScalar *interp_1d; /* row-major matrix of shape [Q1d, P1d] expressing the values of nodal basi…
226 …CeedScalar *grad; /* row-major matrix of shape [dim * Q, P] matrix expressing derivatives of …
227 …CeedScalar *grad_1d; /* row-major matrix of shape [Q1d, P1d] matrix expressing derivatives of no…
228 …CeedScalar *div; /* row-major matrix of shape [Q, P] expressing the divergence of basis functions …
229 …CeedScalar *curl; /* row-major matrix of shape [curl_dim * Q, P], curl_dim = 1 if dim < 3 else dim…
/libCEED/examples/petsc/
H A Dbpsraw.c562 …CeedInt shape[3] = {mesh_elem[0] + 1, mesh_elem[1] + 1, mesh_elem[2] + 1}, len = shape[0] * sh… in main() local
565 for (CeedInt i = 0; i < shape[0]; i++) { in main()
566 for (CeedInt j = 0; j < shape[1]; j++) { in main()
567 for (CeedInt k = 0; k < shape[2]; k++) { in main()
568 …x_loc[dim * ((i * shape[1] + j) * shape[2] + k) + 0] = 1. * (i_rank[0] * mesh_elem[0] + i) / (p[0]… in main()
569 …x_loc[dim * ((i * shape[1] + j) * shape[2] + k) + 1] = 1. * (i_rank[1] * mesh_elem[1] + j) / (p[1]… in main()
570 …x_loc[dim * ((i * shape[1] + j) * shape[2] + k) + 2] = 1. * (i_rank[2] * mesh_elem[2] + k) / (p[2]… in main()
/libCEED/julia/LibCEED.jl/src/
H A DElemRestriction.jl63 - `offsets`: Array of shape `(elemsize, nelem)`. Column $i$ holds the ordered list of the
127 - `offsets`: Array of shape `(elemsize, nelem)`. Column $i$ holds the ordered list of the
131 - `orients`: Array of shape `(elemsize, nelem)` with bool false for positively oriented
195 - `offsets`: Array of shape `(elemsize, nelem)`. Column $i$ holds the ordered list of
199 - `curlorients`: Array of shape `(3 * elemsize, nelem)` representing a row-major tridiagonal

123