瀏覽代碼

Add new methods to RootCoordinator: tn getter

Eric Ramat 11 月之前
父節點
當前提交
88764dd017
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/artis-star/common/RootCoordinator.hpp

+ 2 - 0
src/artis-star/common/RootCoordinator.hpp

@@ -122,6 +122,8 @@ public :
 
   void switch_to_timed_observer(double step) { _observer.switch_to_timed_observer(step); }
 
+  typename Time::type tn() const { return _tn; }
+
   std::string to_string() const {
     std::ostringstream ss;