mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fixed it now?
This commit is contained in:
parent
30928eaaa8
commit
89c7626a01
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user