git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4512 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2010-08-19 16:22:54 +00:00
parent 17979639a3
commit d4eacc3728

View File

@ -221,6 +221,13 @@ void DumpCustom::init()
variable[i] = ivariable;
}
// set index and check validity of region
if (iregion >= 0) {
iregion = domain->find_region(idregion);
if (iregion == -1) error->all("Region ID for dump custom does not exist");
}
// open single file, one time only
if (multifile == 0) openfile();