Skip to content

Commit 76f8d81

Browse files
hotfix dynamic cast DEM
1 parent 54cf89f commit 76f8d81

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

kratos.gid/apps/DEM/write/writeMDPA_Walls.tcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,9 @@ proc DEM::write::writeWallConditionMeshes { } {
434434
}
435435

436436
#Hardcoded
437-
set is_ghost [write::getValueByNode [$group_node selectNodes "./value\[@n='IsGhost'\]"]]
438-
write::WriteString " IS_GHOST $is_ghost"
437+
#set is_ghost [write::getValueByNode [$group_node selectNodes "./value\[@n='IsGhost'\]"]]
438+
# write::WriteString " IS_GHOST $is_ghost"
439+
write::WriteString " IS_GHOST 0"
439440
write::WriteString " IDENTIFIER [write::transformGroupName $group]"
440441

441442
DefineMaterialTestConditions $group_node

kratos.gid/apps/DEM/xml/Processes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108

109109
</parameter>
110110

111-
<parameter n="IsGhost" parent="true" pn="Is ghost wall" v="false" type="bool" show_in_window="0"/>
111+
<!-- <parameter n="IsGhost" parent="true" pn="Is ghost wall" v="false" type="bool" show_in_window="0"/> -->
112112
<parameter n="friction_angle" parent="true" pn="Friction angle" v="30.0" type="double" units="deg" unit_magnitude="Angle" help="" show_in_window="0"/>
113113
<parameter n="GraphPrint" parent="true" pn="Print group forces" v="false" type="bool" show_in_window="0"/>
114114
<parameter n="CohesiveWall" parent="true" pn="Cohesive Wall" v="false" type="bool" help="Specify if the wall presents a cohesive behaviour" show_in_window="0">

0 commit comments

Comments
 (0)