Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
6c31c5c0
Commit
6c31c5c0
authored
May 11, 2021
by
Christoph Grüninger
Committed by
hanchuan
May 12, 2021
Browse files
GeometryTypes::cube instead of CubeTopology
The latter is deprecated in dune-geometry 2.8-git
parent
4b4423e1
Changes
4
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/box/subcontrolvolume.hh
View file @
6c31c5c0
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#ifndef DUMUX_DISCRETIZATION_BOX_SUBCONTROLVOLUME_HH
#ifndef DUMUX_DISCRETIZATION_BOX_SUBCONTROLVOLUME_HH
#define DUMUX_DISCRETIZATION_BOX_SUBCONTROLVOLUME_HH
#define DUMUX_DISCRETIZATION_BOX_SUBCONTROLVOLUME_HH
#include <dune/geometry/type.hh>
#include <dune/geometry/multilineargeometry.hh>
#include <dune/geometry/multilineargeometry.hh>
#include <dumux/common/math.hh>
#include <dumux/common/math.hh>
...
@@ -63,7 +64,7 @@ struct BoxDefaultScvGeometryTraits
...
@@ -63,7 +64,7 @@ struct BoxDefaultScvGeometryTraits
struct
hasSingleGeometryType
struct
hasSingleGeometryType
{
{
static
const
bool
v
=
true
;
static
const
bool
v
=
true
;
static
const
unsigned
int
topologyId
=
Dune
::
Impl
::
C
ube
Topology
<
mydim
>::
type
::
id
;
static
const
unsigned
int
topologyId
=
Dune
::
GeometryTypes
::
c
ube
(
mydim
).
id
()
;
};
};
};
};
...
...
dumux/discretization/box/subcontrolvolumeface.hh
View file @
6c31c5c0
...
@@ -66,7 +66,7 @@ struct BoxDefaultScvfGeometryTraits
...
@@ -66,7 +66,7 @@ struct BoxDefaultScvfGeometryTraits
struct
hasSingleGeometryType
struct
hasSingleGeometryType
{
{
static
const
bool
v
=
true
;
static
const
bool
v
=
true
;
static
const
unsigned
int
topologyId
=
Dune
::
Impl
::
C
ube
Topology
<
mydim
>::
type
::
id
;
static
const
unsigned
int
topologyId
=
Dune
::
GeometryTypes
::
c
ube
(
mydim
).
id
()
;
};
};
};
};
...
...
dumux/discretization/cellcentered/mpfa/omethod/scvgeometryhelper.hh
View file @
6c31c5c0
...
@@ -60,7 +60,7 @@ class CCMpfaOScvGeometryHelper
...
@@ -60,7 +60,7 @@ class CCMpfaOScvGeometryHelper
struct
hasSingleGeometryType
struct
hasSingleGeometryType
{
{
static
const
bool
v
=
true
;
static
const
bool
v
=
true
;
static
const
unsigned
int
topologyId
=
Dune
::
Impl
::
CubeTopology
<
d
>::
t
ype
::
id
;
static
const
unsigned
int
topologyId
=
Dune
::
GeometryT
ype
s
::
cube
(
d
).
id
()
;
};
};
};
};
...
...
dumux/discretization/cellcentered/mpfa/subcontrolvolumeface.hh
View file @
6c31c5c0
...
@@ -74,7 +74,7 @@ struct CCMpfaDefaultScvfGeometryTraits
...
@@ -74,7 +74,7 @@ struct CCMpfaDefaultScvfGeometryTraits
struct
hasSingleGeometryType
struct
hasSingleGeometryType
{
{
static
const
bool
v
=
true
;
static
const
bool
v
=
true
;
static
const
unsigned
int
topologyId
=
Dune
::
Impl
::
C
ube
Topology
<
dim
>::
type
::
id
;
static
const
unsigned
int
topologyId
=
Dune
::
GeometryTypes
::
c
ube
(
dim
).
id
()
;
};
};
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment