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
e5b61c10
Commit
e5b61c10
authored
Mar 23, 2021
by
Steffen Schotthöfer
Browse files
''fix'' of scattering
Former-commit-id:
ebeb1d1e
parent
709e76ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/src/solvers/csdpnsolver.cpp
View file @
e5b61c10
...
...
@@ -165,12 +165,12 @@ void CSDPNSolver::FVMUpdate( unsigned idx_energy ) {
_solNew
[
idx_cell
][
idx_sys
]
=
_sol
[
idx_cell
][
idx_sys
]
-
(
_dE
/
_areas
[
idx_cell
]
)
*
_solNew
[
idx_cell
][
idx_sys
]
/* cell averaged flux */
-
_dE
*
_sol
[
idx_cell
][
idx_sys
]
*
(
_sigmaT
[
idx_energy
][
idx_l
]
/* absorbtion influence */
-
_sigmaS
[
idx_energy
][
idx_l
]
);
/* scattering influence */
(
_sigmaT
[
idx_energy
][
idx_l
]
/* absorbtion influence */
);
/* scattering influence */
}
}
// Source Term
_solNew
[
idx_cell
][
0
]
+=
_dE
*
_Q
[
0
][
idx_cell
][
0
];
//
_solNew[idx_cell][0] += _dE * _Q[0][idx_cell][0];
}
}
...
...
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