← Back to team overview

dolfin team mailing list archive

[Question #111571]: update function after mesh movement

 

New question #111571 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/111571

hello dolfins

after using mesh.move(...) in  a (time-)step, i see that the vector of dofs of a function based on that mesh still correspond to the unmoved mesh, so in a next step, i need to update the function dofs to the new mesh cells.  

if i use tabulate_coordinates() and tabulate_dofs() and replace the old dofs with those evaluated at the new dof coordinates i should be fine, or is there something else i have to take into account?

i'm not really sure what and what not is happening in dolfin concerning functions based on the mesh which is being moved.

thank you for the support,
regards,
patrick
 


-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups