Lines Matching full:ref
15 elements. An `ElemRestriction` object can be created using [`create_elem_restriction`](@ref)
16 or [`create_elem_restriction_strided`](@ref).
19 ref::RefValue{C.CeedElemRestriction} field
20 function ElemRestriction(ref)
21 obj = new(ref)
29 destroy(r::ElemRestriction) = C.CeedElemRestrictionDestroy(r.ref) # COV_EXCL_LINE
30 Base.getindex(r::ElemRestriction) = r.ref[]
54 - `ceed`: The [`Ceed`](@ref) object
64 offsets (into the input [`CeedVector`](@ref)) for the unknowns corresponding
67 - `mtype`: Memory type of the `offsets` array, see [`MemType`](@ref)
68 - `cmode`: Copy mode for the `offsets` array, see [`CopyMode`](@ref)
81 ref = Ref{C.CeedElemRestriction}()
92 ref,
94 ElemRestriction(ref)
118 - `ceed`: The [`Ceed`](@ref) object
128 offsets (into the input [`CeedVector`](@ref)) for the unknowns corresponding
133 - `mtype`: Memory type of the `offsets` array, see [`MemType`](@ref)
134 - `cmode`: Copy mode for the `offsets` array, see [`CopyMode`](@ref)
148 ref = Ref{C.CeedElemRestriction}()
160 ref,
162 ElemRestriction(ref)
186 - `ceed`: The [`Ceed`](@ref) object
196 the offsets (into the input [`CeedVector`](@ref)) for the unknowns
203 - `mtype`: Memory type of the `offsets` array, see [`MemType`](@ref)
204 - `cmode`: Copy mode for the `offsets` array, see [`CopyMode`](@ref)
218 ref = Ref{C.CeedElemRestriction}()
230 ref,
232 ElemRestriction(ref)
245 - `ceed`: The [`Ceed`](@ref) object
253 + j*strides[1] + k*strides[2]`. [`STRIDES_BACKEND`](@ref) may be used with
257 ref = Ref{C.CeedElemRestriction}()
258 C.CeedElemRestrictionCreateStrided(c[], nelem, elemsize, ncomp, lsize, strides, ref)
259 ElemRestriction(ref)
271 Use the [`ElemRestriction`](@ref) to convert from L-vector to an E-vector (or apply the
272 tranpose operation). The input [`CeedVector`](@ref) is `u` and the result stored in `ru`.
290 Use the [`ElemRestriction`](@ref) to convert from L-vector to an E-vector (or apply the
295 ceed_ref = Ref{C.Ceed}()
318 Return a new [`CeedVector`](@ref) E-vector.
321 ref = Ref{C.CeedVector}()
322 C.CeedElemRestrictionCreateVector(r[], C_NULL, ref)
323 CeedVector(ref)
329 Return a new [`CeedVector`](@ref) L-vector.
332 ref = Ref{C.CeedVector}()
333 C.CeedElemRestrictionCreateVector(r[], ref, C_NULL)
334 CeedVector(ref)
343 l_ref = Ref{C.CeedVector}()
344 e_ref = Ref{C.CeedVector}()
355 lsize = Ref{CeedInt}()
363 Get the total number of elements in the range of an [`ElemRestriction`](@ref).
366 result = Ref{CeedInt}()
374 Get the size of elements in the given [`ElemRestriction`](@ref).
377 result = Ref{CeedInt}()
385 Get the size of an L-vector for the given [`ElemRestriction`](@ref).
388 result = Ref{CeedSize}()
396 Get the number of components in the elements of an [`ElemRestriction`](@ref).
399 result = Ref{CeedInt}()
407 Get the multiplicity of nodes in an [`ElemRestriction`](@ref). The [`CeedVector`](@ref) `v`
408 should be an L-vector (i.e. `length(v) == getlvectorsize(r)`, see [`create_lvector`](@ref)).
418 Convenience function to get the multiplicity of nodes in the [`ElemRestriction`](@ref),
420 [`getmultiplicity!`](@ref)).