Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Coon, Ethan
ELM_Kernels
Commits
7cbd4e59
Commit
7cbd4e59
authored
Jun 04, 2019
by
Ethan Coon
Browse files
updates test to correctly print the timestep number
parent
f6c1150a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
tests/tests_c_f/CanopyHydrology_module.cc
View file @
7cbd4e59
...
...
@@ -218,7 +218,7 @@ int main(int argc, char ** argv)
auto
avg_frac_sfc
=
std
::
accumulate
(
frac_h2osfc
.
begin
(),
frac_h2osfc
.
end
(),
0.
)
/
(
frac_h2osfc
.
end
()
-
frac_h2osfc
.
begin
());
std
::
cout
<<
std
::
setprecision
(
16
)
<<
0
<<
"
\t
"
<<
sum_water
<<
"
\t
"
<<
*
min_max_water
.
first
<<
"
\t
"
<<
*
min_max_water
.
second
<<
t
+
1
<<
"
\t
"
<<
sum_water
<<
"
\t
"
<<
*
min_max_water
.
first
<<
"
\t
"
<<
*
min_max_water
.
second
<<
"
\t
"
<<
sum_snow
<<
"
\t
"
<<
*
min_max_snow
.
first
<<
"
\t
"
<<
*
min_max_snow
.
second
<<
"
\t
"
<<
avg_frac_sfc
<<
"
\t
"
<<
*
min_max_frac_sfc
.
first
<<
"
\t
"
<<
*
min_max_frac_sfc
.
second
<<
std
::
endl
;
}
// end timestep loop
...
...
tests/tests_gold/test_CanopyHydrology_module.stdout
0 → 100644
View file @
7cbd4e59
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment