FloodMapDfs2File Class

Class that handles one DFS2 file with flood map information

Definition

Namespace: DHI.Mike1D.FloodMap
Assembly: DHI.Mike1D.FloodMap (in DHI.Mike1D.FloodMap.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class FloodMapDfs2File
Inheritance
Object    FloodMapDfs2File

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.

Constructors

FloodMapDfs2File Create new flood map file

Properties

FileType Type of DFS2 file
StartTime Start time, to write to the dfs2 file.
TimeStep Time step size, to write to the dfs2 file.

Methods

CloseFile Close file
CreateDEMFile Create DEM file from grid
CreateDfs2File Create DFS2 file on disc, ready for accepting data.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Finish, close file etc.
(Overrides ObjectFinalize)
Finish For dynamic output, close the file. For the statistical output create the file, write data and close the file.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Prepare Prepare the flood map file. For dynamic output, open the file and write initial data to the file. For others, load initial data.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update Called every time a time step has completed successfully
WriteItemData Write item data to file, assuming itemData contains data for a single item
WriteTimeStepData Write time step data to file, assuming itemData contains data for all items in the file

See Also