- 23 Nov, 2016 40 commits
-
-
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.
-
-
-
-
-
-
-
-
the flux var cache vector is now set specifically for box and cc methods
-
-
-
-
-
this method is now specialized by the boxlocaljacobian and the cclocaljacobian
-
-
-
-
-
the boundary treatment is now performed after all the interior fluxes have been calculated. This corresponds more to the previous implementation and is assumend to be more correct for mixed BCs.
-
-
-
-
-
This class has not been used since many commits ago. It was time to delete it.
-
The flux var cache is now specialized for the box and cc methods and furthermore permits the binding of an element prior to flux calculations in order to recycle data later in the flux calculations when the global caching is disabled.
-
-
-
-
the local jacobian now also gets the global residual passed as argument for the assemble routine and stores the values in it.
-
-
-
-
This commit introduces two things: 1. Renaming of the enableCache properties to enableGlobalCache. The cache classes will also be used to store temporary data in case the caching is disabled. Thus the properties should indicate that they switch on a GLOBAL caching. The commit further changes the corresponding properties set in the defaults. 2. The volume variables vector is now specialized for the box and cc methods. This commit thus also introduces the moving of the volvarvector file into the cc folder and renaming of the class
-
-
-