Skip to content

Commit 34471e0

Browse files
committed
EAMxx: fix docs mentioning timestamp usage within an atm proc
1 parent 354612c commit 34471e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/eamxx/docs/_presentations_srcs/eamxx-tutorial-2025-part2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ void POMPEI::run_impl(const double dt) {
487487
using PC = scream::physics::Constants<Real>;
488488
auto g = PC::gravit;
489489

490-
auto t = timestamp() + dt;
490+
auto t = end_of_step_ts();
491491
auto rate = pompei::ash_emission_rate(t.days_from(m_eruption_start));
492492
auto mass = dt * rate;
493493

components/eamxx/docs/developer/dev_testing/testing_for_development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ be the `eamxx_inject_ash_process_interface.<x>pp` files, located at
7676
[...] // set source_mask=1 only on area of interest, using lat/lon field
7777
}
7878
void MAM_AshInjection::run_impl(const double dt) {
79-
auto t = this->timestamp() + dt; // timestamp() is the START of step time
79+
auto t = end_of_step_ts();
8080
auto ash = get_field_out("ash");
8181
auto rate = compute_ash_injection_rate(
8282
t); // defined in ash_source_calculation.hpp header

0 commit comments

Comments
 (0)