Skip to content

Commit bb9646e

Browse files
authored
Remove assert in meso forcing (#1720)
1 parent 7baa889 commit bb9646e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

amr-wind/equation_systems/icns/source_terms/ABLMesoForcingMom.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ void ABLMesoForcingMom::mean_velocity_init(
6464
// computes statistics at the cell-centeres only on level 0. If this
6565
// assumption changes in future, the implementation will break... so put in
6666
// a check here to catch this.
67-
AMREX_ALWAYS_ASSERT(m_mesh.Geom(0).Domain().length(m_axis) == m_nht);
6867

6968
m_zht.resize(m_nht);
7069
m_vavg_ht.resize(m_nht);

amr-wind/equation_systems/temperature/source_terms/ABLMesoForcingTemp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ void ABLMesoForcingTemp::mean_temperature_init(
6161
// computes statistics at the cell-centeres only on level 0. If this
6262
// assumption changes in future, the implementation will break... so put in
6363
// a check here to catch this.
64-
AMREX_ALWAYS_ASSERT(m_mesh.Geom(0).Domain().length(m_axis) == m_nht);
6564

6665
m_zht.resize(m_nht);
6766
m_theta_ht.resize(m_nht);

0 commit comments

Comments
 (0)