| 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 |
|
|---|
| 15 | namespace VMG
|
|---|
| 16 | {
|
|---|
| 17 |
|
|---|
| 18 | class Multigrid;
|
|---|
| 19 |
|
|---|
| 20 | class SolverRegular : public Solver
|
|---|
| 21 | {
|
|---|
| 22 | public:
|
|---|
| 23 | SolverRegular() :
|
|---|
| 24 | Solver()
|
|---|
| 25 | {}
|
|---|
| 26 |
|
|---|
| 27 | SolverRegular(int size) :
|
|---|
| 28 | Solver(size)
|
|---|
| 29 | {}
|
|---|
| 30 |
|
|---|
| 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 |
|
|---|
| 38 | #endif /* SOLVER_REGULAR_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.