ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::System Namespace Reference

Classes

class  CudaInitHandle
 
class  Leaf
 Script interface wrapper for a component of the system class. More...
 
class  System
 Script interface wrapper for the system class. More...
 

Functions

void initialize (Utils::Factory< ObjectHandle > *om)
 
static void set_exclusions (Particles::ParticleHandle &p, Variant const &exclusions)
 
static void set_bonds (Particles::ParticleHandle &p, Variant const &bonds)
 
static void rotate_system (CellStructure &cell_structure, double phi, double theta, double alpha)
 
static void rescale_particles (CellStructure &cell_structure, int dir, double scale)
 Rescale all particle positions in direction dir by a factor scale.
 

Variables

static bool system_created = false
 

Function Documentation

◆ initialize()

void ScriptInterface::System::initialize ( Utils::Factory< ObjectHandle > *  om)

Definition at line 28 of file system/initialize.cpp.

References Utils::Factory< T >::register_new().

Referenced by ScriptInterface::initialize().

◆ rescale_particles()

static void ScriptInterface::System::rescale_particles ( CellStructure cell_structure,
int  dir,
double  scale 
)
static

Rescale all particle positions in direction dir by a factor scale.

Parameters
cell_structurecell structure
dirdirection to scale (0/1/2 = x/y/z, 3 = x+y+z isotropically)
scalefactor by which to rescale (>1: stretch, <1: contract)

Definition at line 369 of file script_interface/system/System.cpp.

References CellStructure::local_particles(), and rescale_particles().

Referenced by ScriptInterface::System::System::do_call_method(), and rescale_particles().

◆ rotate_system()

◆ set_bonds()

static void ScriptInterface::System::set_bonds ( Particles::ParticleHandle p,
Variant const &  bonds 
)
static

◆ set_exclusions()

static void ScriptInterface::System::set_exclusions ( Particles::ParticleHandle p,
Variant const &  exclusions 
)
static

Variable Documentation

◆ system_created

bool ScriptInterface::System::system_created = false
static