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
9fa8619e
Commit
9fa8619e
authored
20 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
const operator *() for DofIterator and removed DofArrayIterator because not
used. [[Imported from SVN: r804]]
parent
421d69db
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
fem/discfuncarray.hh
+2
-82
2 additions, 82 deletions
fem/discfuncarray.hh
with
2 additions
and
82 deletions
fem/discfuncarray.hh
+
2
−
82
View file @
9fa8619e
...
...
@@ -340,7 +340,7 @@ namespace Dune {
DofType
&
operator
*
();
//! return dof read only
const
DofType
&
read
()
const
;
const
DofType
&
operator
*
()
const
;
//! go next dof
DofIteratorArray
<
DofType
>
&
operator
++
();
...
...
@@ -348,17 +348,11 @@ namespace Dune {
//! go next dof
const
DofIteratorArray
<
DofType
>
&
operator
++
()
const
;
//! go next i steps
DofIteratorArray
<
DofType
>
&
operator
++
(
int
i
);
//! go next i steps
const
DofIteratorArray
<
DofType
>
&
operator
++
(
int
i
)
const
;
//! random access
DofType
&
operator
[]
(
int
i
);
//! random access read only
const
DofType
&
read
(
int
i
)
const
;
const
DofType
&
operator
[]
(
int
i
)
const
;
//! compare
bool
operator
==
(
const
DofIteratorArray
<
DofType
>
&
I
)
const
;
...
...
@@ -384,80 +378,6 @@ namespace Dune {
};
// end DofIteratorArray
//**************************************************************************
//
// --LocalFunctionArrayIterator
//
//! Iterator to navigate through the local functions
//! The Storage of the dofs is implemented via an array
//
//**************************************************************************
/* not needed anymore but keep for having it
template < class DiscFunctionType , class GridIteratorType >
class LocalFunctionArrayIterator
: public LocalFunctionIteratorDefault <
LocalFunctionArray < typename DiscFunctionType::FunctionSpace > ,
LocalFunctionArrayIterator < DiscFunctionType, GridIteratorType >
>
{
typedef LocalFunctionArray < typename DiscFunctionType::FunctionSpace >
LocalFunctionType;
// just for readability
typedef LocalFunctionArrayIterator < DiscFunctionType , GridIteratorType >
LocalFunctionArrayIteratorType;
typedef typename GridIteratorType::Traits::Entity EntityType;
public:
//! Constructor
LocalFunctionArrayIterator ( DiscFunctionType &df , GridIteratorType & it );
//! Copy Constructor
LocalFunctionArrayIterator ( const LocalFunctionArrayIteratorType & copy);
//! Desctructor
~LocalFunctionArrayIterator ();
//! we use localFunc_ as Interface
LocalFunctionType & operator *();
//! we use localFunc_ as Interface
LocalFunctionType * operator ->();
//! go next local function, means go netx grid entity an map to dofs
LocalFunctionArrayIteratorType& operator++ ();
//! go next i steps
LocalFunctionArrayIteratorType& operator++ (int i);
//! compare LocalFucntionIterator
bool operator == (const LocalFunctionArrayIteratorType & I ) const;
//! compare LocalFucntionIterator
bool operator != (const LocalFunctionArrayIteratorType & I ) const;
int index () const;
void update ( GridIteratorType & it );
private:
//! true if local function init was called already
bool built_;
//! GridIteratorType can be LevelIterator, HierarchicIterator or
//! ItersectionIterator or LeafIterator
GridIteratorType & it_;
//! needed for access of local functions
DiscFunctionType &df_;
//! pointer to the local function
LocalFunctionType *lf_;
}; // end LocalFunctionArrayIterator
*/
}
// end namespace Dune
...
...
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