SG++-Doxygen-Documentation
GridConversion.hpp File Reference

Namespaces

 sgpp
 This header contains some utility functions.
 
 sgpp::combigrid
 

Enumerations

enum  sgpp::combigrid::GridConversionTypes { sgpp::combigrid::GridConversionTypes::ALLSUBSPACES, sgpp::combigrid::GridConversionTypes::COMPLETESUBSPACES }
 

Functions

std::shared_ptr< TreeStorage< uint8_t > > sgpp::combigrid::allStorageLevels (base::HashGridStorage &storage)
 Creates a level structure from all levels that occur in the HashGridStorage. More...
 
sgpp::base::DataVector sgpp::combigrid::calculateInterpolationCoefficientsForConvertedExpUniformBoundaryCombigird (std::shared_ptr< sgpp::base::Grid > &grid, sgpp::base::GridStorage &gridStorage, std::shared_ptr< sgpp::combigrid::CombigridMultiOperation > &combigridInterpolationOperation, std::shared_ptr< sgpp::combigrid::TreeStorage< uint8_t >> const &levelStructure)
 after a combigrid has been converted to a hierarchical sparse grid via convertCombigridToHierarchicalSparseGrid with this operation the coefficients for the hierarchical sparse grid interpolation can be calculated More...
 
std::shared_ptr< TreeStorage< uint8_t > > sgpp::combigrid::completeStorageLevels (base::HashGridStorage &storage)
 Creates a level structure from all levels of which all points occur in the HashGridStorage. More...
 
void sgpp::combigrid::convertCombigridToHierarchicalSparseGrid (std::shared_ptr< TreeStorage< uint8_t >> levelStructure, base::HashGridStorage &storage)
 Takes the levels from levelStructure and stores its point in the given HashGridStorage (points without boundary) More...
 
void sgpp::combigrid::convertexpUniformBoundaryCombigridToHierarchicalSparseGrid (std::shared_ptr< TreeStorage< uint8_t >> levelStructure, base::HashGridStorage &storage)
 Takes the levels from levelStructure and stores its point in the given HashGridStorage (points with boundary) More...
 
std::shared_ptr< TreeStorage< uint8_t > > sgpp::combigrid::convertHierarchicalSparseGridToCombigrid (base::HashGridStorage &storage, GridConversionTypes conversionType)
 Creates a level structure for the levels that occur in the HashGridStorage. More...
 
sgpp::base::DataMatrix sgpp::combigrid::convertLevelStructureToGridPoints (std::shared_ptr< sgpp::combigrid::TreeStorage< uint8_t >> const &levelStructure, size_t numDimensions)
 converts a given level structure from the combigrid module into a matrix containing all grid points from these levels More...