add image_fname string for caching the last active dump image filename pattern

This commit is contained in:
Axel Kohlmeyer
2023-08-29 19:22:33 -04:00
parent d0c1cfd292
commit 26ef4065da
3 changed files with 13 additions and 2 deletions

View File

@ -36,6 +36,8 @@
#include "memory.h"
#include "modify.h"
#include "molecule.h"
#include "output.h"
#include "thermo.h"
#include "tokenizer.h"
#include "update.h"
#include "variable.h"
@ -498,6 +500,10 @@ void DumpImage::init_style()
DumpCustom::init_style();
// cache dump image filename pattern for access through library interface.
if (multifile) output->thermo->set_image_fname(filename);
// for grid output, find current ptr for compute or fix
// check that fix frequency is acceptable