Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/mg_solver/HpMultiGrid.H
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ public:
return 2;
case 3:
return 1;
default:
amrex::Abort(std::to_string(system_type) + " is not a valid system_type!");
}
return 0;
return 0; //unreachable
}

/** \brief Return the number of acf components used for a given system type
Expand All @@ -201,8 +203,10 @@ public:
return 2;
case 3:
return 0;
default:
amrex::Abort(std::to_string(system_type) + " is not a valid system_type!");
}
return 0;
return 0; //unreachable
}

/** When applying Dirichlet boundary conditions, shift boundary value by offset number of cells */
Expand Down
Loading