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
Wiki
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
Core Modules
dune-istl
Commits
eded540f
Commit
eded540f
authored
14 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Honor additional template parameter of SeqOverlappingSchwarz
[[Imported from SVN: r1256]]
parent
8619f3a0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/paamg/smoother.hh
+21
-20
21 additions, 20 deletions
dune/istl/paamg/smoother.hh
with
21 additions
and
20 deletions
dune/istl/paamg/smoother.hh
+
21
−
20
View file @
eded540f
...
...
@@ -404,17 +404,18 @@ namespace Dune
}
// end namespace Amg
// forward declarations
template
<
class
M
,
class
X
,
class
MO
,
class
A
>
template
<
class
M
,
class
X
,
class
MO
,
class
MS
,
class
A
>
class
SeqOverlappingSchwarz
;
class
MultiplicativeSchwarzMode
;
namespace
Amg
{
template
<
class
M
,
class
X
,
class
TA
>
struct
SmootherApplier
<
SeqOverlappingSchwarz
<
M
,
X
,
MultiplicativeSchwarzMode
,
TA
>
>
template
<
class
M
,
class
X
,
class
MS
,
class
TA
>
struct
SmootherApplier
<
SeqOverlappingSchwarz
<
M
,
X
,
MultiplicativeSchwarzMode
,
MS
,
TA
>
>
{
typedef
SeqOverlappingSchwarz
<
M
,
X
,
MultiplicativeSchwarzMode
,
TA
>
Smoother
;
typedef
SeqOverlappingSchwarz
<
M
,
X
,
MultiplicativeSchwarzMode
,
MS
,
TA
>
Smoother
;
typedef
typename
Smoother
::
range_type
Range
;
typedef
typename
Smoother
::
domain_type
Domain
;
...
...
@@ -449,23 +450,23 @@ namespace Dune
{}
};
template
<
class
M
,
class
X
,
class
TM
,
class
TA
>
struct
SmootherTraits
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
>
template
<
class
M
,
class
X
,
class
TM
,
class
TS
,
class
TA
>
struct
SmootherTraits
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
>
{
typedef
SeqOverlappingSchwarzSmootherArgs
<
typename
M
::
field_type
>
Arguments
;
};
template
<
class
M
,
class
X
,
class
TM
,
class
TA
>
class
ConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
>
:
public
DefaultConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
>
template
<
class
M
,
class
X
,
class
TM
,
class
TS
,
class
TA
>
class
ConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
>
:
public
DefaultConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
>
{
typedef
DefaultConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
>
Father
;
typedef
DefaultConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
>
Father
;
public:
typedef
typename
MatrixGraph
<
M
>::
VertexDescriptor
VertexDescriptor
;
typedef
Dune
::
Amg
::
AggregatesMap
<
VertexDescriptor
>
AggregatesMap
;
typedef
typename
AggregatesMap
::
AggregateDescriptor
AggregateDescriptor
;
typedef
typename
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>::
subdomain_vector
Vector
;
typedef
typename
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>::
subdomain_vector
Vector
;
typedef
typename
Vector
::
value_type
Subdomain
;
virtual
void
setMatrix
(
const
M
&
matrix
,
const
AggregatesMap
&
amap
)
...
...
@@ -752,20 +753,20 @@ namespace Dune
};
template
<
class
M
,
class
X
,
class
TM
,
class
TA
>
struct
ConstructionTraits
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
>
template
<
class
M
,
class
X
,
class
TM
,
class
TS
,
class
TA
>
struct
ConstructionTraits
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
>
{
typedef
ConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
>
Arguments
;
typedef
ConstructionArgs
<
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
>
Arguments
;
static
inline
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>*
construct
(
Arguments
&
args
)
static
inline
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>*
construct
(
Arguments
&
args
)
{
return
new
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>
(
args
.
getMatrix
(),
args
.
getSubDomains
(),
args
.
getArgs
().
relaxationFactor
,
args
.
getArgs
().
onthefly
);
return
new
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>
(
args
.
getMatrix
(),
args
.
getSubDomains
(),
args
.
getArgs
().
relaxationFactor
,
args
.
getArgs
().
onthefly
);
}
static
void
deconstruct
(
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TA
>*
schwarz
)
static
void
deconstruct
(
SeqOverlappingSchwarz
<
M
,
X
,
TM
,
TS
,
TA
>*
schwarz
)
{
delete
schwarz
;
}
...
...
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