Fixed it now?

This commit is contained in:
Lukas 2018-06-12 11:28:51 +02:00
parent 89c7626a01
commit 7e062372d4
2 changed files with 4 additions and 3 deletions

View File

@ -128,14 +128,13 @@ void Ng_LoadMesh (const char * filename)
} }
istream * infile; istream * infile;
char* buf; // for distributing geometry!
int strs;
#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!
int strs;
if (id == 0) if (id == 0)
{ {
#endif #endif

View File

@ -5857,6 +5857,8 @@ namespace netgen
if (!GetGeometry()) if (!GetGeometry())
throw NgException ("don't have a geometry for mesh curving"); throw NgException ("don't have a geometry for mesh curving");
cout << "Build Curved Elements, order = " << aorder << endl;
GetCurvedElements().BuildCurvedElements (&GetGeometry()->GetRefinement(), aorder, false); GetCurvedElements().BuildCurvedElements (&GetGeometry()->GetRefinement(), aorder, false);
for (SegmentIndex seg = 0; seg < GetNSeg(); seg++) for (SegmentIndex seg = 0; seg < GetNSeg(); seg++)