Strange meshes with compute_anisotropic_dwr_metric
#135
Labels
question
Further information is requested
Milestone
I mentioned on the meeting yesterday that I am getting strange meshes when using
RiemannianMetric.compute_anisotropic_dwr_metric
and I haven't been able to get to the bottom of it.I have 2 prognostic fields: thickness
h
and velocityu
, and corresponding error indicatorsh_ind
andu_ind
. Computingcompute_isotropic_dwr_metric(indicator)
and adapting the mesh gives expected results. But when I compute hessians ofh
andu
, and intersect them to computecompute_anisotropic_dwr_metric(indicator, intersected_hessian)
, I get an adapted mesh which looks as if the hessian acts against the indicator. Fine resolution gets prescribed in the right-hand side of the domain, where the hessian metric density is lowest.Here is the code used to get the above:
Could you please take a look if I did something wrong? :)
The text was updated successfully, but these errors were encountered: