Skip to content
Snippets Groups Projects
  1. Nov 23, 2023
  2. Nov 21, 2023
  3. Oct 30, 2023
  4. Oct 27, 2023
  5. Oct 26, 2023
  6. Oct 05, 2023
  7. Oct 04, 2023
    • Lisa Julia Nebel's avatar
      Divide the regularization parameter through the scaling parameter in the PN... · 3ea924df
      Lisa Julia Nebel authored
      Divide the regularization parameter through the scaling parameter in the PN solver instead of multiplying
      
      In the PN solver, we add identity*regularization/scaling to the stiffness matrix.
      This has two effects:
      - make the system matrix positive definite
      - penalize large corrections to ensure an energy decrease in each step
      
      The regularization parameter is adapted if either the system matrix is not positive definite
      if there is an energy increase. This works similar to the trust-region radius in the TR solver.
      The correction must be inside the trust-region, this ensures there is an energy decrease
      in each step.
      For each component of the correction, the trust-region radius as well as the regularization parameter
      is multiplied with a scaling factor, because the correction for the displacement works depends
      on the grid size where the correction for the rotation does not.
      
      To align the effect of the scaling parameter, we need to divide through the scaling parameter in
      the PN solver and multiply with it it in the TR solver.
      3ea924df
  8. Jun 20, 2023
  9. Jun 16, 2023
  10. May 24, 2023
  11. May 22, 2023
  12. May 16, 2023
    • Sander, Oliver's avatar
      A test for EmbeddedGlobalGFEFunction · 6252438e
      Sander, Oliver authored
      6252438e
    • Sander, Oliver's avatar
      Reimplement EmbeddedGlobalGFEFunctions in dune-functions style · 980e149b
      Sander, Oliver authored
      The old style has been deprecated for a long time, and is not
      supported by dune-fufem anymore.
      
      (In particular, the code discretizationerror.hh now requires
      functions to satisfy the dune-functions function interface.)
      
      In the wake of this, compute-disc-error.cc gets a number
      of changes.  Let's hope I didn't screw up anything.
      980e149b
    • Sander, Oliver's avatar
      Replaced GlobalGeodesicFEFunction by a new one GlobalGFEFunction · 6e67d974
      Sander, Oliver authored
      There are two important changes:  First of all, the new class implements
      the `dune-functions` interface rather than the deprecated one based
      on inheritance from `VirtualGridViewFunction`. Secondly, the new class
      does not hard-wire geodesic interpolation anymore.  Rather, you can
      give it interpolation classes which then govern how interpolation is done.
      
      This change was long overdue.  It was now needed to make
      gradient-flow.cc compile with the post 2.9 version of dune-fufem again.
      6e67d974
    • Sander, Oliver's avatar
      Merge branch 'fix-undefined-behavior-bug' into 'master' · 0590a02b
      Sander, Oliver authored
      Replace std::tie by std::make_tuple
      
      See merge request !126
      0590a02b
    • Sander, Oliver's avatar
      Replace std::tie by std::make_tuple · ed1173f7
      Sander, Oliver authored
      The code erroneously used std::tie to combine two local variables
      to a single return value.  That may fail because std::tie produces
      a tuple of references.  Once the method has returned these references
      may or may not be valid anymore.  I am surprised that this bug
      has not caused trouble much earlier.
      ed1173f7
  13. Apr 27, 2023
  14. Apr 24, 2023
Loading