Click or drag to resize

FloodMapFile Class

Class that handles one DFS2 file with flood map information
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Engine.FloodMapsFloodMapFile

Namespace:  DHI.Mike1D.Engine.FloodMaps
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public class FloodMapFile

The FloodMapFile type exposes the following members.

Constructors
  NameDescription
Public methodFloodMapFile
Create new flood map file
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finish, close file etc.
(Overrides ObjectFinalize.)
Public methodFinish
For dynamic output, close the file. For the statistical output create the file, write data and close the file.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initialize flood map file, utilizing mapping box search tree.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare the flood map file. For dynamic output, open the file and write initial data to the file. For others, load initial data.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Called every time a time step has completed successfully
Top
Remarks
It stores a list of active grid cells which are those being updated whenever new data is available. All other grid cells will have delete-values written.

The calculation of values are handled by an IFloodMapCalculator that for a given item retrieves/calculates the values from the engine.

See Also