Mailing List picongpu-users@hzdr.de Message #183
From: Axel Huebl <a.huebl@hzdr.de>
Subject: Re: [PIConGPU-Users] Gas free formula
Date: Sun, 22 Jan 2017 22:50:08 +0100
To: <picongpu-users@hzdr.de>
Hi Danila,

the cellSize is only in this function for people that want to do
debugging, like filling a selected n-th cell with a density.

Cheers,
Axel

On 18.01.2017 16:42, Khikhlukha Danila wrote:
> Dear all,
>
> I have a question regarding gas free formula implementation: why cell
> dimensions are used as a parameter for a () operator (see here
> <https://github.com/ComputationalRadiationPhysics/picongpu/blob/master/src/picongpu/include/particles/gasProfiles/FreeFormulaImpl.hpp#L58>).
>
> The way how I understand the code is that I have to provide T_ParamClass
> implementation with operator () overloaded such that it returns a
> normalized density for a given position vector in real SI units. Then it
> is a bit unclear how cellSize might be helpful here? My only guess would
> be a vacuum slab on the top of the domain, but in T_ParamClass I can
> specify it in SI units as well and compare it to the position directly…
>
>  
>
> Best regards,
>
> Danila.
>

--

Axel Huebl
Phone +49 351 260 3582
https://www.hzdr.de/crp
Computational Radiation Physics
Laser Particle Acceleration Division
Helmholtz-Zentrum Dresden - Rossendorf e.V.

Bautzner Landstrasse 400, 01328 Dresden
POB 510119, D-01314 Dresden
Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey
          Prof. Dr.Dr.h.c. P. Joehnk
VR 1693 beim Amtsgericht Dresden
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster