![]() |
SG++-Doxygen-Documentation
|
Operation of hierarchising values on a 1D pole of a full grid with general basis functions by solving a linear system. More...
#include <OperationPoleHierarchisationGeneral.hpp>
Classes | |
class | HierarchisationGeneralSLE |
Class for the system of linear equations for hierarchising. More... | |
Public Member Functions | |
void | apply (base::DataVector &values, size_t start, size_t step, size_t count, level_t level, bool hasBoundary=true) override |
Apply the operator on data. | |
OperationPoleHierarchisationGeneral (base::Basis< level_t, index_t > &basis, bool isBasisHierarchical=true) | |
Constructor. | |
~OperationPoleHierarchisationGeneral () override | |
Virtual destructor. | |
![]() | |
virtual void | apply (base::DataVector &values, level_t level, bool hasBoundary=true) |
Apply the operator on data. | |
OperationPole () | |
Default constructor. | |
virtual | ~OperationPole () |
Virtual destructor. | |
Static Public Member Functions | |
static void | fromHeterogenerousBasis (const HeterogeneousBasis &basis, std::vector< OperationPole * > &operation) |
Factory method to create a vector of pointers to OperationPoleHierarchisationGeneral objects from a HeterogeneousBasis. | |
static void | fromHeterogenerousBasis (const HeterogeneousBasis &basis, std::vector< std::unique_ptr< OperationPole > > &operation) |
Factory method to create a vector of unique_ptr to OperationPoleHierarchisationGeneral objects from a HeterogeneousBasis. | |
Protected Attributes | |
HierarchisationGeneralSLE | sle |
system of linear equations for the hierarchising | |
base::sle_solver::Auto | sleSolver |
solver for the system of linear equations | |
Operation of hierarchising values on a 1D pole of a full grid with general basis functions by solving a linear system.
|
explicit |
Constructor.
basis | 1D basis |
isBasisHierarchical | whether the basis is hierarchical or nodal |
|
override |
Virtual destructor.
|
overridevirtual |
Apply the operator on data.
[in,out] | values | data vector for all full grid points (the order is given by IndexVectorRange) |
[in] | start | sequence number of the first grid point of the pole |
[in] | step | difference of sequence numbers of two subsequent grid points of the pole |
[in] | count | number of grid points of the pole |
[in] | level | level of the full grid |
[in] | hasBoundary | whether the full grid has points on the boundary |
Implements sgpp::combigrid::OperationPole.
References level, sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setDimension(), sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setHasBoundary(), sgpp::combigrid::OperationPoleHierarchisationGeneral::HierarchisationGeneralSLE::setLevel(), sle, sleSolver, and sgpp::base::sle_solver::Auto::solve().
|
static |
Factory method to create a vector of pointers to OperationPoleHierarchisationGeneral objects from a HeterogeneousBasis.
[in] | basis | multivariate basis |
[out] | operation | vector of pointers to OperationPoleHierarchisationGeneral objects corresponding to the given basis |
References sgpp::combigrid::HeterogeneousBasis::getBases1d(), and sgpp::combigrid::HeterogeneousBasis::isHierarchical().
|
static |
Factory method to create a vector of unique_ptr to OperationPoleHierarchisationGeneral objects from a HeterogeneousBasis.
[in] | basis | multivariate basis |
[out] | operation | vector of unique_ptr to OperationPoleHierarchisationGeneral objects corresponding to the given basis |
References sgpp::combigrid::HeterogeneousBasis::getBases1d(), and sgpp::combigrid::HeterogeneousBasis::isHierarchical().
|
protected |
system of linear equations for the hierarchising
Referenced by apply().
|
protected |
solver for the system of linear equations
Referenced by apply().