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;
139 std::vector<Number> vals(2);
148 std::vector<Number> vals(2);
bool Acceptable(std::vector< Number > vals) const
Check acceptability of pair (phi,theta) with respect to this filter entry.
void AddEntry(Number val1, Number val2, Index iteration)
Number val(Index i) const
FilterEntry()
Default Constructor.
Filter()
Default Constructor.
std::list< FilterEntry * > filter_list_
List storing the filter entries.
double Number
Type of all numbers.
bool Acceptable(std::vector< Number > vals) const
Check acceptability of given coordinates with respect to the filter.
~FilterEntry()
Default Destructor.
bool Acceptable(Number val1, Number val2) const
Index dim_
Dimension of the filter (number of coordinates per entry)
void Clear()
Delete all filter entries.
void Print(const Journalist &jnlst)
Print current filter entries.
int Index
Type of all indices of vectors, matrices etc.
bool Dominated(std::vector< Number > vals) const
Check if this entry is dominated by given coordinates.
void AddEntry(std::vector< Number > vals, Index iteration)
Add filter entry for given coordinates.
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
void operator=(const Filter &)
Overloaded Equals Operator.