espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] How to save a simulation to blockfile in espresso 4


From: Rudolf Weeber
Subject: Re: [ESPResSo-users] How to save a simulation to blockfile in espresso 4
Date: Mon, 16 Sep 2019 15:01:50 +0200
User-agent: Mutt/1.9.4 (2018-02-28)

Hi Christian,

block files are no longer supported in Espresso 4.
See http://espressomd.org/html/doc/io.html for alternatives.
Additionally, you can use numpy.save and numpy.savez or the pickle module to 
store stuff from your simulation.

Regards, Rudolf

On Mon, Sep 16, 2019 at 02:12:59PM +0200, Christian Häge wrote:
> Hi everyone,
> 
> how can I save a simulation to blockfile in espresso 4?
> 
> In espresso 3 (using tcl) I used something like this:
> 
> blockfile $config write variable all
> blockfile $config write interactions
> blockfile $config write seed
> blockfile $config write random
> blockfile $config write bitrandom
> blockfile $config write particles {id pos v f quat type q omega_lab
> omega_body torque_body torque_lab mass} all
> 
> 
> Kind Regards
> Kischy

-- 
Dr. Rudolf Weeber
Institute for Computational Physics
Universität Stuttgart
Allmandring 3
70569 Stuttgart
Germany
Phone: +49(0)711/685-67717
Email: address@hidden
http://www.icp.uni-stuttgart.de/~icp/Rudolf_Weeber




reply via email to

[Prev in Thread] Current Thread [Next in Thread]