Commit e5b61c10 authored by Steffen Schotthöfer's avatar Steffen Schotthöfer
Browse files

''fix'' of scattering


Former-commit-id: ebeb1d1e
parent 709e76ca
...@@ -165,12 +165,12 @@ void CSDPNSolver::FVMUpdate( unsigned idx_energy ) { ...@@ -165,12 +165,12 @@ void CSDPNSolver::FVMUpdate( unsigned idx_energy ) {
_solNew[idx_cell][idx_sys] = _sol[idx_cell][idx_sys] - _solNew[idx_cell][idx_sys] = _sol[idx_cell][idx_sys] -
( _dE / _areas[idx_cell] ) * _solNew[idx_cell][idx_sys] /* cell averaged flux */ ( _dE / _areas[idx_cell] ) * _solNew[idx_cell][idx_sys] /* cell averaged flux */
- _dE * _sol[idx_cell][idx_sys] * - _dE * _sol[idx_cell][idx_sys] *
( _sigmaT[idx_energy][idx_l] /* absorbtion influence */ ( _sigmaT[idx_energy][idx_l] /* absorbtion influence */
- _sigmaS[idx_energy][idx_l] ); /* scattering influence */ ); /* scattering influence */
} }
} }
// Source Term // Source Term
_solNew[idx_cell][0] += _dE * _Q[0][idx_cell][0]; // _solNew[idx_cell][0] += _dE * _Q[0][idx_cell][0];
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment