Skip to content

Commit 00673e8

Browse files
committed
EAMxx: fix name of proc step tendency field
1 parent be5278b commit 00673e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/eamxx/src/share/atm_process/atmosphere_process.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ void AtmosphereProcess::setup_step_tendencies () {
264264

265265
auto f = gn=="UNSET" ? get_field_out(fn) : get_field_out(fn,gn);
266266

267-
const auto& tname = this->name() + "_" + tn + "_tend";
267+
const auto& tname = this->name() + "_" +
268+
fn + (gn=="UNSET" ? "" : "_" + gn) +
269+
"_tend";
268270

269271
// Create tend and start-of-step fields
270272
auto& tend = m_proc_tendencies[fn] = f.clone(tname);

0 commit comments

Comments
 (0)