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
#if defined(Amesos_SHOW_DEPRECATED_WARNINGS)
33
#ifdef __GNUC__
34
#warning "The Amesos package is deprecated"
35
#endif
36
#endif
37
38
class
Epetra_LinearProblem
;
39
class
Epetra_CrsMatrix
;
40
class
Epetra_MultiVector
;
41
class
Epetra_CrsGraph
;
42
43
class
SLUData
;
44
46
57
class
Epetra_SLU
58
{
59
60
public
:
61
62
64
68
Epetra_SLU
(
Epetra_LinearProblem
* Problem,
69
int
fill_fac = -1,
70
int
panel_size = -1,
71
int
relax = -1 );
72
74
76
~Epetra_SLU
();
78
79
81
85
int
Solve
(
bool
Verbose =
false
,
86
bool
Equil =
true
,
87
bool
Factor =
true
,
88
int
perm_type = 2,
89
double
pivot_thresh = -1,
90
bool
Refact =
true
,
91
bool
Trans =
false
);
93
94
private
:
95
96
void
Copy
();
97
98
Epetra_CrsMatrix
*
A_
;
99
Epetra_MultiVector
*
X_
;
100
Epetra_MultiVector
*
B_
;
101
102
double
*
R_
;
103
double
*
C_
;
104
105
Epetra_CrsGraph
*
AG_
;
106
107
SLUData
*
data_
;
108
109
int
*
Indices_
;
110
double
*
Values_
;
111
112
int
*
TransNumNZ_
;
113
int
TotNumNZ_
;
114
115
int
**
TransIndices_
;
116
double
**
TransValues_
;
117
118
int
*
RowIndices_
;
119
double
*
RowValues_
;
120
int
*
ColPointers_
;
121
122
int
*
perm_r_
;
123
int
*
perm_c_
;
124
125
int
count_
;
126
127
int
*
etree_
;
128
129
double
*
ferr_
;
130
double
*
berr_
;
131
};
132
133
#endif
Epetra_SLU::etree_
int * etree_
Definition:
Epetra_SLU.h:127
Epetra_MultiVector
Epetra_SLU::TransIndices_
int ** TransIndices_
Definition:
Epetra_SLU.h:115
Epetra_SLU::A_
Epetra_CrsMatrix * A_
Definition:
Epetra_SLU.h:98
Epetra_SLU::~Epetra_SLU
~Epetra_SLU()
Epetra_SLU Destructor.
Definition:
Epetra_SLU.cpp:140
Epetra_SLU::count_
int count_
Definition:
Epetra_SLU.h:125
Epetra_SLU
Epetra_SLU: An object-oriented wrapper for Xiaoye Li's serial sparse solver package: Superlu...
Definition:
Epetra_SLU.h:57
Epetra_SLU::ferr_
double * ferr_
Definition:
Epetra_SLU.h:129
Epetra_SLU::C_
double * C_
Definition:
Epetra_SLU.h:103
Epetra_SLU::R_
double * R_
Definition:
Epetra_SLU.h:102
Epetra_SLU::TotNumNZ_
int TotNumNZ_
Definition:
Epetra_SLU.h:113
Epetra_SLU::RowValues_
double * RowValues_
Definition:
Epetra_SLU.h:119
Epetra_SLU::TransNumNZ_
int * TransNumNZ_
Definition:
Epetra_SLU.h:112
SLUData
Definition:
Amesos_Superlu.cpp:50
Epetra_SLU::Indices_
int * Indices_
Definition:
Epetra_SLU.h:109
Epetra_SLU::B_
Epetra_MultiVector * B_
Definition:
Epetra_SLU.h:100
Epetra_SLU::X_
Epetra_MultiVector * X_
Definition:
Epetra_SLU.h:99
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:116
Epetra_SLU::data_
SLUData * data_
Definition:
Epetra_SLU.h:107
Epetra_SLU::berr_
double * berr_
Definition:
Epetra_SLU.h:130
Epetra_SLU::AG_
Epetra_CrsGraph * AG_
Definition:
Epetra_SLU.h:105
Epetra_SLU::RowIndices_
int * RowIndices_
Definition:
Epetra_SLU.h:118
Epetra_SLU::perm_r_
int * perm_r_
Definition:
Epetra_SLU.h:122
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:110
Epetra_SLU::perm_c_
int * perm_c_
Definition:
Epetra_SLU.h:123
Epetra_SLU::ColPointers_
int * ColPointers_
Definition:
Epetra_SLU.h:120
Epetra_CrsGraph
Generated on Fri Dec 20 2024 09:19:16 for Amesos Package Browser (Single Doxygen Collection) by
1.8.5