Return-Path: Received: from [178.24.5.94] (account huebl@hzdr.de HELO [192.168.178.22]) by hzdr.de (CommuniGate Pro SMTP 6.1.12) with ESMTPSA id 15519175 for picongpu-users@hzdr.de; Sun, 22 Jan 2017 22:50:09 +0100 Subject: Re: [PIConGPU-Users] Gas free formula To: picongpu-users@hzdr.de References: From: Axel Huebl Organization: HZDR Message-ID: Date: Sun, 22 Jan 2017 22:50:08 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 > ). > > 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