SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE Class Reference

Class for the system of linear equations for hierarchising. More...

#include <OperationPoleHierarchisationGeneral.hpp>

Inheritance diagram for sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE:
sgpp::base::SLE

Public Member Functions

size_t getDimension () const override
 
level_t getLevel () const
 
double getMatrixEntry (size_t i, size_t j) override
 Compute an entry of the matrix corresponding to the system of linear equations.
 
bool hasBoundary () const
 
 HierarchisationGeneralSLE (base::Basis< level_t, index_t > &basis, size_t dim, level_t level, bool isBasisHierarchical=true, bool hasBoundary=true)
 Constructor.
 
bool isBasisHierarchical () const
 
bool isMatrixEntryNonZero (size_t i, size_t j) override
 Determine whether an entry of the matrix corresponding to the system of linear equations does not vanish.
 
void setDimension (size_t dim)
 
void setHasBoundary (bool hasBoundary)
 
void setIsBasisHierarchical (bool isBasisHierarchical)
 
void setLevel (level_t level)
 
 ~HierarchisationGeneralSLE () override
 Virtual destructor.
 
- Public Member Functions inherited from sgpp::base::SLE
virtual size_t countNNZ ()
 Count all non-zero entries.
 
virtual bool isCloneable () const
 
virtual void matrixVectorMultiplication (const DataVector &x, DataVector &y)
 Multiply the matrix with a vector.
 
 SLE ()
 Constructor.
 
virtual ~SLE ()
 Destructor.
 

Protected Attributes

base::Basis< level_t, index_t > & basis
 1D basis
 
size_t dim
 dimensionality
 
bool hasBoundary_
 whether the full grid has points on the boundary
 
bool isBasisHierarchical_
 whether the basis is hierarchical or nodal
 
level_t level
 level of the full grid
 

Detailed Description

Class for the system of linear equations for hierarchising.

Constructor & Destructor Documentation

◆ HierarchisationGeneralSLE()

sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::HierarchisationGeneralSLE ( base::Basis< level_t, index_t > &  basis,
size_t  dim,
level_t  level,
bool  isBasisHierarchical = true,
bool  hasBoundary = true 
)

Constructor.

Parameters
basis1D basis
dimdimensionality
levellevel of the full grid
isBasisHierarchicalwhether the basis is hierarchical or nodal
hasBoundarywhether the full grid has points on the boundary

◆ ~HierarchisationGeneralSLE()

sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::~HierarchisationGeneralSLE ( )
override

Virtual destructor.

Member Function Documentation

◆ getDimension()

size_t sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::getDimension ( ) const
overridevirtual
Returns
dimensionality

Implements sgpp::base::SLE.

◆ getLevel()

level_t sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::getLevel ( ) const
Returns
level of the full grid

References level.

◆ getMatrixEntry()

double sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::getMatrixEntry ( size_t  i,
size_t  j 
)
overridevirtual

Compute an entry of the matrix corresponding to the system of linear equations.

Parameters
irow index
jcolumn index
Returns
entry of the matrix

Implements sgpp::base::SLE.

References sgpp::combigrid::HeterogeneousBasis::hierarchizeLevelIndex(), and level.

◆ hasBoundary()

bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::hasBoundary ( ) const
Returns
whether the full grid has points on the boundary

◆ isBasisHierarchical()

bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::isBasisHierarchical ( ) const
Returns
whether the basis is hierarchical or nodal

◆ isMatrixEntryNonZero()

bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::isMatrixEntryNonZero ( size_t  i,
size_t  j 
)
overridevirtual

Determine whether an entry of the matrix corresponding to the system of linear equations does not vanish.

Parameters
irow index
jcolumn index
Returns
whether the entry of the matrix is non-zero

Implements sgpp::base::SLE.

◆ setDimension()

void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setDimension ( size_t  dim)
Parameters
dimdimensionality

Referenced by sgpp::combigrid::OperationPoleHierarchisationGeneral::apply().

◆ setHasBoundary()

void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setHasBoundary ( bool  hasBoundary)
Parameters
hasBoundarywhether the full grid has points on the boundary

Referenced by sgpp::combigrid::OperationPoleHierarchisationGeneral::apply().

◆ setIsBasisHierarchical()

void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setIsBasisHierarchical ( bool  isBasisHierarchical)
Parameters
isBasisHierarchicalwhether the basis is hierarchical or nodal

◆ setLevel()

void sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setLevel ( level_t  level)
Parameters
levellevel of the full grid

References level.

Referenced by sgpp::combigrid::OperationPoleHierarchisationGeneral::apply().

Member Data Documentation

◆ basis

base::Basis<level_t, index_t>& sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::basis
protected

1D basis

◆ dim

◆ hasBoundary_

bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::hasBoundary_
protected

whether the full grid has points on the boundary

◆ isBasisHierarchical_

bool sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::isBasisHierarchical_
protected

whether the basis is hierarchical or nodal

◆ level


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