Mtl4Solver.h 1.57 KB
Newer Older
Thomas Witkowski's avatar
Thomas Witkowski committed
1
2
3
4
// ============================================================================
// ==                                                                        ==
// == AMDiS - Adaptive multidimensional simulations                          ==
// ==                                                                        ==
5
// ==  http://www.amdis-fem.org                                              ==
Thomas Witkowski's avatar
Thomas Witkowski committed
6
7
// ==                                                                        ==
// ============================================================================
8
9
10
11
12
13
14
15
16
17
18
19
//
// Software License for AMDiS
//
// Copyright (c) 2010 Dresden University of Technology 
// All rights reserved.
// Authors: Simon Vey, Thomas Witkowski et al.
//
// This file is part of AMDiS
//
// See also license.opensource.txt in the distribution.


Thomas Witkowski's avatar
Thomas Witkowski committed
20
21
22
23
24
25
26
27
28
29

/** \file Mtl4Solver.h */

#ifndef AMDIS_MTL4_SOLVER_H
#define AMDIS_MTL4_SOLVER_H

#include "ParallelProblemStatBase.h"

namespace AMDiS {

30
31
32
33
34
35
36
37
38
39
40
41
42
  namespace Parallel {
    class Mtl4Solver : public ParallelProblemStatBase
    {
      void addPMTLSolvers();
      //void addPMTLPrecons();
    public:
      Mtl4Solver(std::string nameStr,
             ProblemIterationInterface *problemIteration = NULL)
        : ParallelProblemStatBase(nameStr, problemIteration)
      {
	addPMTLSolvers();
	//addPMTLPrecons();
      }
Thomas Witkowski's avatar
Thomas Witkowski committed
43
44

    
45
46
      ~Mtl4Solver()
      {}
Thomas Witkowski's avatar
Thomas Witkowski committed
47
48


49
50
51
52
      void solve(AdaptInfo *adaptInfo, bool fixedMatrix = false);
      void createPrecon();
      void createSolver();
    };
Thomas Witkowski's avatar
Thomas Witkowski committed
53
54
  }

55
56
  typedef Parallel::Mtl4Solver ParallelProblemStat;
  typedef ParallelProblemStat  ProblemStat;
Thomas Witkowski's avatar
Thomas Witkowski committed
57
58
59
}

#endif