Skip to content

Commit 7b5b1bd

Browse files
Merge branch 'master' into feature/increase-logs
2 parents 68a2f1f + cfdd091 commit 7b5b1bd

9 files changed

Lines changed: 8 additions & 27 deletions

File tree

kratos.gid/apps/Buoyancy/xml/Parts.spd

Lines changed: 0 additions & 9 deletions
This file was deleted.

kratos.gid/apps/CDEM/xml/Main.spd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<container n="DEM" pn="DEM" icon="units" prefix="DEM" tree_state="open" open_window="0">
2+
<container n="CDEM" pn="CDEM" icon="units" prefix="DEM" tree_state="open" open_window="0">
33
<include n="StageInfo" active="1" path="apps/DEM/xml/StageInfo.spd"/>
44
<include n="PartsCont" active="1" path="apps/CDEM/xml/PartsCont.spd" un="DEMParts"/>
55
<include n="Conditions" active="1" path="apps/DEM/xml/Conditions.spd"/>

kratos.gid/apps/CDEM/xml/SolutionStrategy.spd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<value n="GlobalDamping" v="0.0" pn="Global damping" icon="black1" help="Choose the value for the damping. Set it to 1.0 for maximum energy dissipation."/>
4242
<value n="AmplifiedSearchRadius" v="1.1" pn="AmplifiedSearchRadius" icon="black1" state="hidden" />
4343
<!-- <value n="NeighbourSearchAcceptedGap" v="1.0" pn="NeighbourSearchAcceptedGap" icon="black1"/> -->
44+
<value n="SearchTolerance" v="0.001" pn="Search tolerance" icon="black1" help="Minimum tolerance to avoid initial overlaps"/>
4445
</container>
4546
<container n="TestMaterial" un="DEMTestMaterial" pn="Material Analysis" help="Testing specimens under certain pressure conditions" icon="black1" open_window="0">
4647
<value n="Active" v="false" type="bool" pn="Activate" values="true,false" icon="black1"/>

kratos.gid/apps/ConjugateHeatTransfer/xml/Main.spd

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

77
<container n="Fluid" pn="Fluid" icon="units" prefix="FL" tree_state="open" open_window="0">
88
<include n="AnalysisType" active="1" path="apps/Fluid/xml/AnalysisType.spd"/>
9-
<include n="Parts" active="1" un="FLParts" path="apps/Buoyancy/xml/Parts.spd"/>
9+
<include n="Parts" active="1" un="FLParts" path="apps/Fluid/xml/Parts.spd"/>
1010
<include n="InitialConditions" active="1" path="apps/Fluid/xml/InitialConditions.spd"/>
1111
<include n="BoundaryConditions" active="1" path="apps/Fluid/xml/BoundaryConditions.spd"/>
1212
<include n="SolutionStrategy" active="1" path="apps/Buoyancy/xml/SolutionStrategyFluid.spd"/>

kratos.gid/apps/ConjugateHeatTransfer/xml/Processes.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

kratos.gid/apps/ConjugateHeatTransfer/xml/XmlController.tcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ proc ConjugateHeatTransfer::xml::Init { } {
88
variable dir
99
Model::InitVariables dir $ConjugateHeatTransfer::dir
1010

11-
Model::getProcesses Processes.xml
1211
Model::getConditions Conditions.xml
13-
1412
Model::getMaterials "../../ConvectionDiffusion/xml/Materials.xml"
15-
1613
Model::getConstitutiveLaws "../../ConvectionDiffusion/xml/ConstitutiveLaws.xml"
1714
}
1815

kratos.gid/scripts/Controllers/CommonProcs.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ proc spdAux::ProcConditionParameterState {domNode args} {
877877
set parent_dependency_node [$domNode selectNodes "../value\[@n='$depN'\]"]
878878
set current_parent_dep_state [$parent_dependency_node getAttribute cal_state ""]
879879
if {$current_parent_dep_state eq ""} {
880-
set current_parent_dep_state [get_domnode_attribute $current_parent_dep_state state]
880+
set current_parent_dep_state [get_domnode_attribute $parent_dependency_node state]
881881
}
882882
set realV [get_domnode_attribute $parent_dependency_node v]
883883
if {$realV ni $depV || $current_parent_dep_state eq "hidden"} {set ret hidden}

kratos.gid/scripts/Controllers/TreeInjections.tcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ proc spdAux::_GetBooleanParameterString {param inName pn v state help show_in_wi
434434
append node " actualize_tree='1' "
435435
}
436436
append node " state='$state' show_in_window='$show_in_window'>"
437-
# if {$base ne ""} {append node [_insert_cond_param_dependencies $base $inName]}
437+
if {$base ne ""} {append node [_insert_cond_param_dependencies $base $inName]}
438438
append node "</value>"
439439
return $node
440440
}
@@ -453,7 +453,7 @@ proc spdAux::_GetComboParameterString {param inName pn v state help show_in_wind
453453
append node " actualize_tree='1' "
454454
}
455455
append node " state='$state' help='$help' show_in_window='$show_in_window'>"
456-
# if {$base ne ""} { append node [_insert_cond_param_dependencies $base $inName] }
456+
if {$base ne ""} { append node [_insert_cond_param_dependencies $base $inName] }
457457
append node "</value>"
458458
return $node
459459
}
@@ -476,6 +476,7 @@ proc spdAux::_insert_cond_param_dependencies {base param_name} {
476476
}
477477
}
478478
set ret ""
479+
479480
foreach {name values} $dep_list {
480481
set ins ""
481482
set out ""

kratos.gid/scripts/spdAuxiliar.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ proc spdAux::insertDependencies { baseNode originUN } {
262262
set insertxpath [getRoute $originUN]
263263
set insertonnode [$root selectNodes $insertxpath]
264264
# a lo bestia, cambiar cuando sepamos inyectar la dependencia, abajo esta a medias
265+
$insertonnode setAttribute "actualize" 1
265266
$insertonnode setAttribute "actualize_tree" 1
266267

267268
## Aun no soy capaz de insertar y que funcione

0 commit comments

Comments
 (0)