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

use fd approximation for the gradient as well

[[Imported from SVN: r1525]]
parent 5b5aeb8e
No related branches found
No related tags found
No related merge requests found
......@@ -227,7 +227,8 @@ void RodSolver<GridType>::solve()
corr = 0;
std::cout << "Rod energy: " <<rodAssembler_->computeEnergy(x_) << std::endl;
rodAssembler_->assembleGradient(x_, rhs);
//rodAssembler_->assembleGradient(x_, rhs);
rodAssembler_->assembleGradientFD(x_, rhs);
//rodAssembler_->assembleMatrix(x_, *hessianMatrix_);
rodAssembler_->assembleMatrixFD(x_, *hessianMatrix_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment