File tree Expand file tree Collapse file tree
kratos.gid/apps/ShallowWater Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 "materials" : " SWMaterials" ,
3030 "topography_data" : " SWTopographicData" ,
3131 "initial_conditions" : " SWInitialConditions" ,
32- "conditions" : " SWConditions" ,
33- "gravity" : " SWGravity" ,
34- "time_parameters" : " SWTimeParameters"
32+ "conditions" : " SWConditions"
3533 },
3634 "write" : {
3735 "coordinates" : " all" ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ proc ::ShallowWater::xml::getUniqueName {name} {
2222
2323proc ::ShallowWater::xml::CustomTree {args} {
2424 # Set the nodal conditions active
25- gid_groups_conds::setAttributes " [ spdAux::getRoute [GetUniqueName topography_data ] ]/condition" [list state normal]
26- gid_groups_conds::setAttributes " [ spdAux::getRoute [GetUniqueName initial_conditions ] ]/condition" [list state normal]
25+ gid_groups_conds::setAttributes " [ spdAux::getRoute SWTopographicData ] /condition" [list state normal]
26+ gid_groups_conds::setAttributes " [ spdAux::getRoute SWInitialConditions ] /condition" [list state normal]
2727
2828 # Register the primary outputs from topography data
2929 gid_groups_conds::setAttributes " [ spdAux::getRoute NodalResults] /value\[ @n = 'MOMENTUM'\] " [list state normal]
@@ -32,5 +32,5 @@ proc ::ShallowWater::xml::CustomTree {args} {
3232 gid_groups_conds::setAttributes " [ spdAux::getRoute NodalResults] /value\[ @n = 'FREE_SURFACE_ELEVATION'\] " [list state normal]
3333
3434 # Set the default value for the Z component in the boundary conditions
35- gid_groups_conds::setAttributes " [ spdAux::getRoute [GetUniqueName conditions ] ]/condition\[ @n = 'ImposedFlowRate'\] /value\[ @n = 'selector_component_Z'\] " [list v Not]
35+ gid_groups_conds::setAttributes " [ spdAux::getRoute SWConditions ] /condition\[ @n = 'ImposedFlowRate'\] /value\[ @n = 'selector_component_Z'\] " [list v Not]
3636}
You can’t perform that action at this time.
0 commit comments