Closed Yotag closed 4 years ago
It should work, but it is impossible to tell if you are using it correctly without specifying your input file and problem generator.
The problem generator is one I costume made. AMR works for me, SMR works for me. but trying to add this into the input file:
refinement = adaptive numlevel = 5 deref_count = 5
You get that error in the latter case because level=3
SMR exceeds the maximum allowed refinement level numlevel=2
.
AMR might be ignored in the former case because your RefinementCondition
is not sufficiently sensitive for your purposes.
I managed to run AMR and SMR simultaneously on a default problem generator. It looks like the problem was in my own code. Thanks for the replies!
I opened the issue in the first place because I was unsure if you can still run them both in current versions, as it is no longer explicitly specified in the wiki like it used to be. Perhaps it is possible to add a clarification to the current wiki page?
Have a pleasant weekend.
I have seen an old page in the wiki that states that AMR and SMR can be used together : "remove the block as it is not needed any more
if the block is still present, the solver will apply this SMR
and refine further if prompted by the AMR refinement condition"
How I am trying to run it now with V 1.1.0 and it seems to just ignore the AMR call. Am I doing something wrong or is the option just not available? Regards, Yotam.