Skip to content

Commit

Permalink
Update euler_depletion_grid.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-bournes authored Feb 16, 2024
1 parent 5bd5963 commit 93d1ded
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/diffusion/euler_depletion_grid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,11 @@ void EulerDepletionGrid::DiffuseWithNeumann(real_t dt) {
ApplyDepletion(dt);
}

void EulerDepletionGrid::DiffuseWithPeriodic(real_t dt) {
// Update concentration without depletion (c1 is modified)
EulerGrid::DiffuseWithPeriodic(dt);

ApplyDepletion(dt);
}

} // namespace bdm

0 comments on commit 93d1ded

Please sign in to comment.