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
43ea641f
Commit
43ea641f
authored
19 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
There are no smoothers and aggregates maps on the coarsest level.
[[Imported from SVN: r332]]
parent
5ef4607a
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
istl/paamg/amg.hh
+9
-4
9 additions, 4 deletions
istl/paamg/amg.hh
with
9 additions
and
4 deletions
istl/paamg/amg.hh
+
9
−
4
View file @
43ea641f
...
...
@@ -202,19 +202,25 @@ namespace Dune
++
lhs
;
++
update
;
++
defect
;
++
smoother
;
++
matrix
;
++
aggregates
;
++
level
;
*
lhs
=
0
;
if
(
matrix
!=
matrices_
->
matrices
().
coarsest
())
{
++
smoother
;
++
aggregates
;
}
// next level
mgc
(
smoother
,
matrix
,
aggregates
,
lhs
,
update
,
rhs
,
defect
);
if
(
matrix
!=
matrices_
->
matrices
().
coarsest
())
{
--
smoother
;
--
aggregates
;
}
--
level
;
//prolongate (coarse x is the new update)
--
matrix
;
--
aggregates
;
--
update
;
Transfer
<
typename
MatrixHierarchy
::
AggregatesMap
::
AggregateDescriptor
,
Range
>
::
prolongate
(
*
(
*
aggregates
),
*
update
,
*
lhs
,
0.8
);
...
...
@@ -222,7 +228,6 @@ namespace Dune
--
lhs
;
--
rhs
;
--
defect
;
--
smoother
;
// postsmoothing
for
(
std
::
size_t
i
=
0
;
i
<
steps_
;
++
i
)
{
...
...
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