Amesos Package Browser (Single Doxygen Collection)
Development
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Amesos_Support.h
Go to the documentation of this file.
1
#ifndef AMESOS_SUPPORT_H
2
#define AMESOS_SUPPORT_H
3
4
#include "Epetra_CrsMatrix.h"
5
#include "Epetra_MultiVector.h"
6
#include "Epetra_Map.h"
7
8
#ifdef HAVE_AMESOS_EPETRAEXT
9
#include "EpetraExt_Reindex_CrsMatrix.h"
10
#include "EpetraExt_Reindex_MultiVector.h"
11
#endif
21
22
#if 0
23
class
Amesos_Support
24
{
25
public
:
27
Amesos_Support
() {}
28
30
~Amesos_Support
() {}
31
32
};
33
#endif
34
35
#if 0
37
Epetra_CrsMatrix* Amesos_StandardIndexMatrix(
const
Epetra_CrsMatrix&* OriginalMatrix );
38
#endif
39
40
class
Amesos_StandardIndex
41
{
42
public
:
44
Amesos_StandardIndex
(
const
Epetra_Map& OriginalMap ) ;
45
47
~Amesos_StandardIndex
() {}
48
49
#ifdef HAVE_AMESOS_EPETRAEXT
51
Epetra_MultiVector* StandardizeIndex( Epetra_MultiVector* OriginalMultiVector );
52
54
Teuchos::RCP<Epetra_MultiVector> StandardizeIndex( Epetra_MultiVector & OriginalMultiVector );
55
57
Epetra_CrsMatrix* StandardizeIndex( Epetra_CrsMatrix* OriginalCrsMatrix );
58
60
Epetra_Map* StdIndexMap() {
61
return
&*StdIndexMap_ ;
62
}
63
#endif
64
65
66
67
private
:
68
#ifdef HAVE_AMESOS_EPETRAEXT
70
Teuchos::RCP<Epetra_Map> StdIndexMap_;
72
Teuchos::RCP<EpetraExt::CrsMatrix_Reindex> MatTrans_;
74
Teuchos::RCP<EpetraExt::MultiVector_Reindex> VecTrans_;
75
#endif
76
} ;
77
#endif
Amesos_StandardIndex::Amesos_StandardIndex
Amesos_StandardIndex(const Epetra_Map &OriginalMap)
Default constructor.
Definition
Amesos_Support.cpp:32
Amesos_StandardIndex::~Amesos_StandardIndex
~Amesos_StandardIndex()
Default destructor.
Definition
Amesos_Support.h:47
Amesos_Support
Amesos_Support: Collection of utilities not included in Amesos.h.
Generated by
1.17.0