|
| | SparseGrid (const std::string &funcl, const std::vector< Value *> &args, const std::vector< std::string > &gmin, const std::vector< std::string > &gmax, const std::vector< unsigned > &nbin, bool dospline, bool usederiv) |
| |
| virtual | ~SparseGrid () |
| |
| void | addKernel (const KernelFunctions &kernel) |
| | add a kernel function to the grid More...
|
| |
| void | addValue (const std::vector< unsigned > &indices, double value) |
| |
| virtual void | addValue (index_t index, double value)=0 |
| | add to grid value More...
|
| |
| void | addValue (const std::vector< unsigned > &indices, double value) |
| |
| void | addValue (index_t index, double value) override |
| | add to grid value More...
|
| |
| void | addValueAndDerivatives (const std::vector< unsigned > &indices, double value, std::vector< double > &der) |
| |
| virtual void | addValueAndDerivatives (index_t index, double value, std::vector< double > &der)=0 |
| | add to grid value and derivatives More...
|
| |
| void | addValueAndDerivatives (const std::vector< unsigned > &indices, double value, std::vector< double > &der) |
| |
| void | addValueAndDerivatives (index_t index, double value, std::vector< double > &der) override |
| | add to grid value and derivatives More...
|
| |
| double | findMaximalPathMinimum (const std::vector< double > &source, const std::vector< double > &sink) |
| | Find the maximum over paths of the minimum value of the gridded function along the paths for all paths of neighboring grid lattice points from a source point to a sink point. More...
|
| |
| std::vector< std::string > | getArgNames () const |
| | get argument names of this grid More...
|
| |
| double | getBinVolume () const |
| | get bin volume More...
|
| |
| unsigned | getDimension () const |
| | get grid dimension More...
|
| |
| std::vector< double > | getDx () const |
| | get bin size More...
|
| |
| double | getDx (index_t j) const |
| |
| index_t | getIndex (const std::vector< unsigned > &indices) const |
| |
| index_t | getIndex (const std::vector< double > &x) const |
| |
| void | getIndices (index_t index, std::vector< unsigned > &rindex) const |
| | methods to handle grid indices More...
|
| |
| void | getIndices (const std::vector< double > &x, std::vector< unsigned > &rindex) const |
| |
| std::vector< unsigned > | getIndices (index_t index) const |
| |
| std::vector< unsigned > | getIndices (const std::vector< double > &x) const |
| |
| std::vector< bool > | getIsPeriodic () const |
| | get if periodic More...
|
| |
| std::vector< std::string > | getMax () const |
| | get upper boundary More...
|
| |
| index_t | getMaxSize () const |
| |
| double | getMaxValue () const override |
| | get maximum value More...
|
| |
| std::vector< std::string > | getMin () const |
| | get lower boundary More...
|
| |
| double | getMinValue () const override |
| | get minimum value More...
|
| |
| std::vector< unsigned > | getNbin () const |
| | get number of bins More...
|
| |
| std::vector< index_t > | getNearestNeighbors (const index_t index) const |
| | get nearest neighbors (those separated by exactly one lattice unit) More...
|
| |
| std::vector< index_t > | getNearestNeighbors (const std::vector< unsigned > &indices) const |
| |
| std::vector< index_t > | getNeighbors (index_t index, const std::vector< unsigned > &neigh) const |
| | get neighbors More...
|
| |
| std::vector< index_t > | getNeighbors (const std::vector< unsigned > &indices, const std::vector< unsigned > &neigh) const |
| |
| std::vector< index_t > | getNeighbors (const std::vector< double > &x, const std::vector< unsigned > &neigh) const |
| |
| std::vector< double > | getPoint (index_t index) const |
| |
| std::vector< double > | getPoint (const std::vector< unsigned > &indices) const |
| |
| std::vector< double > | getPoint (const std::vector< double > &x) const |
| |
| void | getPoint (index_t index, std::vector< double > &point) const |
| | faster versions relying on preallocated vectors More...
|
| |
| void | getPoint (const std::vector< unsigned > &indices, std::vector< double > &point) const |
| |
| void | getPoint (const std::vector< double > &x, std::vector< double > &point) const |
| |
| index_t | getSize () const override |
| | get grid size More...
|
| |
| double | getValue (const std::vector< unsigned > &indices) const |
| |
| double | getValue (const std::vector< double > &x) const |
| |
| double | getValue (const std::vector< double > &x) const |
| | this is to access to Grid:: version of these methods (allowing overloading of virtual methods) More...
|
| |
| virtual double | getValue (index_t index) const=0 |
| | this is to access to Grid:: version of these methods (allowing overloading of virtual methods) More...
|
| |
| double | getValue (const std::vector< unsigned > &indices) const |
| | this is to access to Grid:: version of these methods (allowing overloading of virtual methods) More...
|
| |
| double | getValue (index_t index) const override |
| | get grid value More...
|
| |
| double | getValueAndDerivatives (const std::vector< unsigned > &indices, std::vector< double > &der) const |
| |
| double | getValueAndDerivatives (const std::vector< double > &x, std::vector< double > &der) const |
| |
| double | getValueAndDerivatives (const std::vector< unsigned > &indices, std::vector< double > &der) const |
| |
| double | getValueAndDerivatives (const std::vector< double > &x, std::vector< double > &der) const |
| |
| virtual double | getValueAndDerivatives (index_t index, std::vector< double > &der) const=0 |
| | get grid value and derivatives More...
|
| |
| double | getValueAndDerivatives (index_t index, std::vector< double > &der) const override |
| | get grid value and derivatives More...
|
| |
| bool | hasDerivatives () const |
| | get if the grid has derivatives More...
|
| |
| void | Init (const std::string &funcl, const std::vector< std::string > &names, const std::vector< std::string > &gmin, const std::vector< std::string > &gmax, const std::vector< unsigned > &nbin, bool dospline, bool usederiv, const std::vector< bool > &isperiodic, const std::vector< std::string > &pmin, const std::vector< std::string > &pmax) |
| | this is the real initializator More...
|
| |
| void | resetToDefaultOutputFmt () |
| | reset output format to the default %14.9f format More...
|
| |
| void | setOutputFmt (const std::string &ss) |
| | set output format More...
|
| |
| void | setValue (const std::vector< unsigned > &indices, double value) |
| |
| void | setValue (const std::vector< unsigned > &indices, double value) |
| |
| virtual void | setValue (index_t index, double value)=0 |
| | set grid value More...
|
| |
| void | setValue (index_t index, double value) override |
| | set grid value More...
|
| |
| void | setValueAndDerivatives (const std::vector< unsigned > &indices, double value, std::vector< double > &der) |
| |
| virtual void | setValueAndDerivatives (index_t index, double value, std::vector< double > &der)=0 |
| | set grid value and derivatives More...
|
| |
| void | setValueAndDerivatives (const std::vector< unsigned > &indices, double value, std::vector< double > &der) |
| |
| void | setValueAndDerivatives (index_t index, double value, std::vector< double > &der) override |
| | set grid value and derivatives More...
|
| |
| void | writeCubeFile (OFile &, const double &lunit) |
| | dump grid to gaussian cube file More...
|
| |
| void | writeHeader (OFile &file) |
| | write header for grid file More...
|
| |
| void | writeToFile (OFile &) override |
| | dump grid on file More...
|
| |