Skip to content
Snippets Groups Projects
Commit 2324ce75 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

FIXMEs/TODOs for the Laursen nonlinearity

parent 161ac5b0
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,7 @@ class GlobalLaursenNonlinearity
sigma_n [(1/eta \bar Gamma)* + mu id]
TODO: We chose Gamma = id, so that (\bar Gamma)* = \Gamma^{-1}
= id^{-1} = id. The factor 1/eta cancels in this special case, leaving us
with
sigma_n [id + mu id] = sigma_n (1 + mu) id
TODO: We currently assume eta = 1
*/
virtual shared_ptr<LocalNonlinearity<dim> const> restriction(int i) const {
if ((*nodalIntegrals)[i] == 0)
......
......@@ -88,6 +88,8 @@ assemble_nonlinearity(
} else if (friction_model == std::string("Laursen")) {
return
// TODO: take state and h into account
// FIXME: We should be using a quadratic rather than a linear function
// here!
Dune::make_shared<
Dune::GlobalLaursenNonlinearity<Dune::LinearFunction, VectorType,
MatrixType> const>(mu, normalStress,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment