From a30eca0de2256bdf7c4ad665a9fb0e53d26c9643 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sat, 25 Feb 2012 21:38:23 +0100 Subject: [PATCH] Whitespace, TODO --- src/one-body-sample.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 327135cb..860ed695 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -172,9 +172,12 @@ assemble_nonlinearity( Dune::GlobalRuinaNonlinearity<VectorType, MatrixType> const>( nodalIntegrals, a, mu, eta, normalStress, state, h); } else if (friction_model == std::string("Laursen")) { - return Dune::make_shared<Dune::GlobalLaursenNonlinearity< - Dune::LinearFunction, VectorType, MatrixType> const>(mu, normalStress, - nodalIntegrals); + return + // TODO: take state and h into account + Dune::make_shared< + Dune::GlobalLaursenNonlinearity<Dune::LinearFunction, VectorType, + MatrixType> const>(mu, normalStress, + nodalIntegrals); } else { assert(false); } -- GitLab