Doxygen
1.9.1
|
Templates for non-adaptive sampling from lambda models. More...
#include "tsgAddonsCommon.hpp"
Go to the source code of this file.
Namespaces | |
TasGrid | |
Encapsulates the Tasmanian Sparse Grid module. | |
Functions | |
template<bool parallel_construction = true, bool overwrite_loaded = false> | |
void | TasGrid::loadNeededValues (std::function< void(double const x[], double y[], size_t thread_id)> model, TasmanianSparseGrid &grid, size_t num_threads) |
Loads the current grid with model values, does not perform any refinement. More... | |
template<bool parallel_construction = true, bool overwrite_loaded = false> | |
void | TasGrid::loadNeededValues (std::function< void(std::vector< double > const &x, std::vector< double > &y, size_t thread_id)> model, TasmanianSparseGrid &grid, size_t num_threads) |
Overload that uses vectors for the model inputs and outputs. More... | |
template<bool parallel_construction = true, bool overwrite_loaded = false> | |
void | TasGrid::loadNeededPoints (std::function< void(double const x[], double y[], size_t thread_id)> model, TasmanianSparseGrid &grid, size_t num_threads) |
Alias to loadNeededValues(), array variant. | |
template<bool parallel_construction = true, bool overwrite_loaded = false> | |
void | TasGrid::loadNeededPoints (std::function< void(std::vector< double > const &x, std::vector< double > &y, size_t thread_id)> model, TasmanianSparseGrid &grid, size_t num_threads) |
Alias to loadNeededValues(), vector variant. | |
Templates for non-adaptive sampling from lambda models.
Templates that call call a model at the needed points and load the corresponding model values.