aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoint.h
diff options
context:
space:
mode:
authorPjotr Prins2025-01-03 01:35:06 -0600
committerPjotr Prins2025-01-03 01:35:50 -0600
commit53530c209c17fe1f3b37513b53c2f0ef9a491dc3 (patch)
tree9860e4954fad775277bf0dad10a88c8381e02331 /src/checkpoint.h
parent1db223ea71837a0cdfcb881411a5a4cd685a7dae (diff)
downloadpangemma-53530c209c17fe1f3b37513b53c2f0ef9a491dc3.tar.gz
Adding support for checkpoints and relevant documentation
Diffstat (limited to 'src/checkpoint.h')
-rw-r--r--src/checkpoint.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/checkpoint.h b/src/checkpoint.h
new file mode 100644
index 0000000..7a70855
--- /dev/null
+++ b/src/checkpoint.h
@@ -0,0 +1,31 @@
+/*
+ Checkpoints for pangemma propagators
+
+ Copyright © 2015, Pjotr Prins
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __CHECKPOINT_H__
+#define __CHECKPOINT_H__
+
+#include <string>
+
+using namespace std;
+
+extern string checkpoint_name;
+
+void checkpoint(string msg, string filename);
+
+#endif