forked from lijiext/lammps
Minor changes to dump_atom_gz/dump_atom_zstd
This commit is contained in:
parent
7b53ce572c
commit
ded22bf8bc
|
@ -11,16 +11,13 @@
|
|||
See the README file in the top-level LAMMPS directory.
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "dump_atom_gz.h"
|
||||
#include "domain.h"
|
||||
#include "dump_atom_gz.h"
|
||||
#include "error.h"
|
||||
#include "file_writer.h"
|
||||
#include "update.h"
|
||||
|
||||
|
||||
#include <cstring>
|
||||
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
DumpAtomGZ::DumpAtomGZ(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
|
|
@ -43,7 +43,7 @@ DumpAtomZstd::~DumpAtomZstd()
|
|||
|
||||
/* ----------------------------------------------------------------------
|
||||
generic opening of a dump file
|
||||
ASCII or binary or zstdipped
|
||||
ASCII or binary or compressed
|
||||
some derived classes override this function
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
|
@ -180,7 +180,7 @@ int DumpAtomZstd::modify_param(int narg, char **arg)
|
|||
return 2;
|
||||
}
|
||||
} catch (FileWriterException &e) {
|
||||
error->one(FLERR, e.what());
|
||||
error->one(FLERR, fmt::format("Illegal dump_modify command: {}", e.what()));
|
||||
}
|
||||
}
|
||||
return consumed;
|
||||
|
|
Loading…
Reference in New Issue