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
RevLine 
[48b662]1/**
[dfed1c]2 * @file solver_regular.hpp
[48b662]3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 13:11:47 2011
5 *
[dfed1c]6 * @brief VMG::SolverRegular
[48b662]7 *
8 */
9
[dfed1c]10#ifndef SOLVER_REGULAR_HPP_
11#define SOLVER_REGULAR_HPP_
[48b662]12
13#include "solver.hpp"
14
15namespace VMG
16{
17
18class Multigrid;
19
[dfed1c]20class SolverRegular : public Solver
[48b662]21{
[ac6d04]22public:
23 SolverRegular() :
24 Solver()
25 {}
26
27 SolverRegular(int size) :
28 Solver(size)
29 {}
30
[48b662]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
[dfed1c]38#endif /* SOLVER_REGULAR_HPP_ */
Note: See TracBrowser for help on using the repository browser.