Home
last modified time | relevance | path

Searched full:ref (Results 1 – 25 of 138) sorted by relevance

123456

/libCEED/julia/LibCEED.jl/src/
H A DBasis.jl17 - [`create_tensor_h1_lagrange_basis`](@ref)
18 - [`create_tensor_h1_basis`](@ref)
19 - [`create_h1_basis`](@ref)
20 - [`create_hdiv_basis`](@ref)
21 - [`create_hcurl_basis`](@ref)
24 ref::RefValue{C.CeedBasis} field
25 function Basis(ref)
26 obj = new(ref)
34 destroy(b::Basis) = C.CeedBasisDestroy(b.ref) # COV_EXCL_LINE
35 Base.getindex(b::Basis) = b.ref[]
[all …]
H A DElemRestriction.jl15 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)
[all …]
H A DQFunction.jl9 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}()
[all …]
H A DCeedVector.jl12 ref::RefValue{C.CeedVector} field
14 CeedVector(ref::Ref{C.CeedVector}) = new(ref, nothing)
25 ref = Ref{C.CeedVector}()
26 C.CeedVectorCreate(c[], len, ref)
27 obj = CeedVector(ref)
37 destroy(v::CeedVector) = C.CeedVectorDestroy(v.ref) # COV_EXCL_LINE
38 Base.getindex(v::CeedVector) = v.ref[]
51 len = Ref{C.CeedSize}()
65 Set the [`CeedVector`](@ref) to a constant value.
72 Set the [`CeedVector`](@ref) to a constant value, synonymous to [`setvalue!`](@ref).
[all …]
H A DOperator.jl2 ref::RefValue{C.CeedOperator} field
7 function Operator(ref, qf, dqf, dqfT)
8 obj = new(ref, qf, dqf, dqfT, [])
16 destroy(op::Operator) = C.CeedOperatorDestroy(op.ref) # COV_EXCL_LINE
17 Base.getindex(op::Operator) = op.ref[]
59 ref = Ref{C.CeedOperator}()
60 C.CeedOperatorCreate(c[], qf[], dqf[], dqfT[], ref)
61 Operator(ref, qf, dqf, dqfT)
67 Create an [`Operator`](@ref) whose action represents the sum of the operators in the
71 ref = Ref{C.CeedOperator}()
[all …]
H A DCeed.jl41 ref::RefValue{C.Ceed} field
50 obj = Ceed(Ref{C.Ceed}())
51 C.CeedInit(spec, obj.ref)
57 C.CeedSetErrorHandler(obj.ref[], ehandler)
64 destroy(c::Ceed) = C.CeedDestroy(c.ref) # COV_EXCL_LINE
65 Base.getindex(c::Ceed) = c.ref[]
72 Returns the resource string associated with the given [`Ceed`](@ref) object.
75 res = Ref{Ptr{Cchar}}()
83 Returns true if backend of the given [`Ceed`](@ref) object is deterministic, and false
87 isdet = Ref{Bool}()
[all …]
H A DContext.jl2 ref::RefValue{C.CeedQFunctionContext} field
4 function Context(ref::Ref{C.CeedQFunctionContext})
5 obj = new(ref)
8 C.CeedQFunctionContextDestroy(x.ref)
13 Base.getindex(ctx::Context) = ctx.ref[]
29 ref = Ref{C.CeedQFunctionContext}()
30 C.CeedQFunctionContextCreate(c[], ref)
31 ctx = Context(ref)
H A DC.jl13 const CEED_STRIDES_BACKEND = Ref{Ptr{CeedInt}}()
14 const CEED_BASIS_NONE = Ref{CeedBasis}()
15 const CEED_VECTOR_ACTIVE = Ref{CeedVector}()
16 const CEED_VECTOR_NONE = Ref{CeedVector}()
17 const CEED_ELEMRESTRICTION_NONE = Ref{CeedElemRestriction}()
18 const CEED_QFUNCTION_NONE = Ref{CeedQFunction}()
19 const CEED_REQUEST_IMMEDIATE = Ref{CeedRequest}()
20 const CEED_REQUEST_ORDERED = Ref{CeedRequest}()
H A DLibCEED.jl179 major = Ref{Cint}()
180 minor = Ref{Cint}()
181 patch = Ref{Cint}()
182 release = Ref{Bool}()
193 major = Ref{Cint}()
194 minor = Ref{Cint}()
195 patch = Ref{Cint}()
196 release = Ref{Bool}()
273 calling [`set_libceed_path!`](@ref) or by using a depot-wide Overrides.toml file.
290 scalar_type = Ref{C.CeedScalarType}()
/libCEED/doc/sphinx/source/
H A DlibCEEDdev.md5 …gle user facing API for creating and using the libCEED objects ({ref}`CeedVector`, {ref}`CeedBasis…
6 Different Ceed backends are selected by instantiating a different {ref}`Ceed` object to create the …
24 A Ceed backend is not required to implement all libCeed objects or {ref}`CeedOperator` methods.
27 1. Delegation - Developers may use {c:func}`CeedSetDelegate` to set a general delegate {ref}`Ceed` …
28 …This delegate {ref}`Ceed` will provide the implementation of any libCeed objects that parent backe…
31 2. Object delegation - Developers may use {c:func}`CeedSetObjectDelegate` to set a delegate {ref}`…
32 …This delegate {ref}`Ceed` will only provide the implementation of that specific libCeed object for…
35 …se {c:func}`CeedSetOperatorFallbackCeed` to set a {ref}`Ceed` object to provide any unimplemented …
36 The parent backend must implement the basic {ref}`CeedOperator` functionality.
37 …Like the delegates above, this fallback {ref}`Ceed` object should be created and set in the backen…
[all …]
H A Dreleasenotes.md57 - Added Sycl backends `/gpu/sycl/ref`, `/gpu/sycl/shared`, and `/gpu/sycl/gen`.
62 - Added support for application codes which manage multiple {ref}`Ceed` objects, parallelized acros…
68 #### {ref}`example-petsc-bps`
72 #### {ref}`example-petsc-navier-stokes`
115 #### {ref}`example-petsc-navier-stokes`
127 #### {ref}`example-petsc-bps`
247 - {ref}`example-petsc-elasticity` example updated with traction boundary conditions and improved Di…
248 - {ref}`example-petsc-elasticity` example updated with Neo-Hookean hyperelasticity in current confi…
249 - {ref}`example-petsc-navier-stokes` example updated with isentropic traveling vortex test case, an…
250 - {ref}`example-petsc-navier-stokes` example updated with support for performing convergence study …
[all …]
H A DlibCEEDapi.md38 In the code, the function that represents the weak form at quadrature points is called the {ref}`Ce…
39 In the {ref}`Examples` provided with the library (in the {file}`examples/` directory), we store the…
40 If equation {eq}`residual` only presents a term of the type $\bm f_0$, the {ref}`CeedQFunction` wil…
41 If equation {eq}`residual` also presents a term of the type $\bm f_1$, then the {ref}`CeedQFunction…
181 …l, where the logical devices, which in the library are represented by the {ref}`Ceed` object, are …
182 Each MPI rank can use one or more {ref}`Ceed`s, and each {ref}`Ceed`, in turn, can represent one or…
184 …ockets and 4 GPUs, one may decide to use 6 MPI ranks (each using a single {ref}`Ceed` object): 2 r…
185 Another choice could be to run 1 MPI rank on the whole node and use 5 {ref}`Ceed` objects: 1 managi…
207 [ceed-ref.c](https://github.com/CEED/libCEED/blob/main/backends/ref/ceed-ref.c).
212 - **L-**, **E-** and **Q-vector** are represented as variables of type {ref}`CeedVector`.
[all …]
/libCEED/interface/
H A Dceed-qfunction.c58 …@param[in] init Initialization function called by @ref CeedQFunctionCreateInteriorByName() w…
62 @ref Developer
90 …@brief Set a `CeedQFunction` field, used by @ref CeedQFunctionAddInput() and @ref CeedQFunctionAdd…
94ref CEED_EVAL_NONE and @ref CEED_EVAL_WEIGHT, (`num_comp * 1`) for @ref CEED_EVAL_INTERP for an \f…
95 @param[in] eval_mode @ref CEED_EVAL_NONE to use values directly,
96 @ref CEED_EVAL_WEIGHT to use quadrature weights,
97 @ref CEED_EVAL_INTERP to use interpolated values,
98 @ref CEED_EVAL_GRAD to use gradients,
99 @ref CEED_EVAL_DIV to use divergence,
100 @ref CEED_EVAL_CURL to use curl
[all …]
H A Dceed-qfunctioncontext.c34 @ref Developer
51 @param[in] field_type @ref CeedContextFieldType
56 @ref Developer
103 …@brief Destroy user data held by `CeedQFunctionContext`, using function set by @ref CeedQFunctionC…
109 @ref Developer
138 @ref Developer
152 @ref Developer
175 @ref Backend
189 @ref Backend
201 @ref Backend
[all …]
H A Dceed.c43 …This predefined constant is passed as the @ref CeedRequest argument to interfaces when the caller …
65 …This predefined constant is passed as the @ref CeedRequest argument to interfaces when the caller …
78 …@todo The current implementation is overly strict, offering equivalent semantics to @ref CEED_REQU…
85 @brief Wait for a @ref CeedRequest to complete.
87 Calling @ref CeedRequestWait() on a `NULL` request is a no-op.
89 @param[in,out] req Address of @ref CeedRequest to wait for; zeroed on completion.
93 @ref User
111 Note: Backends should call @ref CeedRegister() instead.
115 …@param[in] init Initialization function called by @ref CeedInit() when the backend is selected…
117 …Lower values are preferred in case the resource requested by @ref CeedInit() has non-unique best p…
[all …]
H A Dceed-vector.c28 /// Indicate that vector will be provided as an explicit argument to @ref CeedOperatorApply().
31 /// Indicate that no vector is applicable (i.e., for @ref CEED_EVAL_WEIGHT).
50 @ref Developer
64 @ref Developer
87 @ref Backend
103 @brief Check for borrowed array of a specific @ref CeedMemType in a `CeedVector`
111 @ref Backend
128 @ref Backend
143 @ref Backend
158 @ref Backend
[all …]
H A Dceed-object.c35 @ref Backend
54 @ref Backend
68 @ref Backend
75 @brief Destroy a @ref CeedObject
81 @ref Backend
106 @ref User
114 @brief Set the number of tabs to indent for @ref CeedObjectView() output
121 @ref User
130 @brief Get the number of tabs to indent for @ref CeedObjectView() output
137 @ref User
[all …]
H A Dceed-elemrestriction.c36 @ref Utility
62 @ref Utility
87 @ref Utility
109 @ref Developer
123 @ref Developer
146 @ref Backend
161 @ref Backend
176 @ref Backend
184 …@brief Check if two `CeedElemRestriction` created with @ref CeedElemRestrictionCreateAtPoints() an…
192 @ref Backend
[all …]
H A Dceed-operator.c34 @ref Developer
96 @ref Utility
136 @ref Utility
185 @ref Developer
199 @ref Developer
209 Note: Caller is responsible for destroying the `active_basis` with @ref CeedBasisDestroy().
216 @ref Developer
226 Note: Caller is responsible for destroying the bases with @ref CeedBasisDestroy().
234 @ref Developer
292 …Note: Caller is responsible for destroying the `active_rstr` with @ref CeedElemRestrictionDestroy(…
[all …]
H A Dceed-basis.c26 /// Argument for @ref CeedOperatorSetField() indicating that the field does not require a `CeedBasi…
46 @ref Developer
64 @ref Developer
97 @ref Developer
118 …@param[in] t_mode @ref CEED_NOTRANSPOSE to rotate the basis counter-clockwise, which has the e…
119 @ref CEED_TRANSPOSE for the opposite rotation
127 @ref Developer
161 @ref Developer
188 @ref Developer
202 @ref Developer
[all …]
H A Dceed-tensor.c29 @ref Developer
52 @ref Backend
85 …@param[in] t_mode Transpose mode for `t`, @ref CEED_NOTRANSPOSE for `t_jb` @ref CEED_TRANSPOSE …
92 @ref Backend
115 …@param[in] t_mode Transpose mode for `t`, @ref CEED_NOTRANSPOSE for `t_djb` @ref CEED_TRANSPOSE…
122 @ref Backend
146 @ref Backend
160 @ref Backend
172 @ref Backend
187 @ref Backend
[all …]
H A Dceed-config.c19 While @ref CeedGetVersion() uniquely identifies the source code for release
27 @ref Developer
44 @ref Developer
61 @ref Developer
79 @ref Developer
/libCEED/julia/LibCEED.jl/examples/
H A Dex1-volume-c.jl130 rstr = Ref{C.CeedElemRestriction}()
144 rstr_i = Ref{C.CeedElemRestriction}()
166 coords_ref = Ref{Ptr{C.CeedScalar}}()
186 coords_ref = Ref{Ptr{C.CeedScalar}}()
221 ceed = Ref{C.Ceed}()
224 mesh_basis = Ref{C.CeedBasis}()
225 sol_basis = Ref{C.CeedBasis}()
266 mesh_coords = Ref{C.CeedVector}()
274 build_qfunc = Ref{C.CeedQFunction}()
277 qf_ctx = Ref{C.CeedQFunctionContext}()
[all …]
/libCEED/doc/sphinx/source/api/
H A DCeedOperator.rst6 A `CeedOperator` defines the finite/spectral element operator associated to a :ref:`CeedQFunction`.
7 A `CeedOperator` connects objects of the type :ref:`CeedElemRestriction`, :ref:`CeedBasis`, and :re…
/libCEED/julia/LibCEED.jl/docs/src/
H A Dindex.md19 as described in the [Configuring LibCEED.jl](@ref) section.
26 in the [Configuring LibCEED.jl](@ref) section.
59 When accessing [`CeedVector`](@ref) objects, the C interface requires the user
67 In LibCEED.jl, this difficulty is mitigated using the [`witharray`](@ref)
68 function and [`@witharray`](@ref) macro. There are also read-only versions,
69 [`witharray_read`](@ref) and [`@witharray_read`](@ref). When using this

123456