Commit 97145627 authored by jannick.wolters's avatar jannick.wolters
Browse files

added cfl number


Former-commit-id: cc662021
parent 0599c4a0
...@@ -33,8 +33,11 @@ CSDPNSolver::CSDPNSolver( Config* settings ) : PNSolver( settings ) { ...@@ -33,8 +33,11 @@ CSDPNSolver::CSDPNSolver( Config* settings ) : PNSolver( settings ) {
// only dummies for compilation // only dummies for compilation
// //
_nEnergies = 1000u; double minE = 5e-5;
_energies = blaze::linspace( _nEnergies, 1.0, 5e-5 ); double maxE = 1.0;
_dE = ComputeTimeStep( _settings->GetCFL() );
_nEnergies = std::ceil( ( maxE - minE ) / _dE );
_energies = blaze::linspace( _nEnergies, maxE, minE );
//_angle = _energies; //_angle = _energies;
// //
//_sigmaSE = { Matrix( _nEnergies, 0.0 ) }; //_sigmaSE = { Matrix( _nEnergies, 0.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