[stencil] Improve flux stencils
Fix the flux stencil for every method independent of the stencils used in the different flux laws. The matrix entries have to be reserved for all possible occuring stencils if the method has parameter or solution dependent stencils, otherwise the matrix needs to be rebuild every time. This implements this unified flux stencil for box, cc, ccmpfa. Remove a lot of duplicate code. Separate the physical laws from the dicretization stencil.
Showing
- dumux/discretization/box/darcyslaw.hh 0 additions, 9 deletionsdumux/discretization/box/darcyslaw.hh
- dumux/discretization/box/fickslaw.hh 0 additions, 8 deletionsdumux/discretization/box/fickslaw.hh
- dumux/discretization/box/fourierslaw.hh 0 additions, 8 deletionsdumux/discretization/box/fourierslaw.hh
- dumux/discretization/cellcentered/mpfa/darcyslaw.hh 0 additions, 14 deletionsdumux/discretization/cellcentered/mpfa/darcyslaw.hh
- dumux/discretization/cellcentered/mpfa/fickslaw.hh 0 additions, 15 deletionsdumux/discretization/cellcentered/mpfa/fickslaw.hh
- dumux/discretization/cellcentered/mpfa/fourierslaw.hh 0 additions, 15 deletionsdumux/discretization/cellcentered/mpfa/fourierslaw.hh
- dumux/discretization/cellcentered/tpfa/darcyslaw.hh 0 additions, 19 deletionsdumux/discretization/cellcentered/tpfa/darcyslaw.hh
- dumux/discretization/cellcentered/tpfa/fickslaw.hh 0 additions, 12 deletionsdumux/discretization/cellcentered/tpfa/fickslaw.hh
- dumux/discretization/cellcentered/tpfa/fourierslaw.hh 0 additions, 12 deletionsdumux/discretization/cellcentered/tpfa/fourierslaw.hh
- dumux/discretization/fluxstencil.hh 133 additions, 0 deletionsdumux/discretization/fluxstencil.hh
- dumux/discretization/fluxvariablesbase.hh 23 additions, 16 deletionsdumux/discretization/fluxvariablesbase.hh
- dumux/porousmediumflow/implicit/fluxvariables.hh 0 additions, 80 deletionsdumux/porousmediumflow/implicit/fluxvariables.hh
Loading
Please register or sign in to comment