[MMTK] values of a field
Konrad Hinsen
hinsen at cnrs-orleans.fr
Fri May 4 08:17:06 UTC 2007
On 03.05.2007, at 19:41, Ramon Crehuet wrote:
> called "modes". Now I create a field for a given mode as:
> field = AtomicVectorField(universe, 0.5, modes[6])
>
> And I'd like to know the value of the field in different 3D points
> (the position of atoms different from the Calphas I used to
> calculate the modes, in order to get the movement of all the atoms,
> not only the Calphas). How can this be done?
Field behave like functions that take a vector argument.
Try something like:
print field(Vector(0.1, 0., -1.2))
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
---------------------------------------------------------------------
--
---------------------------------------------------------------------
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