Skip to content

Commit

Permalink
Fix bug in initial output of sideset writer to include mesh transform…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
gantech committed Feb 3, 2025
1 parent 5f68b8e commit 193b35c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Realm.C
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,6 @@ Realm::initialize_prolog()
if (checkForMissingBcs_)
enforce_bc_on_exposed_faces();

// output and restart files
create_output_mesh();
create_restart_mesh();

// sort exposed faces only when using consolidated bc NGP approach
if (solutionOptions_->useConsolidatedBcSolverAlg_) {
const double timeSort = NaluEnv::self().nalu_time();
Expand All @@ -527,6 +523,10 @@ Realm::initialize_prolog()
if (solutionOptions_->meshTransformation_)
meshTransformationAlg_->initialize(get_current_time());

// output and restart files
create_output_mesh();
create_restart_mesh();

if (does_mesh_move())
init_current_coordinates();

Expand Down

0 comments on commit 193b35c

Please sign in to comment.