Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
1864dab0
Commit
1864dab0
authored
4 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[box] Export element type in FV element geometry
parent
fc42f5de
No related branches found
No related tags found
2 merge requests
!2134
WIP Feature/timestepper test
,
!2132
Export element type in FV element geometry
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/discretization/box/fvelementgeometry.hh
+4
-2
4 additions, 2 deletions
dumux/discretization/box/fvelementgeometry.hh
with
4 additions
and
2 deletions
dumux/discretization/box/fvelementgeometry.hh
+
4
−
2
View file @
1864dab0
...
...
@@ -56,11 +56,12 @@ class BoxFVElementGeometry<GG, true>
static
constexpr
int
dimWorld
=
GridView
::
dimensionworld
;
using
GridIndexType
=
typename
IndexTraits
<
GridView
>::
GridIndex
;
using
LocalIndexType
=
typename
IndexTraits
<
GridView
>::
LocalIndex
;
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
using
CoordScalar
=
typename
GridView
::
ctype
;
using
FeLocalBasis
=
typename
GG
::
FeCache
::
FiniteElementType
::
Traits
::
LocalBasisType
;
using
ReferenceElements
=
typename
Dune
::
ReferenceElements
<
CoordScalar
,
dim
>
;
public:
//! export the element type
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
//! export type of subcontrol volume
using
SubControlVolume
=
typename
GG
::
SubControlVolume
;
//! export type of subcontrol volume face
...
...
@@ -171,7 +172,6 @@ class BoxFVElementGeometry<GG, false>
static
constexpr
int
dimWorld
=
GridView
::
dimensionworld
;
using
GridIndexType
=
typename
IndexTraits
<
GridView
>::
GridIndex
;
using
LocalIndexType
=
typename
IndexTraits
<
GridView
>::
LocalIndex
;
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
using
CoordScalar
=
typename
GridView
::
ctype
;
using
FeLocalBasis
=
typename
GG
::
FeCache
::
FiniteElementType
::
Traits
::
LocalBasisType
;
using
ReferenceElements
=
typename
Dune
::
ReferenceElements
<
CoordScalar
,
dim
>
;
...
...
@@ -180,6 +180,8 @@ class BoxFVElementGeometry<GG, false>
typename
GG
::
SubControlVolume
,
typename
GG
::
SubControlVolumeFace
>
;
public:
//! export the element type
using
Element
=
typename
GridView
::
template
Codim
<
0
>
::
Entity
;
//! export type of subcontrol volume
using
SubControlVolume
=
typename
GG
::
SubControlVolume
;
//! export type of subcontrol volume face
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment