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
3a879371
Commit
3a879371
authored
19 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Added some more typedef for documentation.
[[Imported from SVN: r468]]
parent
a2209988
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
istl/schwarz.hh
+19
-11
19 additions, 11 deletions
istl/schwarz.hh
with
19 additions
and
11 deletions
istl/schwarz.hh
+
19
−
11
View file @
3a879371
...
...
@@ -49,6 +49,8 @@ namespace Dune {
typedef
Y
range_type
;
//! \brief The field type of the range
typedef
typename
X
::
field_type
field_type
;
//! \brief The type of the communication object
typedef
C
communication_type
;
enum
{
//! \brief The solver category.
...
...
@@ -62,7 +64,7 @@ namespace Dune {
* @param com The communication object for syncing overlap and copy
* data points. (E.~g. OwnerOverlapCommunication )
*/
OverlappingSchwarzOperator
(
const
M
&
A
,
const
C
&
com
)
OverlappingSchwarzOperator
(
const
matrix_type
&
A
,
const
communication_type
&
com
)
:
_A_
(
A
),
communication
(
com
)
{}
...
...
@@ -84,14 +86,14 @@ namespace Dune {
}
//! get matrix via *
virtual
const
M
&
getmat
()
const
virtual
const
matrix_type
&
getmat
()
const
{
return
_A_
;
}
private
:
const
M
&
_A_
;
const
C
&
communication
;
const
matrix_type
&
_A_
;
const
communication_type
&
communication
;
};
...
...
@@ -109,6 +111,8 @@ namespace Dune {
typedef
X
domain_type
;
//! \brief The type of the range
typedef
typename
X
::
field_type
field_type
;
//! \brief The type of the communication object
typedef
C
communication_type
;
//! define the category
enum
{
category
=
SolverCategory
::
overlapping
};
...
...
@@ -117,7 +121,7 @@ namespace Dune {
* \param com The communication object for syncing overlap and copy
* data points. (E.~g. OwnerOverlapCommunication )
*/
OverlappingSchwarzScalarProduct
(
const
C
&
com
)
OverlappingSchwarzScalarProduct
(
const
communication_type
&
com
)
:
communication
(
com
)
{}
...
...
@@ -141,7 +145,7 @@ namespace Dune {
}
private
:
const
C
&
communication
;
const
communication_type
&
communication
;
};
...
...
@@ -159,6 +163,8 @@ namespace Dune {
typedef
Y
range_type
;
//! \brief The field type of the preconditioner.
typedef
typename
X
::
field_type
field_type
;
//! \briefe The type of the communication object.
typedef
C
communication_type
;
// define the category
enum
{
...
...
@@ -175,7 +181,7 @@ namespace Dune {
\param com The communication object for syncing overlap and copy
* data points. (E.~g. OwnerOverlapCommunication )
*/
ParSSOR
(
const
M
&
A
,
int
n
,
field_type
w
,
const
C
&
c
)
ParSSOR
(
const
matrix_type
&
A
,
int
n
,
field_type
w
,
const
communication_type
&
c
)
:
_A_
(
A
),
_n
(
n
),
_w
(
w
),
communication
(
c
)
{
}
...
...
@@ -212,13 +218,13 @@ namespace Dune {
private
:
//! \brief The matrix we operate on.
const
M
&
_A_
;
const
matrix_type
&
_A_
;
//! \brief The number of steps to do in apply
int
_n
;
//! \brief The relaxation factor to use
field_type
_w
;
//! \brief the communication object
const
C
&
communication
;
const
communication_type
&
communication
;
};
...
...
@@ -239,6 +245,8 @@ namespace Dune {
typedef
Y
range_type
;
//! \brief The field type of the preconditioner.
typedef
typename
X
::
field_type
field_type
;
//! \briefe The type of the communication object.
typedef
C
communication_type
;
// define the category
enum
{
...
...
@@ -253,7 +261,7 @@ namespace Dune {
\param c The communication object for syncing overlap and copy
data points. (E.~g. OwnerOverlapCommunication )
*/
BlockPreconditioner
(
Preconditioner
<
X
,
Y
>&
p
,
const
C
&
c
)
BlockPreconditioner
(
Preconditioner
<
X
,
Y
>&
p
,
const
communication_type
&
c
)
:
preconditioner
(
p
),
communication
(
c
)
{
}
...
...
@@ -294,7 +302,7 @@ namespace Dune {
Preconditioner
<
X
,
Y
>&
preconditioner
;
//! \brief the communication object
const
C
&
communication
;
const
communication_type
&
communication
;
};
/** @} end documentation */
...
...
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