Lines Matching full:ref

9 A libCEED `CeedQFunction` object, typically created using the [`@interior_qf`](@ref) macro.
12 [`create_interior_qfunction`](@ref). The identity Q-function can be created using
13 [`create_identity_qfunction`](@ref).
16 ref::RefValue{C.CeedQFunction} field
19 function QFunction(ref, user_qf)
20 obj = new(ref, user_qf, nothing)
28 QFunction(ref::Ref{C.CeedQFunction}) = QFunction(ref, nothing)
29 destroy(qf::QFunction) = C.CeedQFunctionDestroy(qf.ref) # COV_EXCL_LINE
30 Base.getindex(qf::QFunction) = qf.ref[]
35 ref = Ref{C.CeedQFunction}()
38 C.CeedQFunctionCreateInterior(c[], vlength, f.fptr, "", ref)
41 C.CeedQFunctionSetCUDAUserFunction(ref[], f.cuf)
51 QFunction(ref, f)
57 Create a [`QFunction`](@ref) from the Q-function gallery, using the provided name.
73 ref = Ref{C.CeedQFunction}()
74 C.CeedQFunctionCreateInteriorByName(c.ref[], name, ref)
75 QFunction(ref)
81 Create an identity [`QFunction`](@ref). Inputs are written into outputs in the order given.
82 This is useful for [`Operators`](@ref Operator) that can be represented with only the action
83 of a [`ElemRestriction`](@ref) and [`Basis`](@ref), such as restriction and prolongation
88 ref = Ref{C.CeedQFunction}()
89 C.CeedQFunctionCreateIdentity(c[], size, inmode, outmode, ref)
90 QFunction(ref)
104 Associate a [`Context`](@ref) object `ctx` with the given Q-function `qf`.
113 ninputs = Ref{CeedInt}()
114 noutputs = Ref{CeedInt}()
115 inputs = Ref{Ptr{C.CeedQFunctionField}}()
116 outputs = Ref{Ptr{C.CeedQFunctionField}}()
138 Apply the action of a [`QFunction`](@ref) to an array of input vectors, and store the result