- Jan 06, 2025
-
-
Sander, Oliver authored
Rather than just on the type for points in the domain. The point type is not enough: For example, if the density involves a coefficient function given as a GridView function, then the density has to be able to bind the local coefficient function to the correct element, for which it has to know the element type. Integration domains can be elements (i.e., Codim<0>::Entity) or Intersections. The actual bind method will follow in a separate commit.
-
- Jan 04, 2025
-
-
Sander, Oliver authored
Currently, densities only get the type used for coordinates of the integration domain. However, this is not enough: The complete domain must be known, and this domain can be either a grid element or a grid intersection. As a first small step, this patch introduces ElementOrIntersection as a template parameter of the CosseratShellDensity class.
-
Sander, Oliver authored
This is one step towards turning SurfaceCosseratEnergy into a generic SurfaceIntegralEnergy class.
-
- Nov 23, 2024
-
-
Praetorius, Simon authored
-
- Nov 18, 2024
-
-
Sander, Oliver authored
The compute-disc-error program reads this to compute discretization errors. Doing the data transfer via VTK files would be more convenient, but that involves a resampling which I'd rather like to avoid.
-
- Nov 15, 2024
-
-
Sander, Oliver authored
Previously, the writer requested an FE basis to represent the director vectors. With the help of ComposedGridViewFunction this patch allows to avoid this extra basis, which makes for a much nicer interface for CosseratVTKWriter.
-
Sander, Oliver authored
-
- Nov 12, 2024
-
-
Sander, Oliver authored
It is only used by `film-on-substrate.cc` which many people do no use.
-
- Nov 06, 2024
-
-
Sander, Oliver authored
The NonplanarCosseratShellEnergy class contains a reimplementation of the energy density of CosseratShellDensity. The code is much easier to understand and maintain if the density implementation of CosseratShellDensity is used instead.
-
Sander, Oliver authored
-
- Nov 05, 2024
-
-
Sander, Oliver authored
For some reason there were two code paths for the creation of the solver object: One for dim==dimworld, and one for dim!=dimworld. These shouldn't really differ, though, and indeed they didn't as far as I can tell. Theremore, merge the two code paths.
-
Sander, Oliver authored
That is one step towards splitting off the energy density into a separate class. Also, it helps to unify the code paths for the different grid dimensions in cosserat-continuum.cc
-
Sander, Oliver authored
And use it in the dim==dimworld part of cosserat-continuum.cc.
-
Sander, Oliver authored
In the code that takes the initial iterate from a while, a call to 'interpolate' was out-commented, because interpolating an 'EmbeddedGlobalGFEFunction' was not possible back in the days. That has changed so, and 'interpolate' can now be called. I still doubt that the code ever worked or works now. How could it ever be tested? '# geändert: src/cosserat-continuum.cc
-
- Oct 28, 2024
-
-
Sander, Oliver authored
This should simplify the code, but it doesn't: Computing the displacement still needs a lot of code lines.
-
Sander, Oliver authored
Just like in cosserat-continuum.cc, there is now a Python class that implements the initial iterate and the Dirichlet boundary values at the same time.
-
Sander, Oliver authored
This reflects better what the file does.
-
Sander, Oliver authored
Rather than hardcoding a straight reference configuration
-
Sander, Oliver authored
This is more flexible, and more consistent with what cosserat-continuum.cc does.
-
Sander, Oliver authored
That is simply more flexible than the old parametertree format.
-
Sander, Oliver authored
-
Sander, Oliver authored
It is required by dune-fufem anyway.
-
Sander, Oliver authored
In particular, there is a directory dune/elasticy/densities now.
-
- Sep 07, 2024
-
-
Sander, Oliver authored
Instead, use LocalIntegralEnergy and the newly introduced densities for bulk models or planar shell models. While doing so, give an error message when non-trivial volume loads are requested. I have no example file that actually uses them at the moment, and just by looking at the code I find it hard to believe that they actually worked. Getting them to work will mean having introduce a density for volume loads, which don't want to do until I need them. Since this is the last use of the CosseratEnergyLocalStiffness class, this patch remove the entire class as well.
-
- Aug 30, 2024
-
-
Sander, Oliver authored
That way, we can also set the initial microrotation -- previously it was hard-wired to the identity matrix. Being able to explicitly choose the initial microrotation allows to start, in particular, from a twisted strip.
-
- Aug 22, 2024
-
-
Sander, Oliver authored
-
Sander, Oliver authored
Previously, the method basically hand-implemented a writer for VTK files. Using dune-vtk instead leads to much shorter and simpler code, and gives us access to all the dune-vtk niceties, like binary files and high-order grid cells.
-
- Aug 21, 2024
-
-
Sander, Oliver authored
Rather than the grid itself. Because the grid view is all that a writer needs to know about.
-
Sander, Oliver authored
-
Sander, Oliver authored
-
- Aug 12, 2024
-
-
Sander, Oliver authored
That way, a single Python file is enough to describe the entire boundary value problem.
-
Sander, Oliver authored
Rather than as our homegrown .parset. That way, after more changes this will allow to have the entire problem description in a single file, including the boundary data.
-
Sander, Oliver authored
-
- Jul 06, 2024
-
-
Sander, Oliver authored
-
- May 01, 2024
-
-
Sander, Oliver authored
They were expected to be the factors of a ProductManifold which is also a template parameter. Expecting the product and the factors is redundant. We simply extract the factors from the product now.
-
- Apr 30, 2024
-
-
Sander, Oliver authored
Previously, it expected two factor spaces, as separate template parameters. Taking a single ProductManifold type is more consistent with GeodesicFEAssembler, and it allows to eventually generalize the code to more factors, if desired.
-
Sander, Oliver authored
... but disallow a plain pointer. This increases consistency with the GeodesicFEAssembler class.
-
- Apr 20, 2024
-
-
Sander, Oliver authored
dune-elasticity also has densities, but they implement a slightly different interface. Instead of having special code for such densities in the LocalIntegralAssembler, add a wrapper that makes densities from dune-elasticity look like dune-gfe densities.
-
- Mar 25, 2024
-
-
Sander, Oliver authored
-
- Mar 24, 2024
-
-
Sander, Oliver authored
There is no need to wrap the std::function that stores the Neumann force density into a std::shared_ptr.
-