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
9d2f3c46
Commit
9d2f3c46
authored
9 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[scvf] Add global index of the scvf to itself
parent
368917ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!617
[WIP] Next
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/implicit/subcontrolvolumeface.hh
+9
-0
9 additions, 0 deletions
dumux/implicit/subcontrolvolumeface.hh
with
9 additions
and
0 deletions
dumux/implicit/subcontrolvolumeface.hh
+
9
−
0
View file @
9d2f3c46
...
@@ -44,11 +44,13 @@ class SubControlVolumeFace
...
@@ -44,11 +44,13 @@ class SubControlVolumeFace
public
:
public
:
SubControlVolumeFace
(
const
Geometry
&
geometry
,
SubControlVolumeFace
(
const
Geometry
&
geometry
,
const
GlobalPosition
&
unitOuterNormal
,
const
GlobalPosition
&
unitOuterNormal
,
IndexType
scvfIndex
,
const
std
::
vector
<
IndexType
>&
scvIndices
,
const
std
::
vector
<
IndexType
>&
scvIndices
,
const
std
::
vector
<
IndexType
>&
volVarsIndices
,
const
std
::
vector
<
IndexType
>&
volVarsIndices
,
bool
boundary
=
false
)
bool
boundary
=
false
)
:
geometry_
(
geometry
),
:
geometry_
(
geometry
),
unitOuterNormal_
(
unitOuterNormal
),
unitOuterNormal_
(
unitOuterNormal
),
scvfIndex_
(
scvfIndex
),
scvIndices_
(
scvIndices
),
scvIndices_
(
scvIndices
),
volVarsIndices_
(
volVarsIndices
),
volVarsIndices_
(
volVarsIndices
),
boundary_
(
boundary
)
{}
boundary_
(
boundary
)
{}
...
@@ -108,9 +110,16 @@ public:
...
@@ -108,9 +110,16 @@ public:
return
volVarsIndices_
[
1
];
return
volVarsIndices_
[
1
];
}
}
//! The global index of this sub control volume face
IndexType
index
()
const
{
return
scvfIndex_
;
}
private
:
private
:
Geometry
geometry_
;
Geometry
geometry_
;
GlobalPosition
unitOuterNormal_
;
GlobalPosition
unitOuterNormal_
;
IndexType
scvfIndex_
;
std
::
vector
<
IndexType
>
scvIndices_
,
volVarsIndices_
;
std
::
vector
<
IndexType
>
scvIndices_
,
volVarsIndices_
;
bool
boundary_
;
bool
boundary_
;
};
};
...
...
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