Fixed it now?

This commit is contained in:
Lukas 2018-06-12 11:18:13 +02:00
parent 30928eaaa8
commit 89c7626a01

View File

@ -126,13 +126,15 @@ void Ng_LoadMesh (const char * filename)
if(!infile.good())
throw NgException(string("Error opening file ") + filename);
}
istream * infile;
#ifdef PARALLEL
MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
MPI_Comm_rank(MPI_COMM_WORLD, &id);
char* buf; // for distributing geometry!
int strs;
istream * infile;
if (id == 0)
{