Skip to content

Commit 7f66cd8

Browse files
messages
1 parent 9c69629 commit 7f66cd8

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

kratos.gid/apps/Dam/write/write.tcl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,7 @@ proc Dam::write::writeThermalElements {} {
357357
set old_name_SubModelPart "Thermal_[lindex $ThermalGroups $i]"
358358
set new_name_SubModelPart [string map {" " "_"} $old_name_SubModelPart]
359359
dict set ThermalSubModelPartDict [lindex $ThermalGroups $i] SubModelPartName $new_name_SubModelPart
360-
361360
}
362-
363-
364361
}
365362

366363
proc Dam::write::writeThermalConnectivities {Group ElemType ElemName ConnectivityType ElementId ElementList} {
@@ -394,8 +391,7 @@ proc Dam::write::Quadrilateral2D4Connectivities { ElemId } {
394391

395392
set ElementInfo [GiD_Mesh get element $ElemId]
396393
#ElementInfo: <layer> <elemtype> <NumNodes> <N1> <N2> ...
397-
return "[lindex $ElementInfo 3] [lindex $ElementInfo 4] [lindex $ElementInfo 5]\
398-
[lindex $ElementInfo 6]"
394+
return "[lindex $ElementInfo 3] [lindex $ElementInfo 4] [lindex $ElementInfo 5] [lindex $ElementInfo 6]"
399395
}
400396

401397
proc Dam::write::Hexahedron3D8Connectivities { ElemId } {

kratos.gid/scripts/Writing/WriteSubModelPart.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ proc write::AddSubmodelpart {condid group} {
180180

181181
proc write::getSubModelPartId {cid group} {
182182
variable submodelparts
183-
W "$cid $group"
184-
WV submodelparts
185183
set find [list $cid ${group}]
186184
if {[dict exists $submodelparts $find]} {
187185
return [dict get $submodelparts [list $cid ${group}]]

0 commit comments

Comments
 (0)