public class Utils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Utils.WorkDistributionStrategy |
Modifier and Type | Field and Description |
---|---|
static boolean |
GATHERSTATISTICS |
static boolean |
INCREMENTALGROWTH |
static int |
numObjSearches |
static java.util.List<ERCWellCheck.WellBoundRecord> |
wellBoundSearchOrder |
static Utils.WorkDistributionStrategy |
WORKDISTRIBUTION |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeSubstrateTap(PrimitiveNode.Function fun)
Method to tell whether this function describes an element which can be
used as substrate tap (ERC)
|
static boolean |
canBeWellTap(PrimitiveNode.Function fun)
Method to tell whether this function describes an element which can be
used as well tap (ERC)
|
static RTNode<ERCWellCheck.WellBound> |
searchInArea(java.awt.geom.Rectangle2D searchArea,
NetValues wellNum,
RTNode<ERCWellCheck.WellBound> rtree,
RTNode<ERCWellCheck.WellBound> allFound,
java.awt.geom.Point2D ctr,
MutableBoolean keepSearching,
int threadIndex)
Search in a given area
|
static void |
spreadWellSeed(double cX,
double cY,
NetValues wellNum,
RTNode<ERCWellCheck.WellBound> rtree,
int threadIndex)
Search area for touching well polygons
|
public static final boolean GATHERSTATISTICS
public static final boolean INCREMENTALGROWTH
public static final Utils.WorkDistributionStrategy WORKDISTRIBUTION
public static java.util.List<ERCWellCheck.WellBoundRecord> wellBoundSearchOrder
public static int numObjSearches
public static boolean canBeSubstrateTap(PrimitiveNode.Function fun)
public static boolean canBeWellTap(PrimitiveNode.Function fun)
public static void spreadWellSeed(double cX, double cY, NetValues wellNum, RTNode<ERCWellCheck.WellBound> rtree, int threadIndex)
cX
- cY
- wellNum
- rtree
- threadIndex
- public static RTNode<ERCWellCheck.WellBound> searchInArea(java.awt.geom.Rectangle2D searchArea, NetValues wellNum, RTNode<ERCWellCheck.WellBound> rtree, RTNode<ERCWellCheck.WellBound> allFound, java.awt.geom.Point2D ctr, MutableBoolean keepSearching, int threadIndex)
searchArea
- wellNum
- rtree
- allFound
- ctr
- keepSearching
- threadIndex
-