Commit 76973d94 authored by Timo Koch's avatar Timo Koch
Browse files

[cellcentered] cleanup ccfvelementgeometry

Remove unused include and enums. Corrected enums to match cellcentered geometry.
The enums were still matched to the box method causing a memory overhead for the cellcentered.
Cellcentered methods should now need less allocated memory. Question remains if vector sizes 
in element geometry have to be variable (hanging nodes and low dimensional grids)

Reviewed by bernd
  


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14233 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 9b27f263
......@@ -27,7 +27,6 @@
#include <dune/common/version.hh>
#include <dune/geometry/referenceelements.hh>
#include <dune/grid/common/intersectioniterator.hh>
#include <dune/localfunctions/lagrange/pqkfactory.hh>
#include <dumux/common/propertysystem.hh>
......@@ -51,11 +50,9 @@ class CCFVElementGeometry
enum{dim = GridView::dimension};
enum{dimWorld = GridView::dimensionworld};
enum{maxNFAP = 2};
enum{maxNE = (dim < 3 ? 4 : 12)};
enum{maxNF = (dim < 3 ? 1 : 6)};
enum{maxCOS = (dim < 3 ? 2 : 4)};
enum{maxBF = (dim < 3 ? 8 : 24)};
enum{maxNFAP = 2}; //! maximum number of flux approximation points (two-point flux)
enum{maxNE = dim << 1}; //! maximum number of neighbours
enum{maxBF = dim << 1}; //! maximum number of boundary faces
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
typedef typename GridView::ctype CoordScalar;
typedef typename GridView::Traits::template Codim<0>::Entity Element;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment