Which FEniCS data/objects have to be updated at each timstep of dynamic problem?

Hi,

I am in the case of elastodynamics. Here are my questions:

Which “fenics data/objects” have to be updated at each timestep?

  • For now, I am updating the mesh at each timestep doing: ALE.move(mesh, u_solution) with u_solution, the displacement. But should I for instance, also update the associated boundarymesh, or is it updated automatically?
  • Same for subdomains and boundary marks, defined at the beginning of the simulation?
  • Are there other data to think to update that I could forget?

Many thanks for your help,
Anne