mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Fixed it now?
This commit is contained in:
parent
89c7626a01
commit
7e062372d4
@ -128,14 +128,13 @@ void Ng_LoadMesh (const char * filename)
|
||||
}
|
||||
|
||||
istream * infile;
|
||||
char* buf; // for distributing geometry!
|
||||
int strs;
|
||||
|
||||
#ifdef PARALLEL
|
||||
MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
|
||||
MPI_Comm_rank(MPI_COMM_WORLD, &id);
|
||||
|
||||
char* buf; // for distributing geometry!
|
||||
int strs;
|
||||
|
||||
if (id == 0)
|
||||
{
|
||||
#endif
|
||||
|
@ -5856,6 +5856,8 @@ namespace netgen
|
||||
{
|
||||
if (!GetGeometry())
|
||||
throw NgException ("don't have a geometry for mesh curving");
|
||||
|
||||
cout << "Build Curved Elements, order = " << aorder << endl;
|
||||
|
||||
GetCurvedElements().BuildCurvedElements (&GetGeometry()->GetRefinement(), aorder, false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user