dumux merge requestshttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests2020-11-02T11:15:25Zhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2319Feature/io format output2020-11-02T11:15:25ZTimo Kochtimokoch@math.uio.noFeature/io format outputDepends on !2317 to be merged.
Fixes #916.Depends on !2317 to be merged.
Fixes #916.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2318[examples] add python3 catch for examples doc script2020-10-29T14:37:38ZSimon Emmert[examples] add python3 catch for examples doc scriptThis adds an additional catch to use the script for the documentation of examples with python3.
I am not entirely sure if we really need this as the shebang is already there. So if users/developers use the script correctly, the catch i...This adds an additional catch to use the script for the documentation of examples with python3.
I am not entirely sure if we really need this as the shebang is already there. So if users/developers use the script correctly, the catch is not needed. However, if as in #952 the script is used with python directly, the python generated error-message is not really helpful.
Let's discuss this, before we merge!
So this MR is here in case we think this is catch is of any help.
fixes #9523.3Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2317Feature/fmt2020-10-29T19:58:58ZTimo Kochtimokoch@math.uio.noFeature/fmtAdds the core part of the [fmt library](https://github.com/fmtlib/fmt/) version 7.1.0.
This enables Python style string formatting.
`fmt::format` implements `std::format` which will be available in the C++20 standard library.
https://fm...Adds the core part of the [fmt library](https://github.com/fmtlib/fmt/) version 7.1.0.
This enables Python style string formatting.
`fmt::format` implements `std::format` which will be available in the C++20 standard library.
https://fmt.dev/latest/index.html
https://en.cppreference.com/w/cpp/utility/format3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2311[newtonsolver] Use linearSolver.norm() if available2023-02-19T15:51:05ZTimo Kochtimokoch@math.uio.no[newtonsolver] Use linearSolver.norm() if availableIf a linear solver provides the ability to compute a norm use that interface, otherwise fallback to the assembler interface.If a linear solver provides the ability to compute a norm use that interface, otherwise fallback to the assembler interface.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2310Feature/solver cleanup2023-02-19T15:51:05ZTimo Kochtimokoch@math.uio.noFeature/solver cleanupVarious improvements to solver/parallel backend extracted from !2113Various improvements to solver/parallel backend extracted from !21133.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2300Feature/constantspatialparams1p2020-10-26T13:48:21ZTimo Kochtimokoch@math.uio.noFeature/constantspatialparams1pI have found myself implementing this class quite often, or at least copying it from somewhere, so I thought we could actually add it as a default spatial params for 1p models.
The same could be actually done for 2p models with the new ...I have found myself implementing this class quite often, or at least copying it from somewhere, so I thought we could actually add it as a default spatial params for 1p models.
The same could be actually done for 2p models with the new interface of !1607 where all parameters are read from the input file.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2294WIP: Add Trilinos solvers2023-12-13T10:52:19ZBernd FlemischWIP: Add Trilinos solversAdd an optional dependency to Trilinos, https://github.com/trilinos/trilinos. Implement a linear solver backend that uses a solver from there.Add an optional dependency to Trilinos, https://github.com/trilinos/trilinos. Implement a linear solver backend that uses a solver from there.https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2288Feature/1d3d coupling manager improvements2020-10-27T11:57:54ZTimo Kochtimokoch@math.uio.noFeature/1d3d coupling manager improvementsImprovements to 1d3d coupling managers. Implements the changes of !2190 in sensible smaller steps. These changes are improvements that resulted from the 1d3d embedded scheme comparisons included in https://doi.org/10.1016/j.jcp.2020.1093...Improvements to 1d3d coupling managers. Implements the changes of !2190 in sensible smaller steps. These changes are improvements that resulted from the 1d3d embedded scheme comparisons included in https://doi.org/10.1016/j.jcp.2020.109370.
The kernel coupling manager (which was not very good) has been replaced with the coupling manager from the paper.
Depends on !2287 to be merged. Will be easier to review once this other MR is merged.
Depends on !2307 to be merged.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2287Feature/extensible tags2020-10-20T17:13:28ZTimo Kochtimokoch@math.uio.noFeature/extensible tagsAdds tags a helper struct to define tags that can be compared and printed/converted to stringstreams.
* adds `common/tag.hh`
* adds unit test `test_tag`
The need for this comes from the 1d3d coupling managers.
The enums provide a con...Adds tags a helper struct to define tags that can be compared and printed/converted to stringstreams.
* adds `common/tag.hh`
* adds unit test `test_tag`
The need for this comes from the 1d3d coupling managers.
The enums provide a convenient way to select the type of 1d3d coupling mode.
However they are not extensible. Adding a new mode requires changing Dumux core code.
With the new comparable and named tags, we have the same features but in
an extensible way. Every coupling manager implementation can define their own
(unique) tag and specialise the common class with this tag. The coupling mode
can be queried as before, and it is still easy to write code that works
with several coupling modes.
The two other commits use tags in the 1d3d coupling manager + restructuring which now makes sense
since the implementation are more independent. The test are adapted to remove deprecation warning.
Embedded multidomain tests have been checked to pass after all commits.
Related to !2190.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2285Feature/new gridvars concept2021-04-29T07:00:08ZDennis GläserFeature/new gridvars concept**What this MR does / why does DuMux need it**:
Introduces a new grid variables concept, where the grid variables represent the entire state of a current solution. That is, they define both primary & secondary variables and, once implem...**What this MR does / why does DuMux need it**:
Introduces a new grid variables concept, where the grid variables represent the entire state of a current solution. That is, they define both primary & secondary variables and, once implemented in the future, the time level on which the solution is defined.
Mentions #9403.4Dennis GläserDennis Gläserhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2276WIP: [test][1p] Add 3d convergence test2023-12-13T10:52:17ZTimo Kochtimokoch@math.uio.noWIP: [test][1p] Add 3d convergence testAdds a 2d test on a sphere tet grid (`sphere.msh`). I also committed a `sphere_quad.msh` grid which has some nasty distorted quad elements.
Unfortunately I currently get for both grids:
```
Dune::InvalidStateException [decompose:/Users...Adds a 2d test on a sphere tet grid (`sphere.msh`). I also committed a `sphere_quad.msh` grid which has some nasty distorted quad elements.
Unfortunately I currently get for both grids:
```
Dune::InvalidStateException [decompose:/Users/pumbaa/dune-master/dumux/dumux/discretization/cellcentered/wmpfa/facedatahandle.hh:101]: CoNormal decomposition not found
```
although the tet version of the grid looks fairly nice.
I wanted to use this test to check if it works in 3D.
For now it's only Dirichlet but it should be relatively easy to try Neumann boundaries.Martin SchneiderMartin Schneiderhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2270Feature/enumerate2020-10-01T14:38:12ZTimo Kochtimokoch@math.uio.noFeature/enumeratePython style `enumerate` function for enumerating ranges.Python style `enumerate` function for enumerating ranges.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2269Feature/linspace open interval2020-10-01T14:15:00ZTimo Kochtimokoch@math.uio.noFeature/linspace open interval3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2267[feature][common] verbose setter in timeloop2020-09-30T17:10:20ZSamuel Scherrer[feature][common] verbose setter in timeloopimplements #937implements #9373.3Timo Kochtimokoch@math.uio.noTimo Kochtimokoch@math.uio.nohttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2263cleanup/replace-std::pow(scalar, int)2020-11-16T10:02:03ZTim Jupecleanup/replace-std::pow(scalar, int)Closes #880Closes #8803.3Tim JupeTim Jupehttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2262Feature/examples liddrivencavity2020-11-05T15:36:55ZHanchuan WuFeature/examples liddrivencavityTransfer lid-driven cavity test to an example
Fixes #837Transfer lid-driven cavity test to an example
Fixes #8373.3Dennis GläserDennis Gläserhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2259Feature/tpfa facet gravity on surface grids2020-09-30T15:57:06ZDennis GläserFeature/tpfa facet gravity on surface gridsThis merge request introduces support for gravity on surface grids in the context of facet coupling models using TPFA discretization.This merge request introduces support for gravity on surface grids in the context of facet coupling models using TPFA discretization.3.3Kilian WeishauptKilian Weishaupthttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2253[WIP] Feature/nonlinear schemes2023-07-20T13:17:36ZTimo Kochtimokoch@math.uio.no[WIP] Feature/nonlinear schemeshttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2252Rewrite Install external with Python2021-05-19T11:06:19ZFelix WeinhardtRewrite Install external with Python
Fixes #866
Fixes #8663.4Hanchuan WuHanchuan Wuhttps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/2250[common] Add inverse of monotone cubic spline2020-09-25T12:27:15ZTimo Kochtimokoch@math.uio.no[common] Add inverse of monotone cubic splineImplements the inverse of a monotone spline. No checks are performed if the spline is strictly increasing or decreasing.
The inverse is tested in the dedicated unit test by chaining it into a unity function.Implements the inverse of a monotone spline. No checks are performed if the spline is strictly increasing or decreasing.
The inverse is tested in the dedicated unit test by chaining it into a unity function.3.3Kilian WeishauptKilian Weishaupt