9 #ifndef __IPFILTER_HPP__ 10 #define __IPFILTER_HPP__ 43 for (
Index i=0; i<ncoor; i++) {
44 if (vals[i] <=
vals_[i]) {
62 for (
Index i=0; i<ncoor; i++) {
63 if (vals[i] >
vals_[i]) {
129 bool Acceptable(std::vector<Number> vals)
const;
133 void AddEntry(std::vector<Number> vals,
Index iteration);
139 std::vector<Number> vals(2);
148 std::vector<Number> vals(2);
152 AddEntry(vals, iteration);
void AddEntry(Number val1, Number val2, Index iteration)
FilterEntry()
Default Constructor.
std::list< FilterEntry * > filter_list_
List storing the filter entries.
double Number
Type of all numbers.
bool Dominated(std::vector< Number > vals) const
Check if this entry is dominated by given coordinates.
~FilterEntry()
Default Destructor.
Number val(Index i) const
Index dim_
Dimension of the filter (number of coordinates per entry)
int Index
Type of all indices of vectors, matrices etc.
const Index iter_
iteration number in which this entry was added to filter
Class for one filter entry.
~Filter()
Default Destructor.
Class responsible for all message output.
void operator=(const FilterEntry &)
Overloaded Equals Operator.
std::vector< Number > vals_
values defining the coordinates of the entry
bool Acceptable(std::vector< Number > vals) const
Check acceptability of pair (phi,theta) with respect to this filter entry.
bool Acceptable(Number val1, Number val2) const