Skip to content

Commit

Permalink
exposed SGCz variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisHoch committed Nov 7, 2018
1 parent 2d9e071 commit 7301743
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lisflood-fp-bmi-v5.9/lib_bmi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ enum VARIABLE_LABEL {
dA,
SGCwidth,
SGCQin,
SGCz,
blx,
bly,
BC_numPS,
Expand All @@ -48,6 +49,7 @@ VARIABLE_LABEL variable2label (std::string const& variable) {
if (variable == "dA") return dA;
if (variable == "SGCwidth") return SGCwidth;
if (variable == "SGCQin") return SGCQin;
if (variable == "SGCz") return SGCz;
if (variable == "blx") return blx;
if (variable == "bly") return bly;
if (variable == "BC.numPS") return BC_numPS;
Expand Down Expand Up @@ -169,6 +171,10 @@ extern "C" {
*ptr = (void*)(Arrptr->SGCQin);
break;
}
case SGCz: {
*ptr = (void*)(Arrptr->SGCz);
break;
}
case blx: {
*ptr = &(Parptr->blx);
break;
Expand Down Expand Up @@ -215,6 +221,7 @@ extern "C" {
case dA:
case SGCwidth:
case SGCQin:
case SGCz:
case rain:
case QxSGold:
case QySGold:
Expand Down Expand Up @@ -253,6 +260,7 @@ extern "C" {
case dA:
case SGCwidth:
case SGCQin:
case SGCz:
case Qx:
case Qy:
case rain:
Expand Down Expand Up @@ -299,6 +307,7 @@ extern "C" {
case dA:
case SGCwidth:
case SGCQin:
case SGCz:
case blx:
case bly:
case QxSGold:
Expand Down

0 comments on commit 7301743

Please sign in to comment.