partition array also in sequential version

This commit is contained in:
Joachim Schoeberl 2021-06-08 14:33:32 +02:00
parent d7452c34f9
commit c0534c5e0a

View File

@ -917,9 +917,6 @@ namespace netgen
/// loads a mesh sent from master processor /// loads a mesh sent from master processor
void ReceiveParallelMesh (); void ReceiveParallelMesh ();
NgArray<int> vol_partition;
NgArray<int> surf_partition;
NgArray<int> seg_partition;
#else #else
void ParallelMetis (int /* nproc */) {} void ParallelMetis (int /* nproc */) {}
@ -929,6 +926,10 @@ namespace netgen
NgArray<int> & segment_weights){ } NgArray<int> & segment_weights){ }
#endif #endif
NgArray<int> vol_partition;
NgArray<int> surf_partition;
NgArray<int> seg_partition;
shared_ptr<Mesh> Mirror( netgen::Point<3> p, Vec<3> n ); shared_ptr<Mesh> Mirror( netgen::Point<3> p, Vec<3> n );
private: private: