13 |
|
|
14 |
|
#include "io/DumpReader.hpp" |
15 |
|
#include "utils/simError.h" |
16 |
< |
#include "utils/MemoryUtils" |
16 |
> |
#include "utils/MemoryUtils.hpp" |
17 |
|
#ifdef IS_MPI |
18 |
|
|
19 |
|
#include <mpi.h> |
36 |
|
inFile_ = fopen(filename_.c_str(), "r"); |
37 |
|
|
38 |
|
if (inFile_ == NULL) { |
39 |
< |
sprintf(painCave.errMsg, "Cannot open file: %s\n", in_name); |
39 |
> |
sprintf(painCave.errMsg, "Cannot open file: %s\n", filename_.c_str()); |
40 |
|
painCave.isFatal = 1; |
41 |
|
simError(); |
42 |
|
} |
159 |
|
delete currPos; |
160 |
|
rewind(inFile_); |
161 |
|
|
162 |
< |
isScanned = true; |
162 |
> |
isScanned_ = true; |
163 |
|
|
164 |
|
#ifdef IS_MPI |
165 |
|
|