|
Hi Axel,
thanks, it's clear now. So basically this parameter can be ignored for a normal usage.
Regards,
Danila.
________________________________________
From: picongpu-users@hzdr.de [picongpu-users@hzdr.de] on behalf of Axel Huebl [a.huebl@hzdr.de]
Sent: Sunday, January 22, 2017 10:50 PM
To: picongpu-users@hzdr.de
Subject: Re: [PIConGPU-Users] [PIConGPU-Users] Gas free formula
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
#############################################################
This message is sent to you because you are subscribed to
the mailing list <picongpu-users@hzdr.de>.
To unsubscribe, E-mail to: <picongpu-users-off@hzdr.de>
To switch to the DIGEST mode, E-mail to <picongpu-users-digest@hzdr.de>
To switch to the INDEX mode, E-mail to <picongpu-users-index@hzdr.de>
Send administrative queries to <picongpu-users-request@hzdr.de>
|
|