On 10/25/2016 04:18 AM, Tulio Ligneul wrote:

One way to solve this would be to keep two separate meshes, one to hold the
initial boundary values and another to keep the refined mesh. So each step i
would make an interpolation on the first one to get boundary values for the
new nodes created at the refined mesh.

In that case, you can also just interpolate onto the original (coarse) mesh and transfer that interpolated function to the new mesh via SolutionTransfer. This is cheaper to use later on (because it doesn't need interpolation between meshes) and you won't have to keep two meshes around.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to