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

removed typo

parent dfd2fd72
Pipeline #142859 failed with stage
...@@ -128,7 +128,7 @@ void CSDPNSolver::FVMUpdate( unsigned idx_energy ) { ...@@ -128,7 +128,7 @@ void CSDPNSolver::FVMUpdate( unsigned idx_energy ) {
if( _boundaryCells[idx_cell] == BOUNDARY_TYPE::DIRICHLET ) continue; if( _boundaryCells[idx_cell] == BOUNDARY_TYPE::DIRICHLET ) continue;
// Flux update // Flux update
for( unsigned idx_sys = 0; idx_sys < _nSystem; idx_sys++ ) { for( unsigned idx_sys = 0; idx_sys < _nSystem; idx_sys++ ) {
_solNew[idx_cell][idx_sys] = _sol[idx_cell][idx_sys] - ( _dE / _areas[idx_cell] / ) * _solNew[idx_cell][idx_sys] /* cell averaged flux */ _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] * - _dE * _sol[idx_cell][idx_sys] *
( _sigmaT[idx_energy][idx_cell] /* absorbtion influence */ ( _sigmaT[idx_energy][idx_cell] /* absorbtion influence */
+ _sigmaS[idx_energy][idx_cell] * _scatterMatDiag[idx_sys] ); /* scattering influence */ + _sigmaS[idx_energy][idx_cell] * _scatterMatDiag[idx_sys] ); /* scattering influence */
......
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