LateralLinkOutputSpecSetupDataForReaches Method |
Create engine data for the reaches and spans specified in reachSpans
Namespace:
DHI.Mike1D.Engine.Couplings
Assembly:
DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static void SetupDataForReaches(
EngineDataItemAll<double> engineDataItem,
EngineNet engineNet,
Predicate<GridPoint> match,
Dictionary<int, List<(double start, double end)>> reachSpans,
bool setupForAllGridpoints = false
)
Public Shared Sub SetupDataForReaches (
engineDataItem As EngineDataItemAll(Of Double),
engineNet As EngineNet,
match As Predicate(Of GridPoint),
reachSpans As Dictionary(Of Integer, List(Of (start As Double, end As Double))),
Optional setupForAllGridpoints As Boolean = false
)
public:
static void SetupDataForReaches(
EngineDataItemAll<double>^ engineDataItem,
EngineNet^ engineNet,
Predicate<GridPoint^>^ match,
Dictionary<int, List<ValueTuple<double, double>>^>^ reachSpans,
bool setupForAllGridpoints = false
)
Parameters
- engineDataItem
- Type: DHI.Mike1D.Engine.ModuleDataEngineDataItemAllDouble
Engine data item to update - engineNet
- Type: DHI.Mike1D.EngineEngineNet
EngineNet to setup up data for - match
- Type: SystemPredicateGridPoint
- reachSpans
- Type: System.Collections.GenericDictionaryInt32, ListValueTupleDouble, Double
Key is reach index, values is list of spans to setup data for. - setupForAllGridpoints (Optional)
- Type: SystemBoolean
Boolean indicating whether to set up data for all grid points in the reach, or just those covered by one of the spans.
See Also