Skip to content
Discussion options

You must be logged in to vote
  1. Saving and loading the mesh seems to be necessary. I am not sure why in the documentation it is said to be optional (https://www.firedrakeproject.org/checkpointing.html.) Can somebody give a working example where you can later load functions from a CheckpointFile without a mesh? What is different in my case?

  2. The other errors come from the fact that the definition of the functions using for example:
    a. V_T = FunctionSpace(mesh, T_element)
    V_T.name = "TemperatureSpace"
    temp = Function(V_T, name="Temperature")
    is completely different than:
    b. with CheckpointFile(restart_file, 'r') as chk:
    mesh = chk.load_mesh("Mesh")
    temp = chk.load_function(mesh, name="Temperature"
    seem to be different.

    B…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@connorjward
Comment options

@madalina-phys
Comment options

Answer selected by connorjward
@connorjward
Comment options

@madalina-phys
Comment options

@ksagiyam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants