fedoo.constraint.SurfaceForce.delete_memory

static SurfaceForce.delete_memory()

Static method of the Assembly class. Erase all the static variables of the Assembly object. Stored data, are data that are used to compute the global assembly in an efficient way. However, the stored data may cause errors if the mesh is modified. In this case, the data should be recomputed, but it is not done by default. In this case, deleting the memory should resolve the problem.

Note: it the MeshChange argument is set to True when creating the Assembly object, the memory will be recomputed by default, which may cause a decrease in assembling performances