ERROR HANDLER. Error handler in parser
Function check_metadat()
in wdata.c handles error from wdata_parse_metadata_file()
.
For example, when datadim
= 3 but user provides only two or less diemnsions (nx, ny) or (dx, dy) code should produce error.
But for:
nx 24 # lattice
#ny 28 # lattice
#nz 32 # lattice
dx 1 # spacing
dy 1 # spacing
dz 1 # spacing
datadim 3 # dimension of block size: 1=nx, 2=nx*ny, 3=nx*ny*nz
it does not produce any ierr
and message, but rather can not read a variable.wdat