Skip to content

Conversation

@hgopalan
Copy link
Contributor

Summary

The terrain wall-function has been modified to provide wall function capability consistent with the flat terrain. The hybrid version of the Kosovic model has also been modified to be terrain-aware.

Please check the type of change introduced:

  • [X ] Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Additional background

The existing regression tests and unit tests will be sufficient.

Issue Number:

@hgopalan hgopalan marked this pull request as ready for review October 14, 2025 21:16
@hgopalan hgopalan requested review from marchdf and mbkuhn October 14, 2025 21:16
m_Cs = std::sqrt(8 * (1 + m_Cb) / (27 * M_PI * M_PI));
m_C1 = std::sqrt(960) * m_Cb / (7 * (1 + m_Cb) * m_Sk);
m_C2 = m_C1;
pp.query("refMOL", m_refMOL);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that you renamed this but I am worried about backwards compatability. Can you add an abort if someone tries to use this refMOL? There's a pp is present function you can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants