Last change
on this file since 15929 was 15484, checked in by Mathieu Morlighem, 12 years ago |
CHG: Enabling P2 constraints
|
File size:
758 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * CreateConstraintsHydrologyDCInefficient.c:
|
---|
3 | */
|
---|
4 |
|
---|
5 | #include "../../../toolkits/toolkits.h"
|
---|
6 | #include "../../../classes/classes.h"
|
---|
7 | #include "../../../shared/shared.h"
|
---|
8 | #include "../ModelProcessorx.h"
|
---|
9 | #include "../../IoModelToConstraintsx/IoModelToConstraintsx.h"
|
---|
10 |
|
---|
11 | void CreateConstraintsHydrologyDCInefficient(Constraints** pconstraints, IoModel* iomodel){
|
---|
12 |
|
---|
13 | /*Recover pointer: */
|
---|
14 | Constraints* constraints=*pconstraints;
|
---|
15 |
|
---|
16 | /*retrieve some parameters: */
|
---|
17 | int hydrology_model;
|
---|
18 | iomodel->Constant(&hydrology_model,HydrologyModelEnum);
|
---|
19 | if(hydrology_model!=HydrologydcEnum) return;
|
---|
20 |
|
---|
21 | IoModelToConstraintsx(constraints,iomodel,HydrologydcSpcsedimentHeadEnum,HydrologyDCInefficientAnalysisEnum,P1Enum);
|
---|
22 |
|
---|
23 | /*Assign output pointer: */
|
---|
24 | *pconstraints=constraints;
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.