Commits on Source (73)
-
lisa_julia.nebel_at_tu-dresden.de authored
Add missing include (grid/common/partitionset.hh) in feassembler.hh, as the FEAssembler uses Dune::Partitions::interiorBorder
-
lisa_julia.nebel_at_tu-dresden.de authored
Simplify the calculation in mooneyrivlindensity.hh: Do not calulate the eigenvalues of F^TF and replace it by a function of trace(F^TF)
-
Patrick Jaap authored
Simplify the calculation in mooneyrivlindensity.hh See merge request !45
-
Patrick Jaap authored
This improves the automatic differentiation a bit.
-
Patrick Jaap authored
-
Patrick Jaap authored
Make mooneyrivlindensity.hh beautiful again See merge request !47
-
Patrick Jaap authored
Mooney-Rivlin energy: parameter are always `double` See merge request !44
-
Patrick Jaap authored
-
lisa_julia.nebel_at_tu-dresden.de authored
Add wriggers-l-shape-dirichlet-values.py in dune-elasticity as well - we always took it from the module dune-gfe
-
lisa_julia.nebel_at_tu-dresden.de authored
-
lisa_julia.nebel_at_tu-dresden.de authored
-
Patrick Jaap authored
With a small hack in dune-parmg it is now possible to run parallel code in the TrustRegionSolver again. To to this, a preprocessor flag is defined.
-
Patrick Jaap authored
Trustregionsolver: re-enable parmg with powerBases See merge request !48
-
Patrick Jaap authored
Small suggestions See merge request !46
-
Patrick Jaap authored
-
Patrick Jaap authored
MooneyRivlinDensity: Correct comment See merge request !50
-
lisa_julia.nebel_at_tu-dresden.de authored
In the default setting, we want finite-strain-elasticity to compile with dune-parmg, and dune-parmg can only handle FE of order=1.
-
oliver.sander_at_tu-dresden.de authored
Johnny has left science. Thanks for all his work!
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
Currently the TrustRegionSolver class default-constructs a few bases objects of its own. That only works if the actual bases used for the simulation does not contain state, because the state doesn't make it into the new bases. Fix this by avoid the default constructor. There are remaining issues for the HAVE_DUNE_PARMG case, which I indent to ignore for now.
-
oliver.sander_at_tu-dresden.de authored
Fixes towards allowing stateful bases in TrustRegionSolver See merge request !52
-
oliver.sander_at_tu-dresden.de authored
Set the FE-order in finite-strain-elasticity back to: order = 1 See merge request !51
-
oliver.sander_at_tu-dresden.de authored
I has virtual methods, and therefore also needs a virtual destructor.
-
oliver.sander_at_tu-dresden.de authored
The setup was needlessly complicated. I think that's because it predates the time where std::shared_ptr could be used.
-
oliver.sander_at_tu-dresden.de authored
Simplify setup of the transfer operators See merge request !53
-
lisa_julia.nebel_at_tu-dresden.de authored
-
lisa_julia.nebel_at_tu-dresden.de authored
Corrected the formula in the code before; now this also matches the value we publish in the paper.
-
Patrick Jaap authored
Correct mistake in mooneyrivlindensity See merge request !54
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
Stop using deprecated class PythonFunction See merge request !55
-
oliver.sander_at_tu-dresden.de authored
Because that is what it is: It implements the identity deformation for three-dimensional continua. The name 'wriggers-l-shape' refers to a simulation that appeared in O. Sander, P. Neff, and M. Bîrsan: Numerical Treatment of a Geometrically Nonlinear Planar Cosserat Shell Model, (2016) It belongs to the dune-gfe module, and only got into dune-elasticity by accident.
-
oliver.sander_at_tu-dresden.de authored
Rename problem file 'wriggers-l-shape' to 'identity-deformation' See merge request !56
-
oliver.sander_at_tu-dresden.de authored
... rather than a copy. This allows to assemble with bases that are not copyable, as for example the RaviartThomasBasis See https://gitlab.dune-project.org/staging/dune-functions/-/issues/58
-
oliver.sander_at_tu-dresden.de authored
Make FEAssembler store a const reference of the basis See merge request !57
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
There already was code that printed a warning when the trust-region radius dropped below the required solver tolerance. (If that happens, the solver terminates, because the small trust-region forces the correction to be smaller than the required tolerance. However, the code didn't warn the user about this, and such cases almost looked like successful runs.) Unfortunately, the warning code didn't work, because the standard solver termination criterion stopped the TR iteration before reaching the check for the trust-region size.
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
Some small modernizations See merge request !59
-
oliver.sander_at_tu-dresden.de authored
Even for the master branch I'd like to know that this kinda works against the 2.7 release, because that is what people using packages have.
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
Because in this particular combination, no cmake Python test is ever called, and therefore Python is not available.
-
oliver.sander_at_tu-dresden.de authored
[CI] Also test against Dune 2.7 See merge request !60
-
Patrick Jaap authored
-
Patrick Jaap authored
-
Patrick Jaap authored
-
oliver.sander_at_tu-dresden.de authored
Fix build and execution of finite-strain-elasticity See merge request !61
-
Patrick Jaap authored
This basically reverts f10d311d
-
oliver.sander_at_tu-dresden.de authored
Cmake: Look for PYTHONLIBS and for Python3 See merge request !62
-
Patrick Jaap authored
It depends on Amiramesh which is dropped in dune-grid since 2.8
-
Patrick Jaap authored
-
oliver.sander_at_tu-dresden.de authored
-
lisa_julia.nebel_at_tu-dresden.de authored
-
lisa_julia.nebel_at_tu-dresden.de authored
-
lisa_julia.nebel_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
Replace DUNE_DEPRECATED by [[deprecated]] See merge request !65
-
Patrick Jaap authored
Square the determinant in the Ciarlet variant
-
Patrick Jaap authored
Fix in mooneyrivlindensity See merge request !67
-
Patrick Jaap authored
-
Patrick Jaap authored
-
Patrick Jaap authored
Improve hyperdual class See merge request !68
-
Patrick Jaap authored
In Ciarlet the last factor is left unspecified. I could not follow the choice used in this implementation. I guess it was intended to minimize the energy under a hydrostatic stress F = t*I at the unit matrix, i.e., for t=1. A simple calculation shows that (independent on the dimension) d = 2a + 4b + 2c has to hold in this case. Values in the test were adjusted.
-
Patrick Jaap authored
-
Patrick Jaap authored
Fix in Mooney-Rivlin density: Use proper 4th term for Ciarlet See merge request !69
-
Patrick Jaap authored
Following the doc at https://github.com/coin-or/ADOL-C/blob/master/ADOL-C/doc/adolc-manual.pdf this enforces writing the tapes to disk and has nothing to do with the actual taping. From the doc: "By setting the optional integer argument file of trace off to 1, the user may force a numbered tape file to be written even if the tape array (buffer) does not overflow. If the argument file is omitted, it defaults to 0, so that the tape array is written onto a tape file only if the length of any of the buffers exceeds [OLVT]BUFSIZE elements."
-
oliver.sander_at_tu-dresden.de authored
ADOL-C: do not put the rank into trace_off() See merge request !70
-
Patrick Jaap authored
Rename deprecated getCollectiveCommunication() See merge request !73
-
Patrick Jaap authored
Some regularizing algorithms based on exceptions filter the exceptions by type to detect math errors such as ill-formed systems or inputs.
-
Patrick Jaap authored
Otherwise the type of the exception gets lost.
-
Patrick Jaap authored
Some improvements on exception handling See merge request !74
-
Patrick Jaap authored
-
Patrick Jaap authored
This adds a method to compute only the gradient. On the pro side it saves a lot of time if only the gradient is needed (for first order methods). On the con side it introduces some duplicated code (but only for hyberdual numbers). A test case is added.
-
oliver.sander_at_tu-dresden.de authored
Add assembleGradient() method to FE assemblers See merge request !72
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- .gitlab-ci.yml 18 additions, 0 deletions.gitlab-ci.yml
- CHANGELOG.md 10 additions, 1 deletionCHANGELOG.md
- CMakeLists.txt 2 additions, 2 deletionsCMakeLists.txt
- dune.module 2 additions, 2 deletionsdune.module
- dune/elasticity/assemblers/feassembler.hh 54 additions, 6 deletionsdune/elasticity/assemblers/feassembler.hh
- dune/elasticity/assemblers/localadolcstiffness.hh 47 additions, 17 deletionsdune/elasticity/assemblers/localadolcstiffness.hh
- dune/elasticity/assemblers/localfestiffness.hh 9 additions, 2 deletionsdune/elasticity/assemblers/localfestiffness.hh
- dune/elasticity/assemblers/localhyperdualstiffness.hh 55 additions, 15 deletionsdune/elasticity/assemblers/localhyperdualstiffness.hh
- dune/elasticity/common/hyperdual.hh 124 additions, 100 deletionsdune/elasticity/common/hyperdual.hh
- dune/elasticity/common/trustregionsolver.cc 14 additions, 23 deletionsdune/elasticity/common/trustregionsolver.cc
- dune/elasticity/common/trustregionsolver.hh 6 additions, 8 deletionsdune/elasticity/common/trustregionsolver.hh
- dune/elasticity/materials/exphenckydensity.hh 1 addition, 1 deletiondune/elasticity/materials/exphenckydensity.hh
- dune/elasticity/materials/exphenckyenergy.hh 1 addition, 1 deletiondune/elasticity/materials/exphenckyenergy.hh
- dune/elasticity/materials/henckyenergy.hh 1 addition, 1 deletiondune/elasticity/materials/henckyenergy.hh
- dune/elasticity/materials/localintegralenergy.hh 22 additions, 10 deletionsdune/elasticity/materials/localintegralenergy.hh
- dune/elasticity/materials/mooneyrivlindensity.hh 78 additions, 57 deletionsdune/elasticity/materials/mooneyrivlindensity.hh
- dune/elasticity/materials/mooneyrivlinenergy.hh 1 addition, 1 deletiondune/elasticity/materials/mooneyrivlinenergy.hh
- dune/elasticity/materials/neohookedensity.hh 1 addition, 1 deletiondune/elasticity/materials/neohookedensity.hh
- dune/elasticity/materials/neohookeenergy.hh 1 addition, 1 deletiondune/elasticity/materials/neohookeenergy.hh