Skip to content
Snippets Groups Projects
  1. Nov 20, 2020
    • Sander, Oliver's avatar
      Use ADOL-C for derivatives of the rod energy · da55ad7a
      Sander, Oliver authored
      Previously, the rod3d code used a hand-implemented first derivative
      of the rod energy, and FD for the second derivatives.  This patch
      replaces this by ADOL-C for both first and second derivatives.
      Advantages are:
      * The code is much shorter, and easier to understand.
      * The previous code contained interpolation formulae for
        first-order 1d geodesic finite elements.  This restricted
        rod problems to first-order GFE.  A follow-up patch will
        allow higher-order approximations.
      * The new code runs roughly twice as fast.
      da55ad7a
    • Sander, Oliver's avatar
      Remove the RodAssembler class · 33fd5621
      Sander, Oliver authored
      GeodesicFEAssembler can replace it without problems.
      33fd5621
    • Sander, Oliver's avatar
      Move all rod stress and strain methods to local energy implementation · ac686e40
      Sander, Oliver authored
      As a first step towards getting rid of the RodAssembler class,
      this patch moves the getStrain, getStress, and getResultantForce
      methods to the RodLocalStiffness class.  I am not 100% convinced
      that that is the best place for them, but I can't think of a
      better one right now.
      ac686e40
    • Sander, Oliver's avatar
      Find std math functions by ADL · 87e1da6f
      Sander, Oliver authored
      ADOL-C implements most standard math functions for its
      'adouble' type, and they are not in the namespace 'std'.
      dune-fufem contains a file adolcnamespaceinjections.hh
      which imports some of these methods into the 'std'
      namespace, but that is not the proper way to do it.
      Rather, they should be found by argument-dependent
      lookup (ADL), that is
      
        using std::sin;
        auto v = sin(x);
      87e1da6f
    • Sander, Oliver's avatar
      Fix small errors in code documentation · 7b0e339e
      Sander, Oliver authored
      7b0e339e
  2. Nov 08, 2020
  3. Nov 05, 2020
  4. Nov 03, 2020
  5. Oct 30, 2020
  6. Oct 28, 2020
  7. Oct 21, 2020
  8. Oct 20, 2020
  9. Oct 12, 2020
  10. Oct 08, 2020
  11. Oct 07, 2020
  12. Oct 06, 2020
  13. Sep 24, 2020
  14. Sep 18, 2020
Loading