Hello Salazar,
You can check out adjoints example 3
(examples/adjoints/adjoints_ex3) to see an example of a Weighted Patch
Recovery estimator. In this example, we compute patch recovery error
estimates for each primal and dual variable in the appropriate norms, and
then weight
Check out AdjointResidualErrorEstimator which computes the adjoint on the same
space but then uses PatchRecovery (or whatever you want) on the primal and
duals to get an error indicator to drive AMR. Not a great estimate of the
actual error, but produces decent meshes for controlling QoI error.
On Thu, 2 Feb 2017, Salazar De Troya, Miguel wrote:
> The current implementation of AdjointRefinementEstimator does a
> uniform refinement to obtain an adjoint solution in a richer space.
> This is a necessary condition to obtain an error estimate in a
> quantity of interest. My question is: Is i