Doxygen
1.9.1
|
Files | |
file | tsgDConstructGridGlobal.hpp |
Class and data types used for dynamic construction of Global grids. | |
Classes | |
struct | TasGrid::NodeData |
Holds the pair of point index and model value, the struct is used in a std::forward_list. More... | |
struct | TasGrid::TensorData |
Holds the description of a single tensor candidate for inclusion into the grid. More... | |
class | TasGrid::DynamicConstructorDataGlobal |
Helper class that stores data from dynamic construction of a Global grid. More... | |
struct | TasGrid::SimpleConstructData |
Holds a std::forward_list of pairs of points indexes and values, and a MultiIndexSet of initial nodes. More... | |
Functions | |
template<class T > | |
std::vector< const T * > | TasGrid::makeReverseReferenceVector (const std::forward_list< T > &list) |
Takes a list and creates a vector of references in reversed order, needed for I/O so that read can be followed by push_front. . More... | |
template<bool use_ascii> | |
void | TasGrid::writeNodeDataList (const std::forward_list< NodeData > &data, std::ostream &os) |
Writes a NodeData std::forward_list to a file using either binary or ascii format. . More... | |
template<typename iomode > | |
std::forward_list< NodeData > | TasGrid::readNodeDataList (std::istream &is, size_t num_dimensions, size_t num_outputs) |
Reads a NodeData std::forward_list from a file using either binary or ascii format. . More... | |
template<typename iomode > | |
std::forward_list< TensorData > | TasGrid::readTensorDataList (std::istream &is, size_t num_dimensions) |
Reads a TensorData std::forward_list from a file using either binary or ascii format. More... | |
template<class RuleLike > | |
std::vector< double > | TasGrid::listToNodes (std::forward_list< NodeData > const &node_list, size_t num_dimensions, RuleLike const &rule) |
Using MultiIndexManipulations::indexesToNodes() convert the node_list to actual points according to the rule. More... | |
template<typename callable_method > | |
std::vector< double > | TasGrid::listToLocalNodes (std::forward_list< NodeData > const &node_list, size_t num_dimensions, callable_method rule) |
Using MultiIndexManipulations::indexesToNodes() convert the node_list to actual points according to the rule. More... | |
std::vector<const T*> TasGrid::makeReverseReferenceVector | ( | const std::forward_list< T > & | list | ) |
Takes a list and creates a vector of references in reversed order, needed for I/O so that read can be followed by push_front. .
void TasGrid::writeNodeDataList | ( | const std::forward_list< NodeData > & | data, |
std::ostream & | os | ||
) |
Writes a NodeData std::forward_list to a file using either binary or ascii format. .
std::forward_list<NodeData> TasGrid::readNodeDataList | ( | std::istream & | is, |
size_t | num_dimensions, | ||
size_t | num_outputs | ||
) |
Reads a NodeData std::forward_list from a file using either binary or ascii format. .
std::forward_list<TensorData> TasGrid::readTensorDataList | ( | std::istream & | is, |
size_t | num_dimensions | ||
) |
Reads a TensorData std::forward_list from a file using either binary or ascii format.
std::vector<double> TasGrid::listToNodes | ( | std::forward_list< NodeData > const & | node_list, |
size_t | num_dimensions, | ||
RuleLike const & | rule | ||
) |
Using MultiIndexManipulations::indexesToNodes() convert the node_list to actual points according to the rule.
std::vector<double> TasGrid::listToLocalNodes | ( | std::forward_list< NodeData > const & | node_list, |
size_t | num_dimensions, | ||
callable_method | rule | ||
) |
Using MultiIndexManipulations::indexesToNodes() convert the node_list to actual points according to the rule.