Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jalhyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cassiopée
jalhyd
Commits
38c10961
Commit
38c10961
authored
7 years ago
by
francois.grand
Browse files
Options
Downloads
Patches
Plain Diff
modifs pour ngHyd par rapport à Kindsvater-Carter & Villemonte
parent
e8da0e2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/compute-node.ts
+2
-0
2 additions, 0 deletions
src/compute-node.ts
src/parameters.ts
+9
-0
9 additions, 0 deletions
src/parameters.ts
with
11 additions
and
0 deletions
src/compute-node.ts
+
2
−
0
View file @
38c10961
...
...
@@ -22,6 +22,8 @@ export enum ComputeNodeType {
SectionTrapeze
,
SectionRectangle
,
SectionCercle
,
SectionPuissance
,
// types d'ouvrages hydrauliques
StructureRectangle
,
// ouvrages hydrauliques : Kindsvater-Carter & Villemonte
StructureKIVI
}
/**
...
...
This diff is collapsed.
Click to expand it.
src/parameters.ts
+
9
−
0
View file @
38c10961
...
...
@@ -17,6 +17,8 @@ import { ParallelStructureParams } from "./structure/parallel_structure_params";
import
{
ParallelStructure
}
from
"
./structure/parallel_structure
"
;
import
{
RectangularStructureParams
}
from
"
./structure/rectangular_structure_params
"
;
import
{
StructureCem88d
}
from
"
./structure/structure_cem88d
"
;
import
{
StructureKiviParams
}
from
"
./structure/structure_kivi_params
"
;
import
{
StructureKivi
}
from
"
./structure/structure_kivi
"
;
export
class
ComputeNodeParameters
{
...
...
@@ -132,6 +134,13 @@ export class ComputeNodeParameters {
let
n
=
new
StructureCem88d
(
cn
);
return
cn
;
case
ComputeNodeType
.
StructureKIVI
:
{
let
cn
=
new
StructureKiviParams
(
undefined
,
1
,
2
,
1
,
undefined
,
undefined
,
undefined
,
undefined
);
let
n
=
new
StructureKivi
(
cn
);
return
cn
;
}
default
:
throw
new
Error
(
`ComputeNodeParameters.createComputeNodeParameters() : calculatrice '
${
CalculatorType
[
calcType
]}
' / noeud de calcul '
${
ComputeNodeType
[
nodeType
]}
' non pris en charge`
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment