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
e25bf4cc
Commit
e25bf4cc
authored
Mar 23, 2021
by
Steffen Schotthöfer
Browse files
added interpolation on energies
Former-commit-id:
56bde3c3
parent
75aeb284
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/src/solvers/csdpnsolver.cpp
View file @
e25bf4cc
...
...
@@ -58,7 +58,7 @@ CSDPNSolver::CSDPNSolver( Config* settings ) : PNSolver( settings ) {
for
(
unsigned
idx_degree
=
0
;
idx_degree
<
_polyDegreeBasis
;
++
idx_degree
)
{
Vector
xs_m
=
blaze
::
column
(
sigma_ref
,
idx_degree
);
// Scattering cross section Moments
Interpolation
interp
(
E_ref
,
xs_m
);
//
blaze::column( sigma_t, i ) = interp( _energies );
blaze
::
column
(
sigma_t
,
i
dx_degree
)
=
interp
(
_energies
);
}
Interpolation
interpS
(
E_tab
,
S_tab
);
...
...
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