mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +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;
|
mutable int ps_startelement;
|
||||||
|
|
||||||
|
|
||||||
// #ifdef PARALLEL
|
#ifdef PARALLEL
|
||||||
/// connection to parallel meshes
|
/// connection to parallel meshes
|
||||||
unique_ptr<ParallelMeshTopology> paralleltop;
|
unique_ptr<ParallelMeshTopology> paralleltop;
|
||||||
// #endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
shared_ptr<NetgenGeometry> geometry;
|
shared_ptr<NetgenGeometry> geometry;
|
||||||
@ -902,12 +902,11 @@ namespace netgen
|
|||||||
GEOM_TYPE geomtype;
|
GEOM_TYPE geomtype;
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef PARALLEL
|
||||||
/// returns parallel topology
|
/// returns parallel topology
|
||||||
class ParallelMeshTopology & GetParallelTopology () const
|
class ParallelMeshTopology & GetParallelTopology () const
|
||||||
{ return *paralleltop; }
|
{ return *paralleltop; }
|
||||||
|
|
||||||
#ifdef PARALLEL
|
|
||||||
/// distributes the master-mesh to local meshes
|
/// distributes the master-mesh to local meshes
|
||||||
void Distribute ();
|
void Distribute ();
|
||||||
void Distribute (NgArray<int> & volume_weights, NgArray<int> & surface_weights,
|
void Distribute (NgArray<int> & volume_weights, NgArray<int> & surface_weights,
|
||||||
|
Loading…
Reference in New Issue
Block a user