source: src/solver/solver_regular.hpp@ ac6d04

Last change on this file since ac6d04 was ac6d04, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1666 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 638 bytes
Line 
1/**
2 * @file solver_regular.hpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 13:11:47 2011
5 *
6 * @brief VMG::SolverRegular
7 *
8 */
9
10#ifndef SOLVER_REGULAR_HPP_
11#define SOLVER_REGULAR_HPP_
12
13#include "solver.hpp"
14
15namespace VMG
16{
17
18class Multigrid;
19
20class SolverRegular : public Solver
21{
22public:
23 SolverRegular() :
24 Solver()
25 {}
26
27 SolverRegular(int size) :
28 Solver(size)
29 {}
30
31private:
32 void AssembleMatrix(const Grid& rhs); ///< Assembles all matrices and vectors.
33 void ExportSol(Grid& sol, Grid& rhs); ///< Exports the solution back to a given mesh.
34};
35
36}
37
38#endif /* SOLVER_REGULAR_HPP_ */
Note: See TracBrowser for help on using the repository browser.