Syntax for region-based options

From: Lars Fröhlich <lars.froehlich_at_elettra.trieste.it>
Date: Tue, 28 May 2013 09:54:44 +0200

Dear all,

I often find myself wanting to use some physics or biasing option in all
but one region. In terms of the syntax of the input file, is it correct
to first enable the option everywhere and afterwards disable it in one
region?

For example, to request leading particle biasing in all regions but
<SomeReg>, would the following work?

EMF-BIAS , 1022., 250E-3, 250E-3, FirstReg, _at_LASTREG, ,LPBEMF
EMF-BIAS , 0., , , SomeReg, , ,LPBEMF

Of course one can always formulate it like this:

EMF-BIAS , 1022., 250E-3, 250E-3, FirstReg, <region before SomeReg>,
,LPBEMF
EMF-BIAS , 1022., 250E-3, 250E-3, <region after SomeReg>, _at_LASTREG, ,LPBEMF

... but this means having to keep track of the exact order of all region
definitions through all edits of the input file.

Thanks + cheers,
Lars
Received on Tue May 28 2013 - 18:02:03 CEST

This archive was generated by hypermail 2.3.0 : Tue May 28 2013 - 18:02:03 CEST