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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
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
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
Core Modules
dune-common
Commits
58ccf46c
Commit
58ccf46c
authored
20 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
documentation
[[Imported from SVN: r1073]]
parent
3d4460a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grid/common/grid.hh
+15
-8
15 additions, 8 deletions
grid/common/grid.hh
with
15 additions
and
8 deletions
grid/common/grid.hh
+
15
−
8
View file @
58ccf46c
...
...
@@ -991,11 +991,14 @@ namespace Dune {
IntersectionIteratorImp
,
HierarchicIteratorImp
>
{
public:
//!
r
emeber the template types
//!
R
eme
m
ber the template types
struct
Traits
{
//! The coordinate type
typedef
ct
CoordType
;
//! The element type
typedef
ElementImp
<
dim
,
dimworld
>
Element
;
//! The entity type
typedef
EntityImp
<
0
,
dim
,
dimworld
>
Entity
;
typedef
LevelIteratorImp
<
0
,
dim
,
dimworld
,
All_Partition
>
LevelIterator
;
typedef
IntersectionIteratorImp
<
dim
,
dimworld
>
IntersectionIterator
;
...
...
@@ -1014,26 +1017,30 @@ namespace Dune {
//! define type used for coordinates in grid module
typedef
ct
ctype
;
// default implementation for access to subIndex via interface method entity
// default is to return the index of the sub entity, is very slow, but works
/** \brief Default implementation for access to subIndex
*
* Default implementation for access to subIndex via interface method entity
* default is to return the index of the sub entity, is very slow, but works
*/
template
<
int
cc
>
int
subIndex
(
int
i
);
//***************************************************************
// Interface for Adaptation
//***************************************************************
//! marks an element for refCount refines. if refCount is negative the
//! element is coarsend -refCount times
//! element is coarsen
e
d -refCount times
//! mark returns true if element was marked, otherwise false
//! **Note**: default implemen
n
tation is: return false; for grids with no
//! **Note**: default implementation is: return false; for grids with no
//! adaptation
bool
mark
(
int
refCount
)
{
return
false
;
}
//! return whether entity could be co
s
rsend (COARSEN) or was refined
//! (REFI
E
ND) or nothing happend (NONE)
//!
**Note**:
default implementation
is:
return NONE for grid with no
//! return whether entity could be co
a
rsen
e
d (COARSEN) or was refined
//! (REFIN
E
D) or nothing happend (NONE)
//!
@return The
default implementation return
s
NONE for grid with no
//! adaptation
AdaptationState
state
()
{
return
NONE
;
}
//! ???
EntityImp
<
0
,
dim
,
dimworld
>
newEntity
()
{
EntityImp
<
0
,
dim
,
dimworld
>
tmp
(
asImp
());
...
...
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