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
b6d88826
Commit
b6d88826
authored
Dec 15, 2020
by
Steffen Schotthöfer
Browse files
added input safety for PN solver
parent
2a9d6816
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/src/common/config.cpp
View file @
b6d88826
...
...
@@ -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
);
}
...
...
jannick.wolters
@jm2154
mentioned in commit
897511bd
·
Apr 30, 2021
mentioned in commit
897511bd
mentioned in commit 897511bd72792a302480bc442c07254e55b5d8b6
Toggle commit list
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