- 23 Nov, 2016 40 commits
-
-
Timo Koch authored
-
(cherry picked from commit 31638023)
-
The DiscretizationMethods property is substituted by an enum listing all the available methods. Using aliases to simplify specializations of the method-specific classes. (cherry picked from commit bf2d9555d79e428bc476bd7cab38d46d3547334e)
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
* Use static arrays and resize vectors before usage * Make scv/scvf default constructible * Remove unused elementMap * Remark: Geomtryhelper only implemented for 2d for now!
-
Timo Koch authored
-
(cherry picked from commit 15bad2611e0464a27117a5b6b4ef4650ce268270)
-
(cherry picked from commit 49713ed21e362b49bebb84b06a3d0836941545ec)
-
(cherry picked from commit 2488f9a7e3b04aba1262eeef73081eb4df616ccf)
-
The scv and scvf base classes now get the actual implementation as a template parameter and serve as an interface for scv and scvf implementations. Furthermore, the box scv and scvf does not store a geometry anymore, but only the corner points. The geometry is built on the fly if requested. The BoxGeometryHelper is adjusted to this new concept, as well as the global and element-fvgeometry. (cherry picked from commit 8b55b5d6db4414e57072ed05b8903a5ec49b0ee5)
-
The local objects should not be getting a non const reference to the corresponding global objects. This way we can get rid of the list of friend classes in the model needing access to the non const containers. The local jacobian needs to be friend of the global cache containers and the model, as it does need to change vol vars during the calculation of the derivatives. Depending on the global cache being enabled or not, the corresponding reference to the vol var object is now obtained in a new specialized method. (cherry picked from commit 8482b8c9efac0022dd38acbc05424870d4ad27f4)
-
The neighbor boundary faces will not be needed during the calculation of the derivatives and thus do not have to be built here (cherry picked from commit d51a69296929eb8998eb8913e76022c1a4b39758)
-
(cherry picked from commit ec1ad38506097675f8768fcd873423ab1604f397)
-
(cherry picked from commit 10f87a8061bc34538738955721ccea37e3818601)
-
the triple product will be used in mpfa methods to determine whether or not three connection vectors form a right hand basis inside a sub control volume (cherry picked from commit 719d59dadb2cbfead3a11a61c733296acc502bbb)
-
The subcontrol volume class is identical for the different cellcentered methods. This commit renames the CCTpfaSubcontolVolume to a CCSubcontrolVolume and moves the header to the corresponding location. The property defaults are changed accordingly. (cherry picked from commit 9efa3543196f0753d0b2a8aa1a005bf86055658d)
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
There are a restriction of the global vector obtained by a localView call and then bound to an element.
-
Timo Koch authored
The global object can create an empty temporary local object that can be bound to an element/stencil. This is closer to the current dumux-stable implementation and still allows to switch between global caching (for smaller problems where memory is not an issue) and local caching (variables are precomputed for each element assemble temporarily) Works for cc and box (in 2d). Box needs some performance improvement, probably when creating the box geometries. But also other parts might be possbile to optimize.
-
Timo Koch authored
We iterate over all scvs of a fvElementGeometry like this for (const auto& scv : scvs(fvGeometry)) This is closer to the way we speak "For each scv in all scvs of the fvElementGeometry do..." and analogously to how we iterate over elements of a gridView.
-
-
A new folder named discretization is introduced on the /dumux level. In this folder there are all the geometry classes as well as vol vars, flux var cache and physical laws (darcy, fick etc), since they could be possibly reused in decoupled models and are not restricted to implicit models. NOTE: The fluxvariables and the flux variables cache are still in the folder /porousmediumflow/implicit/. It is to be discussed whether or not they should be moved into the discretization folder as well.
-
-
-
-
-
-
-