Skip to content
Snippets Groups Projects
Commit 91316ce4 authored by podlesny's avatar podlesny
Browse files

.

parent 7f316190
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ int main(int argc, char *argv[]) { ...@@ -199,7 +199,7 @@ int main(int argc, char *argv[]) {
programState.setupInitialConditions(parset, contactNetwork); programState.setupInitialConditions(parset, contactNetwork);
DUNE_THROW(Dune::Exception, "Just need to stop here!"); //DUNE_THROW(Dune::Exception, "Just need to stop here!");
auto& nBodyAssembler = contactNetwork.nBodyAssembler(); auto& nBodyAssembler = contactNetwork.nBodyAssembler();
for (size_t i=0; i<bodyCount; i++) { for (size_t i=0; i<bodyCount; i++) {
......
...@@ -151,7 +151,7 @@ class TNNMGStep : ...@@ -151,7 +151,7 @@ class TNNMGStep :
//print(f.linearPart(), "f.linearPart():"); //print(f.linearPart(), "f.linearPart():");
//std::cout << "-- energy before smoothing: " << energy(x) << std::endl; std::cout << "-- energy before smoothing: " << f(x) << std::endl;
// Nonlinear presmoothing // Nonlinear presmoothing
for (std::size_t i=0; i<preSmoothingSteps_; ++i) for (std::size_t i=0; i<preSmoothingSteps_; ++i)
...@@ -160,7 +160,7 @@ class TNNMGStep : ...@@ -160,7 +160,7 @@ class TNNMGStep :
std::cout << "- nonlinear presmoothing: success" << std::endl; std::cout << "- nonlinear presmoothing: success" << std::endl;
//print(x, "TNNMG iterate after smoothing:"); //print(x, "TNNMG iterate after smoothing:");
std::cout << "-- energy after presmoothing: " << energy(x) << std::endl; std::cout << "-- energy after presmoothing: " << f(x) << std::endl;
/* /*
// Compute constraint/truncated linearization // Compute constraint/truncated linearization
......
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