← Back to team overview

dolfin team mailing list archive

Re: Mesh refinement and Functions

 

Anders Logg wrote:

> The default update procedure would be interpolation.

Which interpolation?  Perhaps the user needs it to be conservative or
preserve some other structure.  What if they want to use different
schemes for different functions on that mesh?


You can't implement refinement in-place anyway.  Providing an interface
that looks in-place just means that users have to rewrite larger pieces
of their code when they need more control.  I would suggest that
refinement produces a new mesh and then provide methods to transfer
functions and solver objects to the new mesh.

Jed

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References