Closed jaustermann closed 6 years ago
Hi Jacky,
if you are still interested in this, I think it should not be too hard to implement. I could imagine a parameter in the mesh refinement section called Skip initial adaptive refinement solves
, which contains documentation that it is only save to set this to true if the refinement criteria are independent of the solution. Then one would only need to modify core.cc:2309-2314 to include a loop that calls maybe_do_initial_refinement
until no more initial refinement is done, and then one final goto start_time_iteration
to actually solve for the final mesh. Do you want to give this a try?
Hi Rene, thanks for the pointers! I will give this a try.
@jaustermann do you want to assign this to yourself?
@bobmyhill I haven't worked on this yet so feel free to tackle it if you want
Ok, this is mine!
This is addressed by #2409.
It would be nice if we could check whether the refinement strategy depends on the solution of the first timestep and if it doesn't (e.g. boundary, topography) refine right away without calculating the solution first. This only matters for the initial refinement.