Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
ebeb1d1e
Commit
ebeb1d1e
authored
Mar 23, 2021
by
Steffen Schotthöfer
Browse files
''fix'' of scattering
parent
6cecd0f0
Pipeline
#143034
passed with stage
in 20 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
code/src/solvers/csdpnsolver.cpp
View file @
ebeb1d1e
...
...
@@ -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];
}
}
...
...
jannick.wolters
@jm2154
mentioned in commit
e5b61c10
·
Apr 30, 2021
mentioned in commit
e5b61c10
mentioned in commit e5b61c108c34f9e1ac947e066967f8a1885f668a
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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