From: Roy S. <roy...@ic...> - 2018-06-29 14:46:51
|
On Thu, 28 Jun 2018, Roy Stogner wrote: > On Tue, 12 Jun 2018, Vinicius C. Reis wrote: > >> Hi John, I pasted a somewhat smaller version of my code below. By playing >> with the refinement steps limit and the commented out init() and reinit() >> lines you should be able to reproduce the two exceptions I got. > > We could try to start treating that the way we currently treat element > addition mid-simulation: all the newly created DoFs get coefficients > initialized to zero. I assume that's the behavior you're hoping for? Oh, just in case it helps: all my "how do we interpret this, how do we implement this" confusion only applies to the projection step. If you're solving a steady problem then a quick-and-dirty workaround for that case would be to just disable mesh-to-mesh projections and redo the solve from scratch after each refinement step. --- Roy |