- Jan 17, 2025
-
-
Sander, Oliver authored
This patch contains only whitespace changes.
-
Sander, Oliver authored
Previously, some code was in Dune::GFE, some was in Dune::, and a lot of it was in the global namespace.
-
- Jan 12, 2025
-
-
Sander, Oliver authored
I wrote them years ago mainly because I thought they should exist. But they were never actually used them for anything, and I don't really know were they could be used either. Supposedly they could be useful for implementing problems without a minimization formulation, but that's not currently planned, and I don't know what the precise requirements would be, either. Since the code is short and almost trivial, and easily resurrected, this commit removes the two files. For newcomers this will mean two less files to wonder about.
-
Sander, Oliver authored
-
- Jul 11, 2024
-
-
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.
-
- Jul 10, 2024
-
-
Sander, Oliver authored
-
- Jul 07, 2024
-
-
Sander, Oliver authored
I am not too happy about this method, because for the scalar finite element is an implementation detail. But for the time being I need this method for the upcoming LocalIntegralStiffness.
-
Sander, Oliver authored
It is used by the upcoming LocalIntegralStiffness.
-
- Jul 06, 2024
-
-
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.
-
- Jun 23, 2024
-
-
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.
-
Sander, Oliver authored
-
- Mar 26, 2024
-
-
- Mar 24, 2024
-
-
Sander, Oliver authored
-
- Jan 15, 2024
-
-
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.
-
- Jan 05, 2024
-
-
Sander, Oliver authored
-
- May 24, 2023
-
-
Sander, Oliver authored
-
- Apr 24, 2023
-
-
Sander, Oliver authored
The multiplication by operator* between a ScaledIdentityMatrix and a FieldMatrix only got introduced in Dune 2.9. Therefore, avoid it if we are building with earlier versions of Dune.
-
- Jan 07, 2023
-
-
- Jan 22, 2022
-
-
Lisa Julia Nebel authored
Move the polar decomposition to a separate file and add the algorithm by Higham and Noferini (from Robin Fraenzel) In the test for the Higham and Noferini algorithm, we see: Unfortunately, for matrices that are close to an orthogonal matrix, this algorithm is about 2x slower. One can benefit from the Higham and Noferini algorithm only if the matrix is quite far away from an orthogonal one.
-
Lisa Julia Nebel authored
Before, the calculation was terminated after exactly three iterations, now the stopping criterion is fulfilled if the change in the norm of the polar factor is small enough.
-
- Jun 10, 2021
-
-
Lisa Julia Nebel authored
-
- Jan 19, 2021
-
-
- Nov 20, 2020
-
-
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.
-
- Oct 07, 2019
-
-
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.
-
- Jan 15, 2018
-
-
Sander, Oliver authored
Previously, the actual projection happened by calling the constructor of one of the classes that implements points on a manifold. This patch introduces an new method projectOnto, which makes the projection more explicit.
-
Sander, Oliver authored
-
- Dec 21, 2017
-
-
Sander, Oliver authored
Makes it faster, but only by 1 or 2 percent.
-
Sander, Oliver authored
-
- Jan 17, 2016
-
-
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.
-
- Oct 16, 2015
-
-
Sander, Oliver authored
-
- Mar 15, 2015
-
-
Oliver Sander authored
[[Imported from SVN: r10076]]
-
- Mar 14, 2015
-
-
Oliver Sander authored
[[Imported from SVN: r10070]]
-
- Feb 12, 2015
-
-
Oliver Sander authored
[[Imported from SVN: r10069]]
-
- Sep 30, 2014
-
-
Oliver Sander authored
As of yet completely untested [[Imported from SVN: r9898]]
-
- Mar 24, 2014
-
-
Oliver Sander authored
[[Imported from SVN: r9682]]
-