SG++-Doxygen-Documentation
|
This class uses OperationEllipticPDESolverSystemDirichlet to define a solver system for the Poission Equation. More...
#include <PoissonEquationEllipticPDESolverSystemDirichlet.hpp>
Protected Member Functions | |
void | applyLOperatorComplete (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) |
applies the PDE's system matrix, on complete grid - with boundaries More... | |
void | applyLOperatorInner (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) |
applies the PDE's system matrix, on inner grid only More... | |
Protected Attributes | |
sgpp::base::OperationMatrix * | Laplace_Complete |
sgpp::base::OperationMatrix * | Laplace_Inner |
Protected Attributes inherited from sgpp::pde::OperationEllipticPDESolverSystemDirichlet | |
sgpp::base::DataVector * | alpha_inner |
Pointer to the alphas (ansatzfunctions' coefficients; inner points only) More... | |
sgpp::base::DirichletUpdateVector * | BoundaryUpdate |
Routine to modify the boundaries/inner points of the grid. More... | |
sgpp::base::DirichletGridConverter * | GridConverter |
Class that allows a simple conversion between a grid with and a without boundary points. More... | |
sgpp::base::Grid * | InnerGrid |
Pointer to the inner grid object. More... | |
sgpp::base::DataVector * | rhs_inner |
rhs for the inner grid More... | |
Protected Attributes inherited from sgpp::pde::OperationEllipticPDESolverSystem | |
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... | |
This class uses OperationEllipticPDESolverSystemDirichlet to define a solver system for the Poission Equation.
For the mult-routine only the Laplace-Operator is required
sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::PoissonEquationEllipticPDESolverSystemDirichlet | ( | sgpp::base::Grid & | SparseGrid, |
sgpp::base::DataVector & | rhs | ||
) |
Constructor.
SparseGrid | reference to a sparse grid on which the Poisson Equation should be solved |
rhs | the right hand side for solving the elliptic PDE |
References sgpp::pde::OperationEllipticPDESolverSystem::BoundGrid, sgpp::op_factory::createOperationLaplace(), sgpp::pde::OperationEllipticPDESolverSystemDirichlet::InnerGrid, Laplace_Complete, Laplace_Inner, and ~PoissonEquationEllipticPDESolverSystemDirichlet().
|
virtual |
Destructor.
References Laplace_Complete, and Laplace_Inner.
Referenced by PoissonEquationEllipticPDESolverSystemDirichlet().
|
protectedvirtual |
applies the PDE's system matrix, on complete grid - with boundaries
alpha | the coefficients of the sparse grid's ansatzfunctions |
result | reference to the sgpp::base::DataVector into which the result is written |
Implements sgpp::pde::OperationEllipticPDESolverSystemDirichlet.
References Laplace_Complete, and sgpp::base::OperationMatrix::mult().
|
protectedvirtual |
applies the PDE's system matrix, on inner grid only
alpha | the coefficients of the sparse grid's ansatzfunctions |
result | reference to the sgpp::base::DataVector into which the result is written |
Implements sgpp::pde::OperationEllipticPDESolverSystemDirichlet.
References Laplace_Inner, and sgpp::base::OperationMatrix::mult().
|
protected |
|
protected |