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
Tobias Leibner
dune-common
Commits
68d800da
Commit
68d800da
authored
19 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
some face liftings. added method myEntity to the Iterators.
[[Imported from SVN: r2069]]
parent
6364b15a
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/alu3dgrid.hh
+11
-5
11 additions, 5 deletions
grid/alu3dgrid.hh
with
11 additions
and
5 deletions
grid/alu3dgrid.hh
+
11
−
5
View file @
68d800da
...
...
@@ -25,9 +25,6 @@ namespace Dune
class
ALU3dGridError
:
public
Exception
{};
//#undef DUNE_THROW
//#define DUNE_THROW(e,m) assert(false);
enum
ALU3dGridElementType
{
tetra
=
4
,
hexa
=
7
,
mixed
,
error
};
//ALU3dGridElementType convertGeometryType2ALU3dGridElementType(GeometryType);
...
...
@@ -444,6 +441,7 @@ namespace Dune
//
// --ALU3dGridEntity
// --Entity
// --Men
//
//**********************************************************************
template
<
int
codim
,
int
dim
,
class
GridImp
>
...
...
@@ -757,6 +755,7 @@ namespace Dune
bool
equals
(
const
ALU3dGridEntity
<
0
,
dim
,
GridImp
>
&
org
)
const
;
void
setEntity
(
const
ALU3dGridEntity
<
0
,
dim
,
GridImp
>
&
org
);
private
:
typedef
typename
ALU3dImplTraits
<
GridImp
::
elementType
>::
IMPLElementType
IMPLElementType
;
...
...
@@ -897,6 +896,9 @@ namespace Dune
*/
private
:
//! return reference to EntityPointers entity_
EntityImp
&
myEntity
()
{
return
(
*
(
this
->
entity_
));
}
// go to next valid element
ALU3DSPACE
HElementType
*
goNextElement
(
ALU3DSPACE
HElementType
*
oldEl
);
...
...
@@ -1122,8 +1124,6 @@ namespace Dune
int
walkLevel_
;
//EntityImp * entity_; //! neighbour entity
// current element from which we started the intersection iterator
mutable
GEOElementType
*
item_
;
...
...
@@ -1198,6 +1198,9 @@ namespace Dune
void
increment
();
private
:
//! return reference to EntityPointers entity_
EntityImp
&
myEntity
()
{
return
(
*
(
this
->
entity_
));
}
// element index, -1 for end
int
index_
;
...
...
@@ -1242,6 +1245,9 @@ namespace Dune
void
increment
();
private
:
//! return reference to EntityPointers entity_
EntityImp
&
myEntity
()
{
return
(
*
(
this
->
entity_
));
}
// element index, -1 for end
int
index_
;
...
...
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