| 104 | } |
| 105 | |
| 106 | std::string fields_dump(fields *f, const std::string &filename_prefix, |
| 107 | const std::string &output_name) { |
| 108 | std::string filename = filename_prefix + "-fields-" + output_name; |
| 109 | f->dump(filename.c_str()); |
| 110 | master_printf("Dumping fields: %s\n", filename.c_str()); |
| 111 | return filename; |
| 112 | } |
| 113 | |
| 114 | void fields_load(fields *f, const std::string &filename) { |
| 115 | master_printf("Loading fields: %s\n", filename.c_str()); |