![]() |
SG++-Doxygen-Documentation
|
Operation on a pole of a full grid. More...
#include <OperationPole.hpp>
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. | |
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).
|
inline |
Default constructor.
|
inlinevirtual |
Virtual destructor.
|
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.
[in,out] | values | data vector for all full grid points (the order is given by IndexVectorRange) |
[in] | level | level of the full grid |
[in] | hasBoundary | whether the full grid has points on the boundary |
References apply(), and level.
Referenced by apply().
|
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.
[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 |
Implemented in sgpp::combigrid::OperationPoleDehierarchisationLinear, sgpp::combigrid::OperationPoleHierarchisationGeneral, sgpp::combigrid::OperationPoleHierarchisationLinear, sgpp::combigrid::OperationPoleNodalisationBspline, and sgpp::combigrid::OperationPoleNodalisationLinear.