Skip to content

Commit d0b36ad

Browse files
committed
fix ByFunction
1 parent 2baab15 commit d0b36ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kratos.gid/apps/ShallowWater/examples/HydraulicJump.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ proc ::ShallowWater::examples::HydraulicJump::TreeAssignation {args} {
7777
set topography_cond "$topography_conditions/condition\[@n='Topography'\]"
7878
set topography_node [customlib::AddConditionGroupOnXPath $topography_cond Channel]
7979
$topography_node setAttribute ov surface
80-
set props [list ByFunction 1 function_value "2.45135310e-07*x**4 -4.82230477e-05*x**3 +2.54997185e-03*x**2 -4.57311854e-02*x +2.73225488e+00"]
80+
set props [list ByFunction Yes function_value "2.45135310e-07*x**4 -4.82230477e-05*x**3 +2.54997185e-03*x**2 -4.57311854e-02*x +2.73225488e+00"]
8181
spdAux::SetValuesOnBaseNode $topography_node $props
8282

8383
# Initial conditions

0 commit comments

Comments
 (0)