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

rename 'assembleMatrix' to 'assembleHessianApproximation', because that is what it is

[[Imported from SVN: r5595]]
parent 4547ba50
No related branches found
No related tags found
No related merge requests found
...@@ -45,8 +45,8 @@ public: ...@@ -45,8 +45,8 @@ public:
#endif #endif
} }
void assembleMatrix(const TargetSpace& x, void assembleHessianApproximation(const TargetSpace& x,
Dune::FieldMatrix<double,size,size>& matrix) const Dune::FieldMatrix<double,size,size>& matrix) const
{ {
for (int i=0; i<size; i++) for (int i=0; i<size; i++)
for (int j=0; j<size; j++) for (int j=0; j<size; j++)
......
...@@ -77,7 +77,7 @@ void TargetSpaceRiemannianTRSolver<TargetSpace>::solve() ...@@ -77,7 +77,7 @@ void TargetSpaceRiemannianTRSolver<TargetSpace>::solve()
MatrixType hesseMatrix(1,1); MatrixType hesseMatrix(1,1);
assembler_->assembleGradient(x_, rhs[0]); assembler_->assembleGradient(x_, rhs[0]);
assembler_->assembleMatrix(x_, hesseMatrix[0][0]); assembler_->assembleHessianApproximation(x_, hesseMatrix[0][0]);
//gradientFDCheck(x_, rhs, *rodAssembler_); //gradientFDCheck(x_, rhs, *rodAssembler_);
//hessianFDCheck(x_, *hessianMatrix_, *rodAssembler_); //hessianFDCheck(x_, *hessianMatrix_, *rodAssembler_);
......
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