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

Operation of nodalising values on a 1D pole of a full grid with linear basis functions. More...

#include <OperationPoleNodalisationLinear.hpp>

Inheritance diagram for sgpp::combigrid::OperationPoleNodalisationLinear:
sgpp::combigrid::OperationPole

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.
 
 OperationPoleNodalisationLinear ()
 Default constructor.
 
 ~OperationPoleNodalisationLinear () override
 Virtual destructor.
 
- Public Member Functions inherited from sgpp::combigrid::OperationPole
virtual void apply (base::DataVector &values, level_t level, bool hasBoundary=true)
 Apply the operator on data.
 
 OperationPole ()
 Default constructor.
 
virtual ~OperationPole ()
 Virtual destructor.
 

Detailed Description

Operation of nodalising values on a 1D pole of a full grid with linear basis functions.

"Nodalisation" refers to calculating the interpolation coefficients for the nodal basis (analogously to hierarchisation for the hierarchical basis).

This class only exists for the sake of completeness; as the interpolation coefficients equal the values at the grid points, this operation is the identity operation.

Constructor & Destructor Documentation

◆ OperationPoleNodalisationLinear()

sgpp::combigrid::OperationPoleNodalisationLinear::OperationPoleNodalisationLinear ( )

Default constructor.

◆ ~OperationPoleNodalisationLinear()

sgpp::combigrid::OperationPoleNodalisationLinear::~OperationPoleNodalisationLinear ( )
override

Virtual destructor.

Member Function Documentation

◆ apply()

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

Apply the operator on data.

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

Implements sgpp::combigrid::OperationPole.


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