Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Timo Koch
dune-common
Commits
311efcb8
Commit
311efcb8
authored
20 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
More capabilities
[[Imported from SVN: r1081]]
parent
4b2fb962
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
grid/albertgrid.hh
+17
-0
17 additions, 0 deletions
grid/albertgrid.hh
grid/sgrid.hh
+18
-0
18 additions, 0 deletions
grid/sgrid.hh
grid/uggrid.hh
+22
-0
22 additions, 0 deletions
grid/uggrid.hh
grid/yaspgrid.hh
+6
-0
6 additions, 0 deletions
grid/yaspgrid.hh
with
63 additions
and
0 deletions
grid/albertgrid.hh
+
17
−
0
View file @
311efcb8
...
...
@@ -21,6 +21,7 @@
#include
"../common/misc.hh"
#include
"../common/matvec.hh"
#include
"../common/array.hh"
#include
"../common/capabilities.hh"
#include
"common/grid.hh"
#ifndef __ALBERTpp__
...
...
@@ -1370,6 +1371,22 @@ namespace Dune
/** @} end documentation group */
namespace
Capabilities
{
template
<
int
dim
,
int
dimw
>
struct
hasLeafIterator
<
AlbertGrid
<
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
template
<
int
dim
,
int
dimw
,
int
cdim
>
struct
hasEntity
<
AlbertGrid
<
dim
,
dimw
>
,
AlbertGridEntity
<
cdim
,
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
}
};
// namespace Dune
...
...
This diff is collapsed.
Click to expand it.
grid/sgrid.hh
+
18
−
0
View file @
311efcb8
...
...
@@ -5,6 +5,7 @@
#include
"../common/matvec.hh"
#include
"../common/stack.hh"
#include
"../common/capabilities.hh"
#include
"common/grid.hh"
#include
"sgrid/numbering.hh"
...
...
@@ -873,6 +874,23 @@ namespace Dune {
/** @} end documentation group */
namespace
Capabilities
{
template
<
int
dim
,
int
dimw
>
struct
hasLeafIterator
<
SGrid
<
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
template
<
int
dim
,
int
dimw
,
int
cdim
>
struct
hasEntity
<
SGrid
<
dim
,
dimw
>
,
SEntity
<
cdim
,
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
}
}
// end namespace
#include
"sgrid/sgrid.cc"
...
...
This diff is collapsed.
Click to expand it.
grid/uggrid.hh
+
22
−
0
View file @
311efcb8
...
...
@@ -5,6 +5,7 @@
#include
"../common/matvec.hh"
#include
"../common/capabilities.hh"
// All UG includes have to be includes via the file ugincludes.hh
// for easier parsing by undefAllMacros.pl
...
...
@@ -306,7 +307,28 @@ namespace Dune {
};
// end Class UGGrid
namespace
Capabilities
{
template
<
int
dim
,
int
dimw
>
struct
hasLeafIterator
<
UGGrid
<
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
template
<
int
dim
,
int
dimw
,
int
cdim
>
struct
hasEntity
<
UGGrid
<
dim
,
dimw
>
,
UGGridEntity
<
cdim
,
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
template
<
int
dim
,
int
dimw
>
struct
isParallel
<
UGGrid
<
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
}
}
// namespace Dune
...
...
This diff is collapsed.
Click to expand it.
grid/yaspgrid.hh
+
6
−
0
View file @
311efcb8
...
...
@@ -1514,6 +1514,12 @@ namespace Dune {
static
const
bool
v
=
true
;
};
template
<
int
dim
,
int
dimw
>
struct
isParallel
<
YaspGrid
<
dim
,
dimw
>
>
{
static
const
bool
v
=
true
;
};
}
}
// end namespace
...
...
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