Skip to content
Snippets Groups Projects
Commit 95b3f701 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

make screen output a bit more concise

[[Imported from SVN: r1775]]
parent e9309ff7
No related branches found
No related tags found
No related merge requests found
...@@ -218,18 +218,16 @@ void RodSolver<GridType>::solve() ...@@ -218,18 +218,16 @@ void RodSolver<GridType>::solve()
if (this->verbosity_ == FULL) { if (this->verbosity_ == FULL) {
std::cout << "----------------------------------------------------" << std::endl; std::cout << "----------------------------------------------------" << std::endl;
std::cout << " Trust-Region Step Number: " << i << std::endl; std::cout << " Trust-Region Step Number: " << i
<< ", radius: " << trustRegionRadius
<< ", energy: " << rodAssembler_->computeEnergy(x_) << std::endl;
std::cout << "----------------------------------------------------" << std::endl; std::cout << "----------------------------------------------------" << std::endl;
std::cout << "### Trust-Region Radius: " << trustRegionRadius << " ###" << std::endl;
} }
CorrectionType rhs; CorrectionType rhs;
CorrectionType corr(x_.size()); CorrectionType corr(x_.size());
corr = 0; corr = 0;
if (this->verbosity_ == FULL)
std::cout << "Rod energy: " <<rodAssembler_->computeEnergy(x_) << std::endl;
rodAssembler_->assembleGradient(x_, rhs); rodAssembler_->assembleGradient(x_, rhs);
//rodAssembler_->assembleMatrix(x_, *hessianMatrix_); //rodAssembler_->assembleMatrix(x_, *hessianMatrix_);
rodAssembler_->assembleMatrixFD(x_, *hessianMatrix_); rodAssembler_->assembleMatrixFD(x_, *hessianMatrix_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment