09.06.2015 Views

Introduction to ESPResSo

Introduction to ESPResSo

Introduction to ESPResSo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Activating and Deactivating Features<br />

http://www.icp.uni-stuttgart.de<br />

<br />

<br />

<br />

<br />

<br />

<strong>ESPResSo</strong> supports various<br />

different features<br />

Not all features are compiled in<br />

To check, call code_info<br />

Create file myconfig.h in build<br />

or source dir <strong>to</strong> change the<br />

default set of features<br />

Use minimal set of features for<br />

optimal performance<br />

#define PARTIAL_PERIODIC<br />

#define ELECTROSTATICS<br />

#define DIPOLES<br />

#define ROTATION<br />

#define ROTATIONAL_INERTIA<br />

#define MDLC<br />

#define EXTERNAL_FORCES<br />

#define CONSTRAINTS<br />

#define MASS<br />

#define EXCLUSIONS<br />

#define COMFORCE<br />

<br />

The term “features” is probably<br />

not well chosen<br />

#define COMFIXED<br />

#define MOLFORCES<br />

<br />

The code has a lot of features that<br />

do not have a compiler switch<br />

#define MODES<br />

#define BOND_VIRTUAL<br />

<br />

Goal: remove all features<br />

Example myconfig.h<br />

Olaf Lenz<br />

<strong>Introduction</strong><br />

15/29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!