[Top][All Lists]

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

Re: [ESPResSo-users] statistics & GPU

From: Stefan Kesselheim
Subject: Re: [ESPResSo-users] statistics & GPU
Date: Wed, 11 Jun 2014 10:38:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Marcello,
I have written something that is actually much nicer:
The observable lb_velocity_profile works on the GPU and is now on my
github repos. It will interpolate the velocities and you can use other
observables to average. You can independently select the number of
xbins/ybins/zbins (1 is fine) and restrict to a certain region in space.
It can write vtk output or a (more or less) gnuplot-readable output.
Same also for cylinder coordinates, that is calles lb_radial_velocity

set vtklb [ observable new lb_velocity_profile xbins $xbinslb ybins
$ybinslb zbins $zbinslb ]
set vtklb_av [ observable new average $vtklb ]
observable $vtklb_av autoupdate 1
integrate 100
observable $vtklb_av print write_vtk "lb.vtk"

It should trivially merge with Olaf's recent changes.
So far this thing does not speak SHANCHEN, but we might be able to teach
it easily, as we only have to change the velocity interpolation.

On 06/11/2014 08:25 AM, Marcello Sega wrote:
> Hemm, small correction: I meant the *velprof* in the statistics module.
> M.
> On Wed, Jun 11, 2014 at 8:22 AM, Marcello Sega
> <address@hidden> wrote:
>> Hi,
>> just for info: is there any espresso branch with statistics for the
>> fluid on the GPU? Is it otherwise planned to be implemented? I'm
>> interested and I can add the feature, in case.
>> Kind Regards,
>> M.
>> --
>> Institut f├╝r Computergest├╝tzte Biologische Chemie
>> University of Vienna
>> PGP public key on MIT server

reply via email to

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