Commit b6d88826 authored by Steffen Schotthöfer's avatar Steffen Schotthöfer
Browse files

added input safety for PN solver

parent 2a9d6816
......@@ -443,7 +443,7 @@ void Config::SetPostprocessing() {
}
// --- Solver setup ---
if( GetSolverName() == PN_SOLVER ) {
if( GetSolverName() == PN_SOLVER && GetSphericalBasisName() != SPHERICAL_HARMONICS ) {
ErrorMessages::Error( "PN Solver only works with spherical harmonics basis.\nThis should be the default setting for option SPHERICAL_BASIS.",
CURRENT_FUNCTION );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment