Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cassiopee
jalhyd
Commits
ea71f0c8
Commit
ea71f0c8
authored
Feb 16, 2021
by
Dorchies David
Browse files
feat(macrorugo): add links capabilities for Strickler
Refs
#287
parent
e38f62bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/macrorugo/macrorugo.ts
View file @
ea71f0c8
...
...
@@ -204,9 +204,10 @@ export class MacroRugo extends FishPass {
ZF2
:
ParamFamily
.
ELEVATIONS
,
Vdeb
:
ParamFamily
.
SPEEDS
,
Vmax
:
ParamFamily
.
SPEEDS
,
Vg
:
ParamFamily
.
SPEEDS
,
Fr
:
undefined
,
PV
:
undefined
,
Strickler
:
undefined
Strickler
:
ParamFamily
.
STRICKLERS
};
}
...
...
src/open-channel/section/section_type_params.ts
View file @
ea71f0c8
...
...
@@ -23,7 +23,7 @@ export abstract class ParamsSection extends ParamsEquation {
rYB
:
number
)
{
super
();
this
.
_Ks
=
new
ParamDefinition
(
this
,
"
Ks
"
,
ParamDomainValue
.
POS
,
"
SI
"
,
rKs
);
this
.
_Ks
=
new
ParamDefinition
(
this
,
"
Ks
"
,
ParamDomainValue
.
POS
,
"
SI
"
,
rKs
,
ParamFamily
.
STRICKLERS
);
this
.
_Q
=
new
ParamDefinition
(
this
,
"
Q
"
,
ParamDomainValue
.
POS_NULL
,
"
m³/s
"
,
rQ
,
ParamFamily
.
FLOWS
);
this
.
_If
=
new
ParamDefinition
(
this
,
"
If
"
,
ParamDomainValue
.
ANY
,
"
m/m
"
,
rIf
,
ParamFamily
.
SLOPES
);
this
.
_YB
=
new
ParamDefinition
(
this
,
"
YB
"
,
ParamDomainValue
.
POS
,
"
m
"
,
rYB
,
ParamFamily
.
HEIGHTS
);
...
...
src/par/par_params.ts
View file @
ea71f0c8
...
...
@@ -44,7 +44,7 @@ export class ParParams extends ParamsEquation {
this
.
_Z2
=
new
ParamDefinition
(
this
,
"
Z2
"
,
ParamDomainValue
.
ANY
,
"
m
"
,
rZ2
,
ParamFamily
.
ELEVATIONS
);
this
.
addParamDefinition
(
this
.
Z2
);
// géométrie de la passe
this
.
_ha
=
new
ParamDefinition
(
this
,
"
ha
"
,
ParamDomainValue
.
POS_NULL
,
"
m
"
,
rha
);
this
.
_ha
=
new
ParamDefinition
(
this
,
"
ha
"
,
ParamDomainValue
.
POS_NULL
,
"
m
"
,
rha
,
ParamFamily
.
HEIGHTS
);
this
.
addParamDefinition
(
this
.
ha
);
this
.
_S
=
new
ParamDefinition
(
this
,
"
S
"
,
ParamDomainValue
.
POS_NULL
,
"
m/m
"
,
rS
,
ParamFamily
.
SLOPES
);
this
.
addParamDefinition
(
this
.
S
);
...
...
src/param/param-definition.ts
View file @
ea71f0c8
...
...
@@ -41,7 +41,8 @@ export enum ParamFamily {
VOLUMES
,
FLOWS
,
// débit
DIAMETERS
,
SPEEDS
// vitesses, seulement des résultats
SPEEDS
,
// vitesses, seulement des résultats
STRICKLERS
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment