Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
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
Patrick Jaap
dune-istl
Commits
00c69023
Commit
00c69023
authored
7 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
Use structs instead of class for friend declaration
parent
0ad9d513
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/istl/novlpschwarz.hh
+1
-1
1 addition, 1 deletion
dune/istl/novlpschwarz.hh
dune/istl/schwarz.hh
+1
-1
1 addition, 1 deletion
dune/istl/schwarz.hh
with
2 additions
and
2 deletions
dune/istl/novlpschwarz.hh
+
1
−
1
View file @
00c69023
...
@@ -264,7 +264,7 @@ namespace Dune {
...
@@ -264,7 +264,7 @@ namespace Dune {
template
<
class
C
,
class
P
>
template
<
class
C
,
class
P
>
class
NonoverlappingBlockPreconditioner
class
NonoverlappingBlockPreconditioner
:
public
Dune
::
Preconditioner
<
typename
P
::
domain_type
,
typename
P
::
range_type
>
{
:
public
Dune
::
Preconditioner
<
typename
P
::
domain_type
,
typename
P
::
range_type
>
{
friend
class
Amg
::
ConstructionTraits
<
NonoverlappingBlockPreconditioner
<
C
,
P
>
>
;
friend
struct
Amg
::
ConstructionTraits
<
NonoverlappingBlockPreconditioner
<
C
,
P
>
>
;
public:
public:
//! \brief The domain type of the preconditioner.
//! \brief The domain type of the preconditioner.
typedef
typename
P
::
domain_type
domain_type
;
typedef
typename
P
::
domain_type
domain_type
;
...
...
This diff is collapsed.
Click to expand it.
dune/istl/schwarz.hh
+
1
−
1
View file @
00c69023
...
@@ -267,7 +267,7 @@ namespace Dune {
...
@@ -267,7 +267,7 @@ namespace Dune {
*/
*/
template
<
class
X
,
class
Y
,
class
C
,
class
T
=
Preconditioner
<
X
,
Y
>
>
template
<
class
X
,
class
Y
,
class
C
,
class
T
=
Preconditioner
<
X
,
Y
>
>
class
BlockPreconditioner
:
public
Preconditioner
<
X
,
Y
>
{
class
BlockPreconditioner
:
public
Preconditioner
<
X
,
Y
>
{
friend
class
Amg
::
ConstructionTraits
<
BlockPreconditioner
<
X
,
Y
,
C
,
T
>
>
;
friend
struct
Amg
::
ConstructionTraits
<
BlockPreconditioner
<
X
,
Y
,
C
,
T
>
>
;
public:
public:
//! \brief The domain type of the preconditioner.
//! \brief The domain type of the preconditioner.
//!
//!
...
...
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