Skip to content

Commit

Permalink
fix output copy
Browse files Browse the repository at this point in the history
  • Loading branch information
cate-to committed Nov 8, 2023
1 parent ce55403 commit abe5b25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/HEAT1D/heat1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,11 @@ QString Crit3DOut::getTextOutput(outputGroup outGroup)
myString.append(QString("WaterMBR"));
}

if (outGroup == outputGroup::bottom)
{
myString.append(QString("drainage"));
}

myString.append(QString("\n"));

for (int i=0; i<nrValues; i++)
Expand Down Expand Up @@ -606,6 +611,13 @@ QString Crit3DOut::getTextOutput(outputGroup outGroup)
myString.append(QString(","));
}

if (outGroup == outputGroup::bottom)
{
myValue = bottomFluxes[i].drainage.y();
myString.append(QString::number(myValue,'f',8));
myString.append(QString(","));
}

if (outGroup == outputGroup::surfaceResistances)
{
myValue = landSurfaceOutput[i].aeroResistance.y();
Expand Down

0 comments on commit abe5b25

Please sign in to comment.