9 #ifndef IMPEM2D_DOMINO_FILTERS_H
10 #define IMPEM2D_DOMINO_FILTERS_H
22 IMPEM2D_BEGIN_NAMESPACE
24 class IMPEM2DEXPORT DistanceFilter:
public domino::SubsetFilter {
27 domino::Subset subset_acting_on_;
28 domino::Subset subset_restrained_;
29 Pointer<domino::ParticleStatesTable> ps_table_;
44 DistanceFilter(
const domino::Subset &subset_to_act_on,
45 const domino::Subset &subset_to_restrain,
46 domino::ParticleStatesTable *ps_table,
47 double max_distance) : subset_acting_on_(subset_to_act_on),
48 subset_restrained_(subset_to_restrain),
50 max_distance_(max_distance) {
53 void show(std::ostream &out = std::cout)
const {
54 out <<
"DistanceFilter" << std::endl;