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
22d4ffa2
Commit
22d4ffa2
authored
Dec 21, 2020
by
Steffen Schotthöfer
Browse files
fix some compile bugs for cluster usage
parent
6321fcf0
Pipeline
#124386
failed with stage
in 17 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
code/src/optimizers/mloptimizer.cpp
View file @
22d4ffa2
...
...
@@ -119,7 +119,7 @@ double* MLOptimizer::callNetwork( const unsigned input_size, double* nn_input )
ErrorMessages
::
Error
(
"'call_network' is null or not callable!"
,
CURRENT_FUNCTION
);
}
const
long
int
dims
[
1
]
=
{
input_size
};
long
int
dims
[
1
]
=
{
input_size
};
PyObject
*
inputArray
=
PyArray_SimpleNewFromData
(
1
,
dims
,
NPY_DOUBLE
,
(
void
*
)
nn_input
);
...
...
code/src/solvers/csdsnsolver.cpp
View file @
22d4ffa2
...
...
@@ -11,7 +11,7 @@
#include <mpi.h>
CSDSNSolver
::
CSDSNSolver
(
Config
*
settings
)
:
SNSolver
(
settings
)
{
std
::
cout
<<
"Start CSDN Constructor
\n
"
;
//
std::cout << "Start CSDN Constructor\n";
_dose
=
std
::
vector
<
double
>
(
_settings
->
GetNCells
(),
0.0
);
// --- Set angle and energies
...
...
@@ -60,7 +60,7 @@ CSDSNSolver::CSDSNSolver( Config* settings ) : SNSolver( settings ) {
}
}
std
::
cout
<<
"Here 3
\n
"
;
//
std::cout << "Here 3\n";
ICRU
database
(
angleVec
,
_energies
);
Matrix
total
;
...
...
@@ -133,11 +133,11 @@ CSDSNSolver::CSDSNSolver( Config* settings ) : SNSolver( settings ) {
// Solver output
PrepareVolumeOutput
();
std
::
cout
<<
"End CSDN Constructor
\n
"
;
//
std::cout << "End CSDN Constructor\n";
}
void
CSDSNSolver
::
Solve
()
{
std
::
cout
<<
"Solve"
<<
std
::
endl
;
//
std::cout << "Solve" << std::endl;
auto
log
=
spdlog
::
get
(
"event"
);
// save original energy field for boundary conditions
...
...
jannick.wolters
@jm2154
mentioned in commit
9991715c
·
Apr 30, 2021
mentioned in commit
9991715c
mentioned in commit 9991715cbd6090767166c40bd2a2b0066872c16b
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