Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
897511bd
Commit
897511bd
authored
Dec 15, 2020
by
Steffen Schotthöfer
Browse files
added input safety for PN solver
Former-commit-id:
b6d88826
parent
077ea068
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/src/common/config.cpp
View file @
897511bd
...
...
@@ -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.
\n
This should be the default setting for option SPHERICAL_BASIS."
,
CURRENT_FUNCTION
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment