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...
 
class  SystemFacade
 Facade for the real System class. More...
 

Functions

void initialize (Utils::Factory< ObjectHandle > *om)
 
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 29 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 236 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()

Variable Documentation

◆ system_created

bool ScriptInterface::System::system_created = false
static