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

start a test for the Hessian of the harmonic energy

[[Imported from SVN: r5928]]
parent db804640
No related branches found
No related tags found
No related merge requests found
......@@ -85,4 +85,15 @@ int main(int argc, char** argv)
coefficients[2] = uv;
testEnergy<GridType>(grid, coefficients);
// //////////////////////////////////////////////////////////
// Test the approximation to the Hesse matrix
// //////////////////////////////////////////////////////////
HarmonicEnergyLocalStiffness<GridType::LeafGridView,TargetSpace> assembler;
assembler.assemble(*grid->leafbegin<0>(), coefficients);
std::cout << "Hessian: \n" << assembler.A[0][0] << std::endl;
}
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