source:
src/solver/solver_regular.hpp@
ac6d04
| Last change on this file since ac6d04 was ac6d04, checked in by , 14 years ago | |
|---|---|
|
|
| File size: 638 bytes | |
| Rev | Line | |
|---|---|---|
| [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 | ||
| 15 | namespace VMG | |
| 16 | { | |
| 17 | ||
| 18 | class Multigrid; | |
| 19 | ||
| [dfed1c] | 20 | class SolverRegular : public Solver |
| [48b662] | 21 | { |
| [ac6d04] | 22 | public: |
| 23 | SolverRegular() : | |
| 24 | Solver() | |
| 25 | {} | |
| 26 | ||
| 27 | SolverRegular(int size) : | |
| 28 | Solver(size) | |
| 29 | {} | |
| 30 | ||
| [48b662] | 31 | private: |
| 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.
