SG++-Doxygen-Documentation
|
Abstract definition of a System that is used to solve elliptic partial differential equations. More...
#include <OperationEllipticPDESolverSystem.hpp>
Public Member Functions | |
virtual sgpp::base::DataVector * | generateRHS ()=0 |
generates the right hand side of the system More... | |
size_t | getNumGridPointsComplete () |
Returns the number of grid points for the complete grid. More... | |
size_t | getNumGridPointsInner () |
Returns the number of grid points for the inner grid. More... | |
virtual void | mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)=0 |
Multiplicates a vector with the matrix \( L \). More... | |
OperationEllipticPDESolverSystem (sgpp::base::Grid &SparseGrid, sgpp::base::DataVector &rhs) | |
Constructor. More... | |
virtual | ~OperationEllipticPDESolverSystem () |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationMatrix | |
OperationMatrix () | |
Constructor. More... | |
virtual | ~OperationMatrix () |
Destructor. More... | |
Protected Attributes | |
sgpp::base::Grid * | BoundGrid |
Pointer to the grid object. More... | |
size_t | numGridpointsComplete |
Stores number of gridpoints, complete grid. More... | |
size_t | numGridpointsInner |
Stores number of gridpoints, inner grid. More... | |
sgpp::base::DataVector * | rhs |
the right hand side of the system More... | |
Abstract definition of a System that is used to solve elliptic partial differential equations.
So an instance of this class has to pass to any SLE Solver used in SGpp.
\(L \vec{u} = rhs\)
L: space discretization (L-Operator) rhs: right hand side
sgpp::pde::OperationEllipticPDESolverSystem::OperationEllipticPDESolverSystem | ( | sgpp::base::Grid & | SparseGrid, |
sgpp::base::DataVector & | rhs | ||
) |
Constructor.
SparseGrid | the grid, for which the system should be solved |
rhs | the right hand side of the corresponding system |
|
virtual |
Destructor.
|
pure virtual |
generates the right hand side of the system
Implemented in sgpp::pde::OperationEllipticPDESolverSystemDirichlet, and sgpp::pde::OperationEllipticPDESolverSystemFreeBoundaries.
size_t sgpp::pde::OperationEllipticPDESolverSystem::getNumGridPointsComplete | ( | ) |
Returns the number of grid points for the complete grid.
References numGridpointsComplete.
Referenced by sgpp::pde::PoissonEquationSolver::solvePDE().
size_t sgpp::pde::OperationEllipticPDESolverSystem::getNumGridPointsInner | ( | ) |
Returns the number of grid points for the inner grid.
References numGridpointsInner.
Referenced by sgpp::pde::PoissonEquationSolver::solvePDE().
|
pure virtual |
Multiplicates a vector with the matrix \( L \).
alpha | sgpp::base::DataVector that contains the ansatzfunctions' coefficients |
result | sgpp::base::DataVector into which the result of the space discretization operation is stored |
Implements sgpp::base::OperationMatrix.
Implemented in sgpp::pde::OperationEllipticPDESolverSystemDirichlet, and sgpp::pde::OperationEllipticPDESolverSystemFreeBoundaries.
|
protected |
|
protected |
Stores number of gridpoints, complete grid.
Referenced by getNumGridPointsComplete().
|
protected |
Stores number of gridpoints, inner grid.
Referenced by getNumGridPointsInner(), and sgpp::pde::OperationEllipticPDESolverSystemDirichlet::OperationEllipticPDESolverSystemDirichlet().
|
protected |
the right hand side of the system
Referenced by sgpp::pde::OperationEllipticPDESolverSystemFreeBoundaries::generateRHS(), sgpp::pde::OperationEllipticPDESolverSystemDirichlet::generateRHS(), and sgpp::pde::OperationEllipticPDESolverSystemDirichlet::getSolutionBoundGrid().