9 #ifndef IMPNPCTRANSPORT_SLAB_WITH_CYLINDRICAL_PORE_H
10 #define IMPNPCTRANSPORT_SLAB_WITH_CYLINDRICAL_PORE_H
12 #include "npctransport_config.h"
17 IMPNPCTRANSPORT_BEGIN_NAMESPACE
71 return SlabWithPore::get_is_setup(m, pi) &&
76 static IntKey get_cylindrical_pore_key();
81 IMP_DECORATORS(SlabWithCylindricalPore, SlabsWithCylindricalPores, IMP::SlabsWithPores);
83 IMPNPCTRANSPORT_END_NAMESPACE
The base class for decorators.
static bool get_is_setup(Model *m, ParticleIndex pi)
Return true if the particle is an instance of SlabWithCylindricalPore.
Class for storing model, its restraints, constraints, and particles.
Helper macros for implementing Decorators.
#define IMP_DECORATOR_SETUP_2(Name, FirstArgumentType, first_argument_name,SecondArgumentType, second_argument_name)
#define IMP_DECORATOR_METHODS(Name, Parent)
#define IMP_DECORATORS(Name, PluralName, Parent)
Define the types for storing sets of decorators.
A decorator for a particle that's a slab with a cylindrical pore.
bool get_has_attribute(TypeKey attribute_key, ParticleIndex particle) const
return true if particle has attribute with the specified key