https://github.com/N-BodyShop/changa
Raw File
Tip revision: 5041d721ea7bca57830960a1b6d35ba3f1bfcfb3 authored by robelgeda on 05 June 2018, 20:16:55 UTC
Clean up
Tip revision: 5041d72
CHECKPOINTING
Structure: 
	   1. call CkStartCheckpoint() at intervals or when wall clock runs out.
	   2. restart() entry will detect if we're really restarting or not
	    by using a flag set in the Migration constructor for main and
	    then call doSimulation() to continue.  If we are actually restarting
	    then restart() will call initialForces() which then proceeds to
	    doSimulation().
	    
	  

Issues:
Does Readonly data get automatically checkpointed? Yes!
What about the proxies that are stored read-only?  They get automatically
restored.

All groups and node groups need to get migration constructors since they
automatically get dumped.
back to top