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

#include <IMP/npctransport/SlabWithPore.h>

Inheritance diagram for IMP::npctransport::SlabWithPore:

Detailed Description

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

Definition at line 23 of file npctransport/SlabWithPore.h.

Public Member Functions

 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 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

◆ SlabWithPore() [1/3]

IMP::npctransport::SlabWithPore::SlabWithPore ( )

Definition at line 50 of file npctransport/SlabWithPore.h.

◆ SlabWithPore() [2/3]

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

Definition at line 50 of file npctransport/SlabWithPore.h.

◆ SlabWithPore() [3/3]

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

Definition at line 50 of file npctransport/SlabWithPore.h.

Member Function Documentation

◆ add_to_pore_radius_derivative()

void IMP::npctransport::SlabWithPore::add_to_pore_radius_derivative ( double v,
DerivativeAccumulator & d )

add v to the derivative of the cylindrical pore radius, using derivative accumulator d

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

Here is the call graph for this function:

◆ get_is_setup() [1/2]

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

Definition at line 50 of file npctransport/SlabWithPore.h.

◆ get_is_setup() [2/2]

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

Return true if the particle is an instance of SlabWithPore.

Definition at line 73 of file npctransport/SlabWithPore.h.

Here is the call graph for this function:

◆ get_pore_radius()

Float IMP::npctransport::SlabWithPore::get_pore_radius ( ) const

get cylindrical pore radius

Definition at line 91 of file npctransport/SlabWithPore.h.

Here is the call graph for this function:

◆ get_pore_radius_is_optimized()

bool IMP::npctransport::SlabWithPore::get_pore_radius_is_optimized ( ) const

Definition at line 106 of file npctransport/SlabWithPore.h.

◆ get_pore_radius_key()

FloatKey IMP::npctransport::SlabWithPore::get_pore_radius_key ( )
static

Get the key for the pore radius.

◆ get_thickness()

Float IMP::npctransport::SlabWithPore::get_thickness ( ) const

returns whether the particle last entered the transport moiety from its

Definition at line 86 of file npctransport/SlabWithPore.h.

Here is the call graph for this function:

◆ get_thickness_key()

FloatKey IMP::npctransport::SlabWithPore::get_thickness_key ( )
static

Get the decorator key for is_last_entry_from_top.

◆ set_pore_radius()

void IMP::npctransport::SlabWithPore::set_pore_radius ( double r) const

set cylindrical pore radius

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

Here is the call graph for this function:

◆ set_pore_radius_is_optimized()

void IMP::npctransport::SlabWithPore::set_pore_radius_is_optimized ( bool tf) const

Set whether the coordinates are optimized.

Definition at line 110 of file npctransport/SlabWithPore.h.

Here is the call graph for this function:

◆ set_thickness()

void IMP::npctransport::SlabWithPore::set_thickness ( double thickness)

sets slab thickness

Definition at line 79 of file npctransport/SlabWithPore.h.

Here is the call graph for this function:

◆ setup_particle() [1/2]

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

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

◆ setup_particle() [2/2]

SlabWithPore IMP::npctransport::SlabWithPore::setup_particle ( Model * m,
ParticleIndex pi,
double thickness,
double pore_radius )
static

Decorate a particle that represents a slab (e.g. nuclear envelope) with specified thickness and a cylindrical pore of specified pore_radius.

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
pore_radiuspore radius
Note
the pore radius is initially not optimizable
Returns
a SlabWithPore object that decorates particle pi

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


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