Skip to content

Commit

Permalink
Replaced m_holemap_alg with m_is_adaptive_holemap_alg
Browse files Browse the repository at this point in the history
  • Loading branch information
itopcuoglu committed Feb 29, 2024
1 parent def6b9c commit dae2fc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/OversetSimulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ void OversetSimulation::perform_overset_connectivity()
m_timers_tg.tick("Connectivity");
if (m_has_amr) m_tg.preprocess_amr_data();
m_tg.profile();
if ((m_holemap_alg == 1) && (m_complementary_comm_initialized == false)) {
if ((m_is_adaptive_holemap_alg == 1) &&
(m_complementary_comm_initialized == false)) {
m_tg.assembleComms();
m_complementary_comm_initialized = true;
}
Expand Down
6 changes: 3 additions & 3 deletions src/OversetSimulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class OversetSimulation
//! Flag indicating if complementary comms have been initialized
bool m_complementary_comm_initialized{false};
//! Flag for holemap algorithm
bool m_holemap_alg{false};
bool m_is_adaptive_holemap_alg{false};
//! Tioga instance
TIOGA::tioga m_tg;
//! Determine unstructured and structured solver types
Expand Down Expand Up @@ -106,8 +106,8 @@ class OversetSimulation

void set_holemap_alg(bool alg)
{
m_holemap_alg = alg;
if (m_holemap_alg == true) m_tg.setHoleMapAlgorithm(1);
m_is_adaptive_holemap_alg = alg;
if (m_is_adaptive_holemap_alg == true) m_tg.setHoleMapAlgorithm(1);
}
};

Expand Down

0 comments on commit dae2fc9

Please sign in to comment.