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
bdf6e546
Commit
bdf6e546
authored
19 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
remove friend declarations of OneDGridSubEntityFactory
[[Imported from SVN: r3964]]
parent
9bdbcc4d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
grid/onedgrid/onedgridentity.hh
+0
-4
0 additions, 4 deletions
grid/onedgrid/onedgridentity.hh
grid/onedgrid/onedgridgeometry.hh
+2
-6
2 additions, 6 deletions
grid/onedgrid/onedgridgeometry.hh
with
2 additions
and
10 deletions
grid/onedgrid/onedgridentity.hh
+
0
−
4
View file @
bdf6e546
...
...
@@ -240,10 +240,6 @@ namespace Dune {
friend
class
OneDGridHierarchicIterator
<
GridImp
>
;
friend
class
OneDGridLevelIterator
<
0
,
All_Partition
,
GridImp
>
;
template
<
int
cc_
,
int
dim_
,
class
GridImp_
>
friend
class
OneDGridSubEntityFactory
;
public:
typedef
typename
GridImp
::
template
Codim
<
0
>
::
Geometry
Geometry
;
typedef
typename
GridImp
::
template
Codim
<
0
>
::
LevelIterator
LevelIterator
;
...
...
This diff is collapsed.
Click to expand it.
grid/onedgrid/onedgridgeometry.hh
+
2
−
6
View file @
bdf6e546
...
...
@@ -78,14 +78,10 @@ namespace Dune {
template
<
int
mydim_
,
int
coorddim_
,
class
GridImp_
>
friend
class
OneDGridGeometry
;
template
<
int
cc_
,
int
dim_
,
class
GridImp_
>
friend
class
OneDGridSubEntityFactory
;
public:
//! return the element type identifier (vertex)
NewGeometryType
type
()
const
{
return
NewGeometryType
(
NewGeometryType
::
cube
,
0
);}
NewGeometryType
type
()
const
{
return
NewGeometryType
(
0
);}
//! return the number of corners of this element (==1)
int
corners
()
const
{
return
1
;}
...
...
@@ -127,7 +123,7 @@ namespace Dune {
*
* OneDGrid obviously supports only lines
*/
NewGeometryType
type
()
const
{
return
NewGeometryType
(
NewGeometryType
::
cube
,
1
);}
NewGeometryType
type
()
const
{
return
NewGeometryType
(
1
);}
//! return the number of corners of this element. Corners are numbered 0...n-1
int
corners
()
const
{
return
2
;}
...
...
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