MeshFile Class |
Namespace: DHI.Generic.MikeZero.DFS.mesh
The MeshFile type exposes the following members.
Name | Description | |
---|---|---|
![]() | Code |
Node boundary code.
You can modify each value individually directly in the list, or provide a new array of values, which must have the same length as the original one. |
![]() | ElementIds |
Element Id's
You can modify each value individually directly in the list, or provide a new array of values, which must have the same length as the original one. Be aware that changing this to anything but the default values (1,2,3,...) can make some tools stop working. |
![]() | ElementTable |
The ElementTable defines for each element which
nodes that defines the element.
The numbers in the ElementTable are node numbers, not indices! Each value in the table must be between 1 and number-of-nodes. You can modify each value individually directly in the list, or provide a new array of values, which must have the same length as the original one. |
![]() | ElementType |
Array of element types. See documentation for each type.
|
![]() | EumQuantity |
Quantity of the data stored in the mesh file. This is the quantity of the
Z variable.
|
![]() | NodeIds |
Node Id's
You can modify each value individually directly in the list, or provide a new array of values, which must have the same length as the original one. Be aware that changing this to anything but the default values (1,2,3,...) can make some tools stop working. |
![]() | NumberOfElements |
Number of elements in the mesh
|
![]() | NumberOfNodes |
Number of nodes in the mesh.
|
![]() | ProjectionString |
The projection string
IDfsProjection for details on its format. |
![]() | X |
Node X coordinates.
You can modify each coordinate individually directly in the list, or provide a new array of coordinates, which must have the same length as the original one. |
![]() | Y |
Node Y coordinates.
You can modify each coordinate individually directly in the list, or provide a new array of coordinates, which must have the same length as the original one. |
![]() | Z |
Node Z coordinates.
You can modify each coordinate individually directly in the list, or provide a new array of coordinates, which must have the same length as the original one. |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Read |
Read .mesh file and load all data.
If an element specifies a node number of zero, that node number is ignored, and does not become a part of the mesh data structure. That is the case for e.g. mixed triangular/quadrilateral meshes, where all elements specify 4 nodes, and triangular elements specifies the last node as zero. |
![]() ![]() | ReadMesh |
Read the mesh from the provided mesh file
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Write |
Write MeshFile to filename
|