SG++-Doxygen-Documentation
sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet Class Reference

This class uses OperationEllipticPDESolverSystemDirichlet to define a solver system for the Poission Equation. More...

#include <PoissonEquationEllipticPDESolverSystemDirichlet.hpp>

Inheritance diagram for sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet:
sgpp::pde::OperationEllipticPDESolverSystemDirichlet sgpp::pde::OperationEllipticPDESolverSystem sgpp::base::OperationMatrix

Public Member Functions

 PoissonEquationEllipticPDESolverSystemDirichlet (sgpp::base::Grid &SparseGrid, sgpp::base::DataVector &rhs)
 Constructor. More...
 
virtual ~PoissonEquationEllipticPDESolverSystemDirichlet ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::OperationEllipticPDESolverSystemDirichlet
virtual sgpp::base::DataVectorgenerateRHS ()
 generates the right hand side of the system More...
 
virtual sgpp::base::DataVectorgetGridCoefficientsForCG ()
 gets a pointer to the sparse grids coefficients used in the CG method to solve one timestep. More...
 
virtual void getSolutionBoundGrid (sgpp::base::DataVector &Solution, sgpp::base::DataVector &SolutionInner)
 Gets the solution for the complete grid. More...
 
virtual void mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 Multiplicates a vector with the matrix \( L \). More...
 
 OperationEllipticPDESolverSystemDirichlet (sgpp::base::Grid &SparseGrid, sgpp::base::DataVector &rhs)
 Constructor. More...
 
virtual ~OperationEllipticPDESolverSystemDirichlet ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::OperationEllipticPDESolverSystem
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...
 
 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 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::OperationMatrixLaplace_Complete
 
sgpp::base::OperationMatrixLaplace_Inner
 
- Protected Attributes inherited from sgpp::pde::OperationEllipticPDESolverSystemDirichlet
sgpp::base::DataVectoralpha_inner
 Pointer to the alphas (ansatzfunctions' coefficients; inner points only) More...
 
sgpp::base::DirichletUpdateVectorBoundaryUpdate
 Routine to modify the boundaries/inner points of the grid. More...
 
sgpp::base::DirichletGridConverterGridConverter
 Class that allows a simple conversion between a grid with and a without boundary points. More...
 
sgpp::base::GridInnerGrid
 Pointer to the inner grid object. More...
 
sgpp::base::DataVectorrhs_inner
 rhs for the inner grid More...
 
- Protected Attributes inherited from sgpp::pde::OperationEllipticPDESolverSystem
sgpp::base::GridBoundGrid
 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::DataVectorrhs
 the right hand side of the system More...
 

Detailed Description

This class uses OperationEllipticPDESolverSystemDirichlet to define a solver system for the Poission Equation.

For the mult-routine only the Laplace-Operator is required

Constructor & Destructor Documentation

◆ PoissonEquationEllipticPDESolverSystemDirichlet()

sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::PoissonEquationEllipticPDESolverSystemDirichlet ( sgpp::base::Grid SparseGrid,
sgpp::base::DataVector rhs 
)

Constructor.

Parameters
SparseGridreference to a sparse grid on which the Poisson Equation should be solved
rhsthe 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().

◆ ~PoissonEquationEllipticPDESolverSystemDirichlet()

sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::~PoissonEquationEllipticPDESolverSystemDirichlet ( )
virtual

Member Function Documentation

◆ applyLOperatorComplete()

void sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::applyLOperatorComplete ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result 
)
protectedvirtual

applies the PDE's system matrix, on complete grid - with boundaries

Parameters
alphathe coefficients of the sparse grid's ansatzfunctions
resultreference to the sgpp::base::DataVector into which the result is written

Implements sgpp::pde::OperationEllipticPDESolverSystemDirichlet.

References Laplace_Complete, and sgpp::base::OperationMatrix::mult().

◆ applyLOperatorInner()

void sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::applyLOperatorInner ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result 
)
protectedvirtual

applies the PDE's system matrix, on inner grid only

Parameters
alphathe coefficients of the sparse grid's ansatzfunctions
resultreference to the sgpp::base::DataVector into which the result is written

Implements sgpp::pde::OperationEllipticPDESolverSystemDirichlet.

References Laplace_Inner, and sgpp::base::OperationMatrix::mult().

Member Data Documentation

◆ Laplace_Complete

sgpp::base::OperationMatrix* sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::Laplace_Complete
protected

◆ Laplace_Inner

sgpp::base::OperationMatrix* sgpp::pde::PoissonEquationEllipticPDESolverSystemDirichlet::Laplace_Inner
protected

The documentation for this class was generated from the following files: