[MMTK] "spherical" universe

Konrad Hinsen hinsen at cnrs-orleans.fr
Mon Mar 17 08:36:24 UTC 2008


On 16.03.2008, at 22:32, assa sittner wrote:

> I am interested in performing a simulation in a spherical universe
> with elastic reflection.
> how can this be implemented in MMTK?

It depends on the exact model you wish to implement. If you want a  
spherical cavity with a repulsive potential of finite range, use an  
InfiniteUniverse with a potential representing the wall of the  
cavity. You can use the ElectricField force field example as a  
starting point.

If you want a hard wall, you will have to write a new MD integrator  
that implements the boundary conditions of your universe in its  
equations of motion.

Konrad.
--
---------------------------------------------------------------------
Konrad Hinsen
Centre de Biophysique Moléculaire, CNRS Orléans
Synchrotron Soleil - Division Expériences
Saint Aubin - BP 48
91192 Gif sur Yvette Cedex, France
Tel. +33-1 69 35 97 15
E-Mail: hinsen at cnrs-orleans.fr
---------------------------------------------------------------------






More information about the mmtk mailing list