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
8d492d50
Commit
8d492d50
authored
16 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
More doku.
[[Imported from SVN: r992]]
parent
68c6d78a
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
istl/superlu.hh
+6
-2
6 additions, 2 deletions
istl/superlu.hh
istl/supermatrix.hh
+4
-3
4 additions, 3 deletions
istl/supermatrix.hh
with
10 additions
and
5 deletions
istl/superlu.hh
+
6
−
2
View file @
8d492d50
...
...
@@ -105,13 +105,16 @@ namespace Dune
void
setVerbosity
(
bool
v
);
/**
* @brief free allocated space.
* @warn later calling apply will result in an error.
*/
void
free
();
private
:
friend
class
std
::
mem_fun_ref_t
<
void
,
SuperLU
>
;
template
<
class
M
,
class
X
,
class
TM
,
class
T1
>
friend
class
SeqOverlappingSchwarz
;
/** @brief free allocated space. */
void
free
();
/** @brief computes the LU Decomposition */
void
decompose
();
...
...
@@ -153,6 +156,7 @@ namespace Dune
SUPERLU_FREE
(
B
.
Store
);
SUPERLU_FREE
(
X
.
Store
);
}
mat
.
free
();
}
template
<
typename
T
,
typename
A
,
int
n
,
int
m
>
...
...
This diff is collapsed.
Click to expand it.
istl/supermatrix.hh
+
4
−
3
View file @
8d492d50
...
...
@@ -66,7 +66,7 @@ namespace Dune
class
SeqOverlappingSchwarz
;
/**
* @brief Coverte for BCRSMatrix to SuperLU Matrix.
* @brief Coverte
r
for BCRSMatrix to SuperLU Matrix.
*/
template
<
class
B
,
class
TA
,
int
n
,
int
m
>
class
SuperLUMatrix
<
BCRSMatrix
<
FieldMatrix
<
B
,
n
,
m
>
,
TA
>
>
...
...
@@ -127,11 +127,11 @@ namespace Dune
SuperLUMatrix
&
operator
=
(
const
SuperLUMatrix
&
mat
);
/** @brief free allocated space. */
void
free
();
private
:
/** @brief Initialize data from given matrix. */
void
setMatrix
(
const
Matrix
&
mat
);
/** @brief free allocated space. */
void
free
();
int
N_
,
M_
,
Nnz_
;
B
*
values
;
...
...
@@ -461,6 +461,7 @@ namespace Dune
delete
[]
rowindex
;
delete
[]
colstart
;
SUPERLU_FREE
(
A
.
Store
);
N_
=
M_
=
Nnz_
=
0
;
}
}
...
...
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