Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-alugrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-alugrid
Commits
d096ba88
Commit
d096ba88
authored
6 years ago
by
Bernd Flemisch
Browse files
Options
Downloads
Patches
Plain Diff
[gridfactory] provide a comm() method
parent
9b9860fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/alugrid/3d/gridfactory.hh
+7
-0
7 additions, 0 deletions
dune/alugrid/3d/gridfactory.hh
with
7 additions
and
0 deletions
dune/alugrid/3d/gridfactory.hh
+
7
−
0
View file @
d096ba88
...
@@ -65,6 +65,8 @@ namespace Dune
...
@@ -65,6 +65,8 @@ namespace Dune
//! type of matrix from world coordinates to world coordinates
//! type of matrix from world coordinates to world coordinates
typedef
typename
Transformation
::
WorldMatrix
WorldMatrix
;
typedef
typename
Transformation
::
WorldMatrix
WorldMatrix
;
typedef
typename
Grid
::
CollectiveCommunication
Communication
;
private
:
private
:
static_assert
(
(
elementType
==
tetra
||
elementType
==
hexa
),
static_assert
(
(
elementType
==
tetra
||
elementType
==
hexa
),
"ALU3dGridFactory supports only grids containing "
"ALU3dGridFactory supports only grids containing "
...
@@ -318,6 +320,11 @@ namespace Dune
...
@@ -318,6 +320,11 @@ namespace Dune
const
std
::
vector
<
unsigned
int
>&
ordering
()
const
{
return
ordering_
;
}
const
std
::
vector
<
unsigned
int
>&
ordering
()
const
{
return
ordering_
;
}
Communication
comm
()
const
{
return
Communication
(
communicator_
);
}
private
:
private
:
unsigned
int
boundaryInsertionIndex
(
const
typename
Codim
<
0
>::
Entity
&
entity
,
int
face
)
const
unsigned
int
boundaryInsertionIndex
(
const
typename
Codim
<
0
>::
Entity
&
entity
,
int
face
)
const
{
{
...
...
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