~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/la/DirectSolver.hh

  • Committer: logg
  • Date: 2002-09-13 12:55:37 UTC
  • Revision ID: devnull@localhost-20020913125537-gz6ry1id9xsvu6np
Tailorized "2002-09-13 07:55:37 by logg"
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2002 Johan Hoffman and Anders Logg.
 
2
// Licensed under the GNU GPL Version 2.
 
3
 
 
4
#ifndef __DIRECT_SOLVER_HH
 
5
#define __DIRECT_SOLVER_HH
 
6
 
 
7
class DenseMatrix;
 
8
class SparseMatrix;
 
9
class Vector;
 
10
 
 
11
class DirectSolver{
 
12
public:
 
13
 
 
14
  DirectSolver(){}
 
15
  ~DirectSolver(){}
 
16
 
 
17
  void LU    (DenseMatrix *LU);
 
18
  void Solve (DenseMatrix *LU, Vector *x, Vector *b);
 
19
  void Solve (SparseMatrix *A, Vector *x, Vector *b);
 
20
  
 
21
private:
 
22
  
 
23
  
 
24
  
 
25
  
 
26
};
 
27
 
 
28
#endif