|
1 | 1 | namespace eval ::DEM::xml { |
2 | 2 | namespace path ::DEM |
3 | 3 | Kratos::AddNamespace [namespace current] |
4 | | - |
| 4 | + |
5 | 5 | variable dir |
6 | 6 | } |
7 | 7 |
|
@@ -36,17 +36,17 @@ proc ::DEM::xml::CustomTree { args } { |
36 | 36 | } |
37 | 37 | } |
38 | 38 |
|
39 | | - set custom_smp_xpath "[spdAux::getRoute DEMConditions]/condition\[@n='DEM-CustomSmp'\]/value\[@n='Element'\]" |
40 | | - gid_groups_conds::setAttributes $custom_smp_xpath [list state hidden dict {[GetElements ElementType DEM]} ] |
41 | | - set custom_smp_xpath "[spdAux::getRoute DEMConditions]/condition\[@n='DEM-CustomSmp'\]/value\[@n='AdvancedMeshingFeatures'\]" |
42 | | - gid_groups_conds::setAttributes $custom_smp_xpath [list state hidden ] |
| 39 | + # set custom_smp_xpath "[spdAux::getRoute DEMConditions]/condition\[@n='DEM-CustomSmp'\]/value\[@n='Element'\]" |
| 40 | + # gid_groups_conds::setAttributes $custom_smp_xpath [list state hidden dict {[GetElements ElementType DEM]} ] |
| 41 | + # set custom_smp_xpath "[spdAux::getRoute DEMConditions]/condition\[@n='DEM-CustomSmp'\]/value\[@n='AdvancedMeshingFeatures'\]" |
| 42 | + # gid_groups_conds::setAttributes $custom_smp_xpath [list state hidden ] |
43 | 43 |
|
44 | 44 | # Inlet 2D or 3D special parameters |
45 | 45 | set 3dinlet_xpath "[spdAux::getRoute DEMConditions]/condition\[@n='Inlet'\]/value\[@n='InletElementType'\]" |
46 | 46 | gid_groups_conds::setAttributes $3dinlet_xpath [list values "SphericParticle3D,Cluster3D,SingleSphereCluster" ] |
47 | 47 | set 2dinlet_xpath "[spdAux::getRoute DEMConditions]/condition\[@n='Inlet2D'\]/value\[@n='InletElementType'\]" |
48 | 48 | gid_groups_conds::setAttributes $2dinlet_xpath [list values "CylinderParticle2D" ] |
49 | | - |
| 49 | + |
50 | 50 |
|
51 | 51 | # spdAux::parseRoutes |
52 | 52 | spdAux::processDynamicNodes [customlib::GetBaseRoot] |
@@ -104,7 +104,7 @@ proc ::DEM::xml::InertiaType { args } { |
104 | 104 | } |
105 | 105 |
|
106 | 106 | proc ::DEM::xml::injectMaterialRelations { basenode args } { |
107 | | - |
| 107 | + |
108 | 108 | set base [$basenode parent] |
109 | 109 | set materials_relations [Model::GetMaterialRelations {*}$args] |
110 | 110 | foreach mat $materials_relations { |
|
0 commit comments