Skip to content
Snippets Groups Projects
  1. Jan 17, 2025
  2. Jan 12, 2025
  3. Jul 11, 2024
    • Lisa Julia Nebel's avatar
      Add LocalIntegralStiffness class with a test · ab09c587
      Lisa Julia Nebel authored and Sander, Oliver's avatar Sander, Oliver committed
      The LocalIntegralStiffness assembles a tangent matrix by
      suitably combining derivatives of the energy density with
      derivatives of the geometric FE interpolation.  See the
      detailed description in dune-gfe-manual.pdf.
      
      This patch also includes a new test in localintegralstiffnesstest.cc.
      It checks if the assembled matrix is the same as the one computed
      by LocalGeodesicFEADOLCStiffness.
      
      For a 3d Cosserat material I get a speedup of about 3x.
      ab09c587
  4. Jul 10, 2024
  5. Jul 07, 2024
  6. Jul 06, 2024
    • Sander, Oliver's avatar
      InterpolationRules: Return coefficients by const reference · e2d97ab8
      Sander, Oliver authored
      Previously they were returned by value, but I do not remember any
      actual reason for that.  Return by const reference leads to a
      measurable speed increase when computing the derivatives of
      projection-based FE onto the sphere.  It also fixed some
      undefined behavior in that code, which took const-references
      of the returned temporaries.
      
      Returning the coefficients by const reference is more difficult
      for product manifolds, because previously the interpolation rules
      stored the coefficients separately for each factor space.
      With this patch, these rules now store the coefficients twice:
      once in the old separate format, and once as needed for returning
      them by reference.  Interpolation rules are not meant to exist
      in large numbers, and therefore I do not think that this
      extra space consumption matters.
      e2d97ab8
  7. Jun 23, 2024
    • Sander, Oliver's avatar
      Fix LocalIntegralEnergy for nonconforming discretizations · 1f5c6c83
      Sander, Oliver authored
      This broke recently (or never worked), because nonconforming
      discretizations were not tested anywhere.  This patch therefore
      also generalizes harmonicmaptest to also test with a
      nonconforming discretization.
      
      As part of the fix, the interpolation rules get a new method
      `evaluateValueAndDerivative`, because the previous way to get
      the value and the derivative in a single call (the `evaluateDerivative`
      method that takes a value as an argument) only worked for the
      conforming case.
      1f5c6c83
    • Sander, Oliver's avatar
      Remove a few unused static data members · a5db27c6
      Sander, Oliver authored
      a5db27c6
  8. Mar 26, 2024
  9. Mar 24, 2024
  10. Jan 15, 2024
    • Sander, Oliver's avatar
      Replace RigidBodyMotion by ProductManifold · 25239378
      Sander, Oliver authored
      The ProductManifold class generalizes RigidBodyMotion, and can do
      everything that the RigidBodyMotion class can.  Therefore there is
      no point in keeping RigidBodyMotion any longer.  Having two
      implementations for the same thing will just confuse people.
      25239378
  11. Jan 05, 2024
  12. May 24, 2023
  13. Apr 24, 2023
  14. Jan 07, 2023
  15. Jan 22, 2022
  16. Jun 10, 2021
  17. Jan 19, 2021
  18. Nov 20, 2020
    • Sander, Oliver's avatar
      Support rod discretizations of any order · 3fd15b9e
      Sander, Oliver authored
      So far, the Cosserat rod energy implementation hat a first-order
      finite element space hardcoded.  This patch removes that restriction.
      As for the other models in this Dune module, the finite element basis
      is now a template parameter of the model energy, and can be set to
      any reasonable basis.
      3fd15b9e
  19. Oct 07, 2019
    • Sander, Oliver's avatar
      Remove various binary operators when using dune-common 2.7 · f157ef50
      Sander, Oliver authored
      The dune-common 2.7 release finally adds all those standard
      binary addition, multiplication, etc operators for FieldVector
      and FieldMatrix.  Hence we do not have to have our own
      implementation anymore.  We still keep it for backward-
      compatibility with dune-common 2.6, but guard it behind
      cpp conditionals.
      f157ef50
  20. Jan 15, 2018
  21. Dec 21, 2017
  22. Jan 17, 2016
    • Sander, Oliver's avatar
      Use Higham's method instead of the SVD to compute the polar decomposition · bbc89660
      Sander, Oliver authored
      The method using the SVD works in principle.  However, it does not play nicely
      with automatic differentiation, because singular values are not always differentiable.
      
      The method proposed by Higham to compute the polar factor, on the other hand,
      is a Newton method at heart.  Therefore, it can be used together with AD without
      problems.
      bbc89660
  23. Oct 16, 2015
  24. Mar 15, 2015
  25. Mar 14, 2015
  26. Feb 12, 2015
  27. Sep 30, 2014
  28. Mar 24, 2014
Loading