Skip to content

Commit 188b033

Browse files
Hotfix potential init
1 parent 8f7a83a commit 188b033

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

kratos.gid/apps/PotentialFluid/start.tcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ proc ::PotentialFluid::Init { app } {
2222
set ::GidPriv(DuplicateEntities) 1
2323
PotentialFluid::xml::Init
2424
PotentialFluid::write::Init
25-
2625
}

kratos.gid/apps/PotentialFluid/write/write.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ proc ::PotentialFluid::write::Init { } {
1111
variable writeAttributes
1212
set writeAttributes [::Fluid::write::GetAttributes]
1313
SetAttribute validApps [list "Fluid" "PotentialFluid"]
14-
# Fluid has implemented the geometry mode, but we do not use it yet in inherited apps
15-
::Fluid::write::SetAttribute write_mdpa_mode [::PotentialFluid::GetWriteProperty write_mdpa_mode]
1614
}
1715

1816
# Events
1917
proc PotentialFluid::write::writeModelPartEvent { } {
18+
# Fluid has implemented the geometry mode, but we do not use it yet in inherited apps
19+
::Fluid::write::SetAttribute write_mdpa_mode [::PotentialFluid::GetWriteProperty write_mdpa_mode]
2020
# Add the PotentialFluid to the Fluid valid applications list
2121
Fluid::write::AddValidApps "PotentialFluid"
2222
Fluid::write::writeModelPartEvent

0 commit comments

Comments
 (0)