paralleltop also in sequential version - only tye type

This commit is contained in:
Joachim Schoeberl 2022-04-26 23:10:49 +02:00
parent cf6c69ed69
commit 41bd58dd31

View File

@ -150,10 +150,10 @@ namespace netgen
mutable int ps_startelement;
// #ifdef PARALLEL
#ifdef PARALLEL
/// connection to parallel meshes
unique_ptr<ParallelMeshTopology> paralleltop;
// #endif
#endif
shared_ptr<NetgenGeometry> geometry;
@ -902,12 +902,11 @@ namespace netgen
GEOM_TYPE geomtype;
#ifdef PARALLEL
/// returns parallel topology
class ParallelMeshTopology & GetParallelTopology () const
{ return *paralleltop; }
#ifdef PARALLEL
/// distributes the master-mesh to local meshes
void Distribute ();
void Distribute (NgArray<int> & volume_weights, NgArray<int> & surface_weights,