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

small fix for cluster


Former-commit-id: 7ae294dc
parent 9991715c
...@@ -25,7 +25,7 @@ CSDSNSolverFP::CSDSNSolverFP( Config* settings ) : SNSolver( settings ) { ...@@ -25,7 +25,7 @@ CSDSNSolverFP::CSDSNSolverFP( Config* settings ) : SNSolver( settings ) {
_dE = ComputeTimeStep( settings->GetCFL() ); _dE = ComputeTimeStep( settings->GetCFL() );
_nEnergies = unsigned( ( _energyMax - _energyMin ) / _dE ); _nEnergies = unsigned( ( _energyMax - _energyMin ) / _dE );
std::cout << "nEnergies = " << _nEnergies << std::endl; // std::cout << "nEnergies = " << _nEnergies << std::endl;
_energies.resize( _nEnergies ); _energies.resize( _nEnergies );
for( unsigned n = 0; n < _nEnergies; ++n ) { for( unsigned n = 0; n < _nEnergies; ++n ) {
_energies[n] = _energyMin + ( _energyMax - _energyMin ) / ( _nEnergies - 1 ) * n; _energies[n] = _energyMin + ( _energyMax - _energyMin ) / ( _nEnergies - 1 ) * n;
...@@ -86,7 +86,7 @@ CSDSNSolverFP::CSDSNSolverFP( Config* settings ) : SNSolver( settings ) { ...@@ -86,7 +86,7 @@ CSDSNSolverFP::CSDSNSolverFP( Config* settings ) : SNSolver( settings ) {
} }
void CSDSNSolverFP::Solve() { void CSDSNSolverFP::Solve() {
std::cout << "Solve Fokker-Planck with Heney-Greenstein kernel using " << _nEnergies << " energies " << std::endl; // std::cout << "Solve Fokker-Planck with Heney-Greenstein kernel using " << _nEnergies << " energies " << std::endl;
auto log = spdlog::get( "event" ); auto log = spdlog::get( "event" );
auto cellMids = _mesh->GetCellMidPoints(); auto cellMids = _mesh->GetCellMidPoints();
......
Supports Markdown
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