mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-13 17:48:34 +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())
|
if(!infile.good())
|
||||||
throw NgException(string("Error opening file ") + filename);
|
throw NgException(string("Error opening file ") + filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
istream * infile;
|
||||||
|
|
||||||
#ifdef PARALLEL
|
#ifdef PARALLEL
|
||||||
MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
|
MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
|
||||||
MPI_Comm_rank(MPI_COMM_WORLD, &id);
|
MPI_Comm_rank(MPI_COMM_WORLD, &id);
|
||||||
|
|
||||||
char* buf; // for distributing geometry!
|
char* buf; // for distributing geometry!
|
||||||
int strs;
|
int strs;
|
||||||
istream * infile;
|
|
||||||
|
|
||||||
if (id == 0)
|
if (id == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user