00001 // File: seq.h 00002 // Module for sequential simulation strategy class 00003 #ifndef SEQ_H 00004 #define SEQ_H 00005 00006 class seq : public strat { 00007 public: 00008 seq() { 00009 STRAT_T = SEQ_T; 00010 #ifndef SEQUENTIAL_POSE 00011 CkAbort("ERROR: can't have sequential posers in parallel simulation!\n"); 00012 #endif 00013 } 00014 inline void initSync() { parent->sync = CONSERVATIVE; } 00015 virtual void Step(); 00016 }; 00017 00018 #endif