Skip to content
Snippets Groups Projects
Commit fe8e70a3 authored by Oliver Sander's avatar Oliver Sander
Browse files

properly set priorities for 2d edges

[[Imported from SVN: r8405]]
parent 84a30753
No related branches found
No related tags found
No related merge requests found
......@@ -84,12 +84,7 @@ USING_UG_NAMESPACES
SETPRIOPV(NVECTOR(n),prio); \
}
#ifdef __TWODIM__
#define PRIO_SET_EDGE(e,prio)
#endif
#ifdef __THREEDIM__
#define PRIO_SET_EDGE(e,prio) SETPRIOX(e,prio);
#endif
#define EDGE_PRIORITY_SET(g,e,prio) \
{ \
......@@ -225,7 +220,6 @@ static int ComputeVectorBorderPrios (DDD_OBJ obj)
SETPRIO(vector, PrioBorder);
}
#ifdef __THREEDIM__
/****************************************************************************/
......@@ -267,7 +261,6 @@ static int ComputeEdgeBorderPrios (DDD_OBJ obj)
if (me!=min_proc)
SETPRIO(edge, PrioBorder);
}
#endif
/****************************************************************************/
......@@ -543,10 +536,8 @@ INT NS_DIM_PREFIX SetBorderPriorities (GRID *theGrid)
DDD_IFAExecLocal(BorderVectorSymmIF,GRID_ATTR(theGrid),
ComputeVectorBorderPrios);
#ifdef __THREEDIM__
DDD_IFAExecLocal(BorderEdgeSymmIF,GRID_ATTR(theGrid),
ComputeEdgeBorderPrios);
#endif
return(GM_OK);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment