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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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-common
Commits
61f43705
Commit
61f43705
authored
20 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
more doxygen documentation
[[Imported from SVN: r1024]]
parent
1c5437af
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
solver/common/iterationstep.hh
+6
-1
6 additions, 1 deletion
solver/common/iterationstep.hh
solver/common/linearsolver.hh
+13
-6
13 additions, 6 deletions
solver/common/linearsolver.hh
solver/common/solver.hh
+5
-0
5 additions, 0 deletions
solver/common/solver.hh
with
24 additions
and
7 deletions
solver/common/iterationstep.hh
+
6
−
1
View file @
61f43705
...
...
@@ -43,15 +43,20 @@ namespace Dune {
//! The grid level the iteration step is working on
virtual
int
level
()
const
{
return
level_
;}
//! The solution container
DiscFuncType
*
x_
;
//! The container for the right hand side
DiscFuncType
*
rhs_
;
//! The linear operator
OperatorType
*
mat_
;
/** \brief A flag for each degree of freedom stating whether the
* dof is dirichlet or not */
const
std
::
vector
<
bool
>*
dirichletNodes_
;
//! The level of a multigrid hierarchy that is iterator is supposed to work on
//! The level of a multigrid hierarchy that
th
is iterator is supposed to work on
int
level_
;
};
...
...
This diff is collapsed.
Click to expand it.
solver/common/linearsolver.hh
+
13
−
6
View file @
61f43705
...
...
@@ -8,20 +8,27 @@
namespace
Dune
{
template
<
class
OP_TYPE
,
class
VEC_TYPE
>
/** \brief A generic linear solver
*
* This class basically implements a loop that calls
* an iteration procedure (which is to be supplied be
* the user). It also monitors convergence. */
template
<
class
OperatorType
,
class
DiscFuncType
>
class
LinearSolver
:
public
Solver
{
public:
/** \brief Loop, call the iteration procedure
* and monitor convergence */
virtual
void
solve
();
//protected:
//! The maximum number of iterations
int
numIt
;
IterationStep
<
OP_TYPE
,
VEC_TYPE
>*
iterationStep
;
//! The iteration step used by the algorithm
IterationStep
<
OperatorType
,
DiscFuncType
>*
iterationStep
;
Norm
<
VEC_TYPE
>*
errorNorm_
;
//! The norm used to measure convergence
Norm
<
DiscFuncType
>*
errorNorm_
;
};
...
...
This diff is collapsed.
Click to expand it.
solver/common/solver.hh
+
5
−
0
View file @
61f43705
...
...
@@ -7,14 +7,19 @@
namespace
Dune
{
/** \brief The base class for all sorts of solver algorithms */
class
Solver
:
public
NumProc
{
public:
/** \brief Do the necessary preprocessing */
virtual
void
preprocess
();
/** \brief Derived classes overload this with the actual
* solution algorithm */
virtual
void
solve
()
=
0
;
/** \brief The requested tolerance of the solver */
double
tolerance_
;
};
...
...
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