discretize.load_mesh

discretize.load_mesh(filename)[source]

Open a json file and load the mesh into the target class

As long as there are no namespace conflicts, the target __class__ will be stored on the properties.HasProperties registry and may be fetched from there.

Parameters:filename (str) – name of file to read in