From 53530c209c17fe1f3b37513b53c2f0ef9a491dc3 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 3 Jan 2025 01:35:06 -0600 Subject: Adding support for checkpoints and relevant documentation --- src/checkpoint.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/checkpoint.h (limited to 'src/checkpoint.h') 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 . +*/ + +#ifndef __CHECKPOINT_H__ +#define __CHECKPOINT_H__ + +#include + +using namespace std; + +extern string checkpoint_name; + +void checkpoint(string msg, string filename); + +#endif -- cgit v1.2.3