ModuleHDExtensionsAddToOffers(IHDHGridPoint, IQuantity, FuncDouble) Method

Add to "offers", i.e. quantities that can be outputted to result file and requested through the result proxy system

Adding to offers of HD grid points using this method is intended for experimentation, where it is easy to readily get an offer on a grid point. For more memory optimized code the use of DataModule is suggested.

Definition

Namespace: DHI.Mike1D.Engine.ModuleHD
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static void AddToOffers(
	this IHDHGridPoint gridPoint,
	IQuantity quantity,
	Func<double> getter
)

Parameters

gridPoint  IHDHGridPoint
Grid point to add to.
quantity  IQuantity
Quantity of value to add
getter  FuncDouble
Getter that returns the value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IHDHGridPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also