You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compute the Jacobian of the [`lazy_interpolate!`](@ref) call with respect to the
12
+
`source_space` degrees of freedom, i.e. for functions ``v = \\sum_j \\alpha_j \\, \\varphi_j`` of the
13
+
`source_space` and the interpolation operator ``I(v) = \\sum_k L_k(v)\\,\\phi_k = \\sum_k L_k\\left(\\sum_j \\alpha_j \\varphi_j\\right) \\, \\phi_k``
14
+
into the `target_space`, this function computes the jacobian ``\\left[\\frac{\\partial L_k}{\\partial \\alpha_j}\\right]_{k,\\,j}``
15
+
and returns its sparse matrix representation.
16
+
17
+
# Arguments
18
+
- `target_space::FESpace`: Finite element space into which the interpolation ``I(v)`` is directed.
19
+
- `source_space::FESpace`: Finite element space from which ``v`` is taken.
20
+
21
+
# Keyword Arguments
22
+
- `use_cellparents`: Use parent cell information if available (can speed up the calculation if the `target_space` is defined on a subgrid of `source_space`).
23
+
- `kwargs...`: Additional keyword arguments passed to lower-level `lazy_interpolate!` call.
24
+
25
+
# Notes
26
+
- Since [`lazy_interpolate!`](@ref) is based on evaluating functions from the `source_space`
27
+
using a [`ExtendableFEMBase.PointEvaluator`](@ref), this should be used carefully on finer
28
+
grids as this is not the most efficient method, but will work out of the box for any
29
+
`source` and `target` spaces.
30
+
- This function can be used for computing prolongation or restriction operators if the `FESpace`s are defined on coarser/finer grids, respectively.
Compute the Jacobian of the [`lazy_interpolate!`](@ref) call with respect to the
105
-
`source_space` degrees of freedom, i.e. for functions ``v = \\sum_j \\alpha_j \\, \\varphi_j`` of the
106
-
`source_space` and the interpolation operator ``I(v) = \\sum_k L_k(v)\\,\\phi_k = \\sum_k L_k\\left(\\sum_j \\alpha_j \\varphi_j\\right) \\, \\phi_k``
107
-
into the `target_space`, this function computes the jacobian ``\\left[\\frac{\\partial L_k}{\\partial \\alpha_j}\\right]_{k,\\,j}``
108
-
and returns its sparse matrix representation.
109
-
110
-
# Arguments
111
-
- `target_space::FESpace`: Finite element space into which the interpolation ``I(v)`` is directed.
112
-
- `source_space::FESpace`: Finite element space from which ``v`` is taken.
113
-
114
-
# Keyword Arguments
115
-
- `use_cellparents`: Use parent cell information if available (can speed up the calculation if the `target_space` is defined on a subgrid of `source_space`).
116
-
- `kwargs...`: Additional keyword arguments passed to lower-level `lazy_interpolate!` call.
117
-
118
-
# Notes
119
-
- This function can be used for computing prolongation or restriction operators if the `FESpace`s are defined on coarser/finer grids, respectively.
0 commit comments