Skip to content

Commit 8f27eab

Browse files
committed
some doc improvements
1 parent d31c605 commit 8f27eab

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

docs/src/estimators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A posteriori error estimation
22

3-
## Spatial refinement
3+
## Residual-based error estimation
44
Spatial error estimation refers to classical residual-based error estimation
55
for the zero-th multi index that refers to the mean value.
66
Stochastic error control has to estimate which stochastic mode needs to be refined

docs/src/estimators.pdf

219 Bytes
Binary file not shown.

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ model problems involving KLE of stochastic coefficients. The rather huge systems
55
structure and are solved by iterative solvers. A posteriori error estimators steer the spatial
66
and stochastic refinement.
77

8-
The spatial discretization is based on the finite element package [ExtendableFEM.jl](https://github.com/WIAS-PDELib/ExtendableFEM.jl) and [ExtendableFEMBase.jl](https://github.com/WIAS-PDELib/ExtendableFEMBase.jl)
8+
The spatial discretization is based on the finite element package [ExtendableFEM.jl](https://github.com/WIAS-PDELib/ExtendableFEM.jl)/[ExtendableFEMBase.jl](https://github.com/WIAS-PDELib/ExtendableFEMBase.jl)
99

1010

1111
## References

docs/src/index.pdf

9 Bytes
Binary file not shown.

src/estimate.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ $(TYPEDSIGNATURES)
4040
4141
computes the residual-based a posteriori error estimator for the current solution vector `sol`
4242
for the given model problem and stochastic coefficient `C` and returns:
43-
- eta4modes = array with total error estimators for each multi-index (corresponding to the enriched set of multi-indices
44-
with the current active modes coming first)
45-
- eta4cell = array with total error estimators for each cell in grid (for spatial refinement)
46-
- multi_indices_extended = enriched set of multi-indices used for the computations
47-
- f4modes
43+
- `eta4modes` = array with total error estimators for each multi-index (corresponding to the enriched set of multi-indices with the current active modes coming first)
44+
- `eta4cell` = array with total error estimators for each cell in grid (for spatial refinement)
45+
- `multi_indices_extended = enriched set of multi-indices used for the computations
4846
4947
"""
5048
function estimate(::Type{AbstractModelProblem}, sol::SGFEVector, C::AbstractStochasticCoefficient; kwargs...)
51-
return @error "no error estimator for the model problem type available"
49+
@error "no error estimator for the model problem type available"
50+
return Vector{Float64}, Matrix{Float64}, [[0]]
5251
end
5352

5453

0 commit comments

Comments
 (0)