Skip to content

Commit

Permalink
571: Added first two new keywords to FlowFM model
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-vd-aardweg committed Apr 18, 2024
1 parent 41ac1f1 commit 59594c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hydrolib/core/dflowfm/mdu/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,14 @@ class Comments(INIBasedModel.Comments):
"Change the structure dimensions in case these are inconsistent with the channel dimensions.",
alias="changeStructureDimensions",
)
gridenclosurefile: Optional[str] = Field(
"Enclosure file <*.pol> to clip outer parts from the grid.",
alias="gridEnclosureFile",
)
allowbndatbifurcation: Optional[str] = Field(
"Allow 1d boundary node when connectin branch leads to bifurcation (1: yes, 0: no).",
alias="allowBndAtBifurcation",
)

comments: Comments = Comments()

Expand Down Expand Up @@ -1725,6 +1733,8 @@ class Comments(INIBasedModel.Comments):
dxdoubleat1dendnodes: bool = Field(True, alias="dxDoubleAt1DEndNodes")
changevelocityatstructures: bool = Field(False, alias="changeVelocityAtStructures")
changestructuredimensions: bool = Field(True, alias="changeStructureDimensions")
gridenclosurefile: Optional[PolyFile] = Field(None, alias="gridEnclosureFile")
allowbndatbifurcation: bool = Field(False, alias="allowBndAtBifurcation")

_split_to_list = get_split_string_on_delimiter_validator(
"frictfile",
Expand Down

0 comments on commit 59594c9

Please sign in to comment.