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
92fe3177
Commit
92fe3177
authored
Oct 22, 2020
by
steffen.schotthoefer
Browse files
small bug fixes. doubled introduced options
parent
54c8a262
Pipeline
#114941
failed with stage
in 13 minutes and 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
code/src/common/config.cpp
View file @
92fe3177
...
...
@@ -249,7 +249,6 @@ void Config::SetConfigOptions() {
// Entropy related options
/*! @brief Entropy Functional \n DESCRIPTION: Entropy functional used for the MN_Solver \n DEFAULT QUADRTATIC @ingroup Config. */
AddEnumOption
(
"ENTROPY_FUNCTIONAL"
,
_entropyName
,
Entropy_Map
,
QUADRATIC
);
AddEnumOption
(
"ENTROPY_FUNCTIONAL"
,
_entropyName
,
Entropy_Map
,
MAXWELL_BOLTZMANN
);
/*! @brief Optimizer Name \n DESCRIPTION: Optimizer used to determine the minimal Entropy reconstruction \n DEFAULT NEWTON \ingroup Config */
AddEnumOption
(
"ENTROPY_OPTIMIZER"
,
_entropyOptimizerName
,
Optimizer_Map
,
NEWTON
);
...
...
code/src/optimizers/mloptimizer.cpp
View file @
92fe3177
...
...
@@ -8,12 +8,11 @@
#include
"toolboxes/errormessages.h"
MLOptimizer
::
MLOptimizer
(
Config
*
settings
)
:
OptimizerBase
(
settings
)
{
// test
// Test
initialize_python
();
// initialize network
std
::
string
moduleName
=
"callNN"
;
std
::
string
moduleName
=
"callNN
_MK3
"
;
_pModule
=
PyImport_ImportModule
(
moduleName
.
c_str
()
);
if
(
!
_pModule
)
{
...
...
code/src/problems/linesource.cpp
View file @
92fe3177
...
...
@@ -74,10 +74,6 @@ double LineSource::HelperRho_ptc2( double R, double t ) {
// Compute the integralpart with midpoint rule
result
=
exp
(
-
t
)
/
(
32
*
M_PI
*
M_PI
*
R
)
*
(
1
-
gamma
*
gamma
)
*
HelperIntRho_ptc2
(
t
,
gamma
);
}
if
(
__isnan
(
result
)
)
{
double
iNan
=
0.0
;
}
return
result
;
}
...
...
steffen.schotthoefer
@kx5574
mentioned in commit
c918de02
·
Apr 30, 2021
mentioned in commit
c918de02
mentioned in commit c918de02b85ded3b79d818afb7a60d2e82df9671
Toggle commit list
Write
Preview
Supports
Markdown
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