Amesos Package Browser (Single Doxygen Collection)
Development
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
src-repository
Epetra_SLU.h
Go to the documentation of this file.
1
// @HEADER
2
// ***********************************************************************
3
//
4
// Amesos: Direct Sparse Solver Package
5
// Copyright (2004) Sandia Corporation
6
//
7
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
8
// license for use of this work by or on behalf of the U.S. Government.
9
//
10
// This library is free software; you can redistribute it and/or modify
11
// it under the terms of the GNU Lesser General Public License as
12
// published by the Free Software Foundation; either version 2.1 of the
13
// License, or (at your option) any later version.
14
//
15
// This library is distributed in the hope that it will be useful, but
16
// WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
// Lesser General Public License for more details.
19
//
20
// You should have received a copy of the GNU Lesser General Public
21
// License along with this library; if not, write to the Free Software
22
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
23
// USA
24
// Questions? Contact Michael A. Heroux (maherou@sandia.gov)
25
//
26
// ***********************************************************************
27
// @HEADER
28
29
#ifndef _EPETRA_SLU_H_
30
#define _EPETRA_SLU_H_
31
32
class
Epetra_LinearProblem
;
33
class
Epetra_CrsMatrix
;
34
class
Epetra_MultiVector
;
35
class
Epetra_CrsGraph
;
36
37
class
SLUData
;
38
40
51
class
Epetra_SLU
52
{
53
54
public
:
55
56
58
62
Epetra_SLU
(
Epetra_LinearProblem
* Problem,
63
int
fill_fac = -1,
64
int
panel_size = -1,
65
int
relax = -1 );
66
68
70
~Epetra_SLU
();
72
73
75
79
int
Solve
(
bool
Verbose =
false
,
80
bool
Equil =
true
,
81
bool
Factor =
true
,
82
int
perm_type = 2,
83
double
pivot_thresh = -1,
84
bool
Refact =
true
,
85
bool
Trans =
false
);
87
88
private
:
89
90
void
Copy
();
91
92
Epetra_CrsMatrix
*
A_
;
93
Epetra_MultiVector
*
X_
;
94
Epetra_MultiVector
*
B_
;
95
96
double
*
R_
;
97
double
*
C_
;
98
99
Epetra_CrsGraph
*
AG_
;
100
101
SLUData
*
data_
;
102
103
int
*
Indices_
;
104
double
*
Values_
;
105
106
int
*
TransNumNZ_
;
107
int
TotNumNZ_
;
108
109
int
**
TransIndices_
;
110
double
**
TransValues_
;
111
112
int
*
RowIndices_
;
113
double
*
RowValues_
;
114
int
*
ColPointers_
;
115
116
int
*
perm_r_
;
117
int
*
perm_c_
;
118
119
int
count_
;
120
121
int
*
etree_
;
122
123
double
*
ferr_
;
124
double
*
berr_
;
125
};
126
127
#endif
Epetra_SLU::etree_
int * etree_
Definition:
Epetra_SLU.h:121
Epetra_MultiVector
Epetra_SLU::TransIndices_
int ** TransIndices_
Definition:
Epetra_SLU.h:109
Epetra_SLU::A_
Epetra_CrsMatrix * A_
Definition:
Epetra_SLU.h:92
Epetra_SLU::~Epetra_SLU
~Epetra_SLU()
Epetra_SLU Destructor.
Definition:
Epetra_SLU.cpp:140
Epetra_SLU::count_
int count_
Definition:
Epetra_SLU.h:119
Epetra_SLU
Epetra_SLU: An object-oriented wrapper for Xiaoye Li's serial sparse solver package: Superlu...
Definition:
Epetra_SLU.h:51
Epetra_SLU::ferr_
double * ferr_
Definition:
Epetra_SLU.h:123
Epetra_SLU::C_
double * C_
Definition:
Epetra_SLU.h:97
Epetra_SLU::R_
double * R_
Definition:
Epetra_SLU.h:96
Epetra_SLU::TotNumNZ_
int TotNumNZ_
Definition:
Epetra_SLU.h:107
Epetra_SLU::RowValues_
double * RowValues_
Definition:
Epetra_SLU.h:113
Epetra_SLU::TransNumNZ_
int * TransNumNZ_
Definition:
Epetra_SLU.h:106
SLUData
Definition:
Amesos_Superlu.cpp:50
Epetra_SLU::Indices_
int * Indices_
Definition:
Epetra_SLU.h:103
Epetra_SLU::B_
Epetra_MultiVector * B_
Definition:
Epetra_SLU.h:94
Epetra_SLU::X_
Epetra_MultiVector * X_
Definition:
Epetra_SLU.h:93
Epetra_SLU::Solve
int Solve(bool Verbose=false, bool Equil=true, bool Factor=true, int perm_type=2, double pivot_thresh=-1, bool Refact=true, bool Trans=false)
All computation is performed during the call to Solve()
Definition:
Epetra_SLU.cpp:202
Epetra_CrsMatrix
Epetra_SLU::TransValues_
double ** TransValues_
Definition:
Epetra_SLU.h:110
Epetra_SLU::data_
SLUData * data_
Definition:
Epetra_SLU.h:101
Epetra_SLU::berr_
double * berr_
Definition:
Epetra_SLU.h:124
Epetra_SLU::AG_
Epetra_CrsGraph * AG_
Definition:
Epetra_SLU.h:99
Epetra_SLU::RowIndices_
int * RowIndices_
Definition:
Epetra_SLU.h:112
Epetra_SLU::perm_r_
int * perm_r_
Definition:
Epetra_SLU.h:116
Epetra_LinearProblem
Epetra_SLU::Copy
void Copy()
Definition:
Epetra_SLU.cpp:175
Epetra_SLU::Epetra_SLU
Epetra_SLU(Epetra_LinearProblem *Problem, int fill_fac=-1, int panel_size=-1, int relax=-1)
Epetra_SLU Constructor.
Definition:
Epetra_SLU.cpp:53
Epetra_SLU::Values_
double * Values_
Definition:
Epetra_SLU.h:104
Epetra_SLU::perm_c_
int * perm_c_
Definition:
Epetra_SLU.h:117
Epetra_SLU::ColPointers_
int * ColPointers_
Definition:
Epetra_SLU.h:114
Epetra_CrsGraph
Generated by
1.8.5