Skip to content

Commit

Permalink
CarpetX: use eno for flux when prolongate
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Oct 10, 2024
1 parent 37273db commit 62e2761
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions CarpetX/src/driver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -619,31 +619,31 @@ amrex::Interpolater *get_interpolator(const std::array<int, dim> indextype) {
case 0b011:
switch (prolongation_order) {
case 1:
return &prolongate_natural_3d_rf2_c011_o1;
return &prolongate_eno_3d_rf2_c011_o1;
case 3:
return &prolongate_natural_3d_rf2_c011_o3;
return &prolongate_eno_3d_rf2_c011_o3;
case 5:
return &prolongate_natural_3d_rf2_c011_o5;
return &prolongate_eno_3d_rf2_c011_o5;
}
break;
case 0b101:
switch (prolongation_order) {
case 1:
return &prolongate_natural_3d_rf2_c101_o1;
return &prolongate_eno_3d_rf2_c101_o1;
case 3:
return &prolongate_natural_3d_rf2_c101_o3;
return &prolongate_eno_3d_rf2_c101_o3;
case 5:
return &prolongate_natural_3d_rf2_c101_o5;
return &prolongate_eno_3d_rf2_c101_o5;
}
break;
case 0b110:
switch (prolongation_order) {
case 1:
return &prolongate_natural_3d_rf2_c110_o1;
return &prolongate_eno_3d_rf2_c110_o1;
case 3:
return &prolongate_natural_3d_rf2_c110_o3;
return &prolongate_eno_3d_rf2_c110_o3;
case 5:
return &prolongate_natural_3d_rf2_c110_o5;
return &prolongate_eno_3d_rf2_c110_o5;
}
break;

Expand Down

0 comments on commit 62e2761

Please sign in to comment.