Lines Matching refs:QFunction
7 QFunction
11 A `QFunction` can also be created from the "Q-function gallery" using
15 mutable struct QFunction <: AbstractQFunction struct
19 function QFunction(ref, user_qf) argument
28 QFunction(ref::Ref{C.CeedQFunction}) = QFunction(ref, nothing) function
29 destroy(qf::QFunction) = C.CeedQFunctionDestroy(qf.ref) # COV_EXCL_LINE argument
30 Base.getindex(qf::QFunction) = qf.ref[] argument
31 Base.show(io::IO, ::MIME"text/plain", qf::QFunction) = argument
51 QFunction(ref, f)
57 Create a [`QFunction`](@ref) from the Q-function gallery, using the provided name.
75 QFunction(ref)
81 Create an identity [`QFunction`](@ref). Inputs are written into outputs in the order given.
90 QFunction(ref)
102 set_context!(qf::QFunction, ctx::Context)
106 function set_context!(qf::QFunction, ctx) argument
136 apply!(qf::QFunction, Q, vin, vout)
138 Apply the action of a [`QFunction`](@ref) to an array of input vectors, and store the result
141 function apply!(qf::QFunction, Q, vin, vout) argument