Skip to content

Commit

Permalink
Hack in FieldManager initialzation
Browse files Browse the repository at this point in the history
  • Loading branch information
psakievich committed May 4, 2023
1 parent 40e409f commit 8160ddd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unit_tests/UnitTestHelperObjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <stk_topology/topology.hpp>

#include <memory>
#include <FieldManager.h>

namespace unit_test_utils {

Expand All @@ -33,6 +34,10 @@ struct HelperObjectsBase
eqSystem(eqSystems)
{
realm.bulkData_ = bulk;
// hack
// realm.setup_field_manager();
const int numStates = 3;
realm.fieldManager_ = std::make_unique<sierra::nalu::FieldManager>(realm.meta_data(), numStates);
}

virtual ~HelperObjectsBase() { delete naluObj; }
Expand Down

0 comments on commit 8160ddd

Please sign in to comment.