Skip to content

Commit

Permalink
Register reflecting BCs for advection examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Sep 28, 2024
1 parent 5925d1d commit 2bb344f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/advection/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ int main(int argc, char *argv[]) {
pman.app_input->ProblemGenerator = advection_example::ProblemGenerator;
pman.app_input->UserWorkAfterLoop = advection_example::UserWorkAfterLoop;
pman.app_input->UserMeshWorkBeforeOutput = advection_example::UserMeshWorkBeforeOutput;
mpan.app_input->RegisterDefaultReflectingBoundaryConditions();

// call ParthenonInit to initialize MPI and Kokkos, parse the input deck, and set up
auto manager_status = pman.ParthenonInitEnv(argc, argv);
Expand Down
1 change: 1 addition & 0 deletions example/sparse_advection/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ int main(int argc, char *argv[]) {
pman.app_input->ProblemGenerator = sparse_advection_example::ProblemGenerator;
pman.app_input->PostStepDiagnosticsInLoop =
sparse_advection_example::PostStepDiagnosticsInLoop;
mpan.app_input->RegisterDefaultReflectingBoundaryConditions();

// call ParthenonInit to initialize MPI and Kokkos, parse the input deck, and set up
auto manager_status = pman.ParthenonInitEnv(argc, argv);
Expand Down

0 comments on commit 2bb344f

Please sign in to comment.