mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
paralleltop also in sequential version - only tye type
This commit is contained in:
parent
cf6c69ed69
commit
41bd58dd31
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user