IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::npctransport::SlabWithToroidalPore Class Reference

#include <IMP/npctransport/SlabWithToroidalPore.h>

Inheritance diagram for IMP::npctransport::SlabWithToroidalPore:

Detailed Description

A decorator for a particle that represents a slab containing a toroidal pore

Definition at line 24 of file npctransport/SlabWithToroidalPore.h.

Public Member Functions

 SlabWithToroidalPore (::IMP::Model *m, ::IMP::ParticleIndex id)
 SlabWithToroidalPore (const IMP::ParticleAdaptor &d)
double get_horizontal_minor_radius () const
double get_minor_radius_h2v_aspect_ratio () const
double get_vertical_minor_radius () const
void set_horizontal_minor_radius (double rh)
void set_minor_radius_h2v_aspect_ratio (double aspect_ratio)
void set_vertical_minor_radius (double rv)
void show (std::ostream &out=std::cout) const
Public Member Functions inherited from IMP::npctransport::SlabWithPore
 SlabWithPore (::IMP::Model *m, ::IMP::ParticleIndex id)
 SlabWithPore (const IMP::ParticleAdaptor &d)
void add_to_pore_radius_derivative (double v, DerivativeAccumulator &d)
Float get_pore_radius () const
 get cylindrical pore radius
bool get_pore_radius_is_optimized () const
Float get_thickness () const
 returns whether the particle last entered the transport moiety from its
void set_pore_radius (double r) const
 set cylindrical pore radius
void set_pore_radius_is_optimized (bool tf) const
 Set whether the coordinates are optimized.
void set_thickness (double thickness)
 sets slab thickness
void show (std::ostream &out=std::cout) const
Public Member Functions inherited from IMP::Decorator
bool get_is_valid () const
 Returns true if constructed with a non-default constructor.
Model * get_model () const
 Returns the Model containing the particle.
Particle * get_particle () const
 Returns the particle decorated by this decorator.
ParticleIndex get_particle_index () const
 Returns the particle index decorated by this decorator.
 operator Particle * () const
 operator ParticleIndex () const
Particle * operator-> () const

Static Public Member Functions

static bool get_is_setup (const IMP::ParticleAdaptor &p)
static bool get_is_setup (Model *m, ParticleIndex pi)
 Return true if the particle is an instance of SlabWithToroidalPore.
static FloatKey get_minor_radius_h2v_aspect_ratio_key ()
 Get the decorator key for the ratio between horizontal and vertical aspect ratio.
static IntKey get_toroidal_pore_key ()
 Get the decorator key indicating a toroidal pore.
static SlabWithToroidalPore setup_particle (IMP::ParticleAdaptor pa, double thickness, double major_radius)
static SlabWithToroidalPore setup_particle (IMP::ParticleAdaptor pa, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio)
static SlabWithToroidalPore setup_particle (Model *m, ParticleIndex pi, double thickness, double major_radius)
static SlabWithToroidalPore setup_particle (Model *m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio)
Static Public Member Functions inherited from IMP::npctransport::SlabWithPore
static bool get_is_setup (const IMP::ParticleAdaptor &p)
static bool get_is_setup (Model *m, ParticleIndex pi)
 Return true if the particle is an instance of SlabWithPore.
static FloatKey get_pore_radius_key ()
 Get the key for the pore radius.
static FloatKey get_thickness_key ()
 Get the decorator key for is_last_entry_from_top.
static SlabWithPore setup_particle (IMP::ParticleAdaptor pa, double thickness, double pore_radius)
static SlabWithPore setup_particle (Model *m, ParticleIndex pi, double thickness, double pore_radius)

Additional Inherited Members

Protected Member Functions inherited from IMP::Decorator
 Decorator (Model *m, ParticleIndex pi)
 Decorator (ParticleAdaptor p)

Constructor & Destructor Documentation

◆ SlabWithToroidalPore() [1/3]

IMP::npctransport::SlabWithToroidalPore::SlabWithToroidalPore ( )

Definition at line 51 of file npctransport/SlabWithToroidalPore.h.

◆ SlabWithToroidalPore() [2/3]

IMP::npctransport::SlabWithToroidalPore::SlabWithToroidalPore ( ::IMP::Model * m,
::IMP::ParticleIndex id )

Definition at line 51 of file npctransport/SlabWithToroidalPore.h.

◆ SlabWithToroidalPore() [3/3]

IMP::npctransport::SlabWithToroidalPore::SlabWithToroidalPore ( const IMP::ParticleAdaptor & d)
explicit

Definition at line 51 of file npctransport/SlabWithToroidalPore.h.

Member Function Documentation

◆ get_horizontal_minor_radius()

double IMP::npctransport::SlabWithToroidalPore::get_horizontal_minor_radius ( ) const

Definition at line 121 of file npctransport/SlabWithToroidalPore.h.

◆ get_is_setup() [1/2]

bool IMP::npctransport::SlabWithToroidalPore::get_is_setup ( const IMP::ParticleAdaptor & p)
static

Definition at line 51 of file npctransport/SlabWithToroidalPore.h.

◆ get_is_setup() [2/2]

bool IMP::npctransport::SlabWithToroidalPore::get_is_setup ( Model * m,
ParticleIndex pi )
static

Return true if the particle is an instance of SlabWithToroidalPore.

Definition at line 96 of file npctransport/SlabWithToroidalPore.h.

Here is the call graph for this function:

◆ get_minor_radius_h2v_aspect_ratio()

double IMP::npctransport::SlabWithToroidalPore::get_minor_radius_h2v_aspect_ratio ( ) const

Definition at line 108 of file npctransport/SlabWithToroidalPore.h.

◆ get_minor_radius_h2v_aspect_ratio_key()

FloatKey IMP::npctransport::SlabWithToroidalPore::get_minor_radius_h2v_aspect_ratio_key ( )
static

Get the decorator key for the ratio between horizontal and vertical aspect ratio.

◆ get_toroidal_pore_key()

IntKey IMP::npctransport::SlabWithToroidalPore::get_toroidal_pore_key ( )
static

Get the decorator key indicating a toroidal pore.

◆ get_vertical_minor_radius()

double IMP::npctransport::SlabWithToroidalPore::get_vertical_minor_radius ( ) const

Definition at line 113 of file npctransport/SlabWithToroidalPore.h.

◆ set_horizontal_minor_radius()

void IMP::npctransport::SlabWithToroidalPore::set_horizontal_minor_radius ( double rh)

Definition at line 125 of file npctransport/SlabWithToroidalPore.h.

◆ set_minor_radius_h2v_aspect_ratio()

void IMP::npctransport::SlabWithToroidalPore::set_minor_radius_h2v_aspect_ratio ( double aspect_ratio)

Definition at line 102 of file npctransport/SlabWithToroidalPore.h.

◆ set_vertical_minor_radius()

void IMP::npctransport::SlabWithToroidalPore::set_vertical_minor_radius ( double rv)

Definition at line 117 of file npctransport/SlabWithToroidalPore.h.

◆ setup_particle() [1/4]

SlabWithToroidalPore IMP::npctransport::SlabWithToroidalPore::setup_particle ( IMP::ParticleAdaptor pa,
double thickness,
double major_radius )
static
Returns
a SlabWithToroidalPore object that decorates the particle specified by pa
See also
setup_particle(m, p, thickness, major_radius)

Definition at line 70 of file npctransport/SlabWithToroidalPore.h.

◆ setup_particle() [2/4]

SlabWithToroidalPore IMP::npctransport::SlabWithToroidalPore::setup_particle ( IMP::ParticleAdaptor pa,
double thickness,
double major_radius,
double minor_radius_h2v_aspect_ratio )
static
Returns
a SlabWithToroidalPore object that decorates the particle specified by pa
See also
setup_particle(m, pi, thickness, major_radius, minor_radius_h2v_aspect_ratio)

Definition at line 93 of file npctransport/SlabWithToroidalPore.h.

◆ setup_particle() [3/4]

SlabWithToroidalPore IMP::npctransport::SlabWithToroidalPore::setup_particle ( Model * m,
ParticleIndex pi,
double thickness,
double major_radius )
static

Decorate a particle that represents a slab (e.g. nuclear envelope) with specified thickness and a toroidal pore of specified major radius and minor radius of 0.5*thickness, with equal horizontal and vertical minor radii.

The slab is parallel to the x,y plain from z=-0.5*thickness to z=0.5*thickness, and the central axis of the pore lies on the origin.

Parameters
mthe model
pithe particle index
thicknessslab thickness, also twice the minor radius
major_radiuspore major radius
Returns
a SlabWithToroidalPore object that decorates particle pi

Definition at line 70 of file npctransport/SlabWithToroidalPore.h.

◆ setup_particle() [4/4]

SlabWithToroidalPore IMP::npctransport::SlabWithToroidalPore::setup_particle ( Model * m,
ParticleIndex pi,
double thickness,
double major_radius,
double minor_radius_h2v_aspect_ratio )
static

Decorate a particle that represents a slab (e.g. nuclear envelope) with specified thickness and a toroidal pore of specified major radius and minor radius of 0.5*thickness, and specified ratio between horizontal and vertical minor radii.

The slab is parallel to the x,y plain from z=-0.5*thickness to z=0.5*thickness, and the central axis of the pore lies on the origin.

Parameters
mthe model
pithe particle index
thicknessslab thickness, also twice the vertical minor radius
major_radiuspore major radius
minor_radius_h2v_aspect_ratioratio between horizontal and vertical minor radius
Returns
a SlabWithToroidalPore object that decorates particle pi

Definition at line 93 of file npctransport/SlabWithToroidalPore.h.


The documentation for this class was generated from the following file: