~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/trilinoscouplings/src/epetraext/EpetraExt_AmesosBTF_CrsMatrix.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
  int n = orig.NumMyRows();
72
72
  int nnz = orig.NumMyNonzeros();
73
73
  
74
 
  if( verbose_ )
 
74
  if( debug_ )
75
75
  {
76
76
    cout << "Orig Matrix:\n";
77
77
    cout << orig << endl;
101
101
  nnz = ia[n];
102
102
  strippedGraph.FillComplete();
103
103
  
104
 
  if( verbose_ )
 
104
  if( debug_ )
105
105
  {
106
106
    cout << "Stripped Graph\n";
107
107
    cout << strippedGraph;
110
110
  // Compute the BTF permutation only on the processor that has the graph.
111
111
  if ( matProc == myPID ) {
112
112
    
113
 
    if( verbose_ )
 
113
    if( debug_ )
114
114
      {
115
115
        cout << "-----------------------------------------\n";
116
116
        cout << "CRS Format Graph (stripped) \n";
173
173
        }
174
174
    }
175
175
    
176
 
    if( verbose_ ) {
 
176
    if( debug_ ) {
177
177
      cout << "-----------------------------------------\n";
178
178
      cout << "BTF Output (n = " << n << ")\n";
179
179
      cout << "-----------------------------------------\n";
213
213
  NewRowMap_ = Teuchos::rcp( new Epetra_Map( nGlobal, n, &newRangeElements[0], OldRowMap.IndexBase(), OldRowMap.Comm() ) );
214
214
  NewColMap_ = Teuchos::rcp( new Epetra_Map( nGlobal, n, &newDomainElements[0], OldColMap.IndexBase(), OldColMap.Comm() ) );
215
215
 
216
 
  if( verbose_ )
 
216
  if( debug_ )
217
217
  {
218
218
    cout << "New Row Map\n";
219
219
    cout << *NewRowMap_ << endl;
227
227
  NewGraph_->Import( strippedGraph, *Importer_, Insert );
228
228
  NewGraph_->FillComplete();
229
229
 
230
 
  if( verbose_ )
 
230
  if( debug_ )
231
231
  {
232
232
    cout << "NewGraph\n";
233
233
    cout << *NewGraph_;
237
237
  NewMatrix_->Import( orig, *Importer_, Insert );
238
238
  NewMatrix_->FillComplete();
239
239
 
240
 
  if( verbose_ )
 
240
  if( debug_ )
241
241
  {
242
242
    cout << "New CrsMatrix\n";
243
243
    cout << *NewMatrix_ << endl;