~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to dolfin/la/uBlasMatrix.cpp

  • Committer: Kent-Andre Mardal
  • Date: 2008-05-19 14:21:52 UTC
  • mfrom: (2668.5.1 trunk)
  • mto: (2668.1.16 trunk)
  • mto: This revision was merged to the branch mainline in revision 2670.
  • Revision ID: kent-and@simula.no-20080519142152-7zb7r4htl7111izh
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "ublas.h"
2
 
#include "uBlasFactory.h"
3
 
#include "uBlasMatrix.h"
4
 
 
5
 
namespace dolfin 
6
 
{
7
 
 
8
 
template <> 
9
 
 LinearAlgebraFactory& uBlasMatrix<ublas_sparse_matrix>::factory() const
10
 
 { 
11
 
   return uBlasFactory::instance(); 
12
 
 }
13
 
 
14
 
 
15
 
template <> 
16
 
 dolfin::LinearAlgebraFactory& dolfin::uBlasMatrix<ublas_dense_matrix>::factory() const
17
 
 { 
18
 
   return dolfin::uBlasFactory::instance(); 
19
 
 }
20
 
 
21
 
}