SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::combigrid::OperationPole Class Referenceabstract

Operation on a pole of a full grid. More...

#include <OperationPole.hpp>

Inheritance diagram for sgpp::combigrid::OperationPole:
sgpp::combigrid::OperationPoleDehierarchisationLinear sgpp::combigrid::OperationPoleHierarchisationGeneral sgpp::combigrid::OperationPoleHierarchisationLinear sgpp::combigrid::OperationPoleNodalisationBspline sgpp::combigrid::OperationPoleNodalisationLinear

Public Member Functions

virtual void apply (base::DataVector &values, level_t level, bool hasBoundary=true)
 Apply the operator on data.
 
virtual void apply (base::DataVector &values, size_t start, size_t step, size_t count, level_t level, bool hasBoundary=true)=0
 Apply the operator on data.
 
 OperationPole ()
 Default constructor.
 
virtual ~OperationPole ()
 Virtual destructor.
 

Detailed Description

Operation on a pole of a full grid.

A pole is a one-dimensional sub-grid (1D entries of the index vector/coordinates are fixed in all dimensions but one).

Constructor & Destructor Documentation

◆ OperationPole()

sgpp::combigrid::OperationPole::OperationPole ( )
inline

Default constructor.

◆ ~OperationPole()

virtual sgpp::combigrid::OperationPole::~OperationPole ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

◆ apply() [1/2]

virtual void sgpp::combigrid::OperationPole::apply ( base::DataVector values,
level_t  level,
bool  hasBoundary = true 
)
inlinevirtual

Apply the operator on data.

This operates in-place on the whole data vector (which is assumed to hold data for all full grid points), so this should only be called for 1D grids.

Parameters
[in,out]valuesdata vector for all full grid points (the order is given by IndexVectorRange)
[in]levellevel of the full grid
[in]hasBoundarywhether the full grid has points on the boundary

References apply(), and level.

Referenced by apply().

◆ apply() [2/2]

virtual void sgpp::combigrid::OperationPole::apply ( base::DataVector values,
size_t  start,
size_t  step,
size_t  count,
level_t  level,
bool  hasBoundary = true 
)
pure virtual

Apply the operator on data.

This operates in-place on a subset of the given data vector (which is assumed to hold data for all full grid points), where the specified subset exactly corresponds to the points of the pole.

Parameters
[in,out]valuesdata vector for all full grid points (the order is given by IndexVectorRange)
[in]startsequence number of the first grid point of the pole
[in]stepdifference of sequence numbers of two subsequent grid points of the pole
[in]countnumber of grid points of the pole
[in]levellevel of the full grid
[in]hasBoundarywhether the full grid has points on the boundary

Implemented in sgpp::combigrid::OperationPoleDehierarchisationLinear, sgpp::combigrid::OperationPoleHierarchisationGeneral, sgpp::combigrid::OperationPoleHierarchisationLinear, sgpp::combigrid::OperationPoleNodalisationBspline, and sgpp::combigrid::OperationPoleNodalisationLinear.


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