From a44536af5548dec6b142cda8cf7f253bd290ae9e Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sat, 1 Jun 2013 19:18:40 +0200 Subject: [PATCH] Whitespace --- dune/tectonic/localfriction.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dune/tectonic/localfriction.hh b/dune/tectonic/localfriction.hh index 5edabfca..2320302a 100644 --- a/dune/tectonic/localfriction.hh +++ b/dune/tectonic/localfriction.hh @@ -46,19 +46,19 @@ template <int dimension> class LocalFriction { /** Formula for the derivative: - \f{align*}{ + \f{align*}{ \frac {d^2}{dz^2} H(|z|) &= \frac d{dz} \left( H'(|z|) \otimes \frac z{|z|} \right)\\ &= H''(|z|) \frac z{|z|} \otimes \frac z{|z|} + H'(|z|) \left( \frac {|z| \operatorname{id} - z \otimes z/|z|}{|z|^2} - \right)\\ + \right)\\ &= \frac {H''(|z|)}{|z|^2} z \otimes z + \frac {H'(|z|)}{|z|} \operatorname{id} - \frac {H'(|z|)}{|z|^3} z \otimes z\\ &= \left( \frac {H''(|z|)}{|z|^2} - \frac {H'(|z|)}{|z|^3} \right) z - \otimes z + \otimes z + \frac {H'(|z|)}{|z|} \operatorname{id} - \f} + \f} */ void addHessian(VectorType const &x, MatrixType &A) const { double const xnorm2 = x.two_norm2(); -- GitLab