Skip to content

Commit

Permalink
Remove trailing whitespace from DYNVMLC.inp
Browse files Browse the repository at this point in the history
  • Loading branch information
blakewalters committed Mar 9, 2019
1 parent ce4d71f commit 1c0fe76
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions HEN_HOUSE/doc/src/pirs509a-beamnrc/inputformats/DYNVMLC.inp
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
CARDS CM_$DYNVMLC
********************
-1 Dummy line to indicate start of CM

0 RMAX_CM(ICM_$DYNVMLC) (F10.5): Half-width of CM boundary (cm).

1 TITLE_$DYNVMLC (60A1): Title of CM.

2 ORIENT_$DYNVMLC, NGROUP_$DYNVMLC, MODE_$DYNVMLC (3I5)

ORIENT_$DYNVMLC = 0 for leaves parallel to Y direction
= 1 for leaves parallel to X direction
NGROUP_$DYNVMLC = number of groups of adjacent leaves where
Expand All @@ -23,21 +23,21 @@
movement while beam is on
= 2 for step-and-shoot delivery--beam off while
leaf positions change

3 ZMIN_$DYNVMLC (F15.0): Z of top of MLC (excluding airgap)

4 ZTHICK_$DYNVMLC (F15.0): Thickness of the leaves ( z-axis (cm))

5 LEAFWIDTH_$DYNVMLC(1), WTONGUE_$DYNVMLC(1), WGROOVE_$DYNVMLC(1),
WTIP_$DYNVMLC(1), WRAILTOP_$DYNVMLC(1), WRAILBOT_$DYNVMLC(1),
ZTIP_$DYNVMLC(1), ZLEAF_$DYNVMLC(1), ZTONGUE_$DYNVMLC(1),
ZGROOVE_$DYNVMLC(1), ZHOLETOP_$DYNVMLC(1), ZHOLEBOT_$DYNVMLC(1),
HOLEPOS_FULL_$DYNVMLC, ZRAILTOP_$DYNVMLC(1), ZRAILBOT_$DYNVMLC(1)
(15F15.0)

For a FULL type leaf (all dimensions in cm--all widths are
projected back to ZMIN_$DYNVMLC):

LEAFWIDTH_$DYNVMLC(1): Width of leaf (not including tongue)
WTONGUE_$DYNVMLC(1): Width of tongue
WGROOVE_$DYNVMLC(1): Width of groove
Expand All @@ -53,21 +53,21 @@
HOLEPOS_FULL_$DYNVMLC: Distance of hole from leaf tip
ZRAILTOP_$DYNVMLC(1): Z of top of support rail
ZRAILBOT_$DYNVMLC(1): Z of bottom of support rail

Note: Z positions are input in order of increasing Z. Thus
ZLEAF_$DYNVMLC(1)>=ZTIP_$DYNVMLC(1), etc. See the BEAM
manual or GUI help for restrictions on widths.


6 LEAFWIDTH_$DYNVMLC(2), WTONGUE_$DYNVMLC(2), WGROOVE_$DYNVMLC(2),
WTIP_$DYNVMLC(2), WRAILTOP_$DYNVMLC(2), WRAILBOT_$DYNVMLC(2),
ZRAILTOP_$DYNVMLC(2), ZRAILBOT_$DYNVMLC(2), ZHOLETOP_$DYNVMLC(2),
ZHOLEBOT_$DYNVMLC(2), HOLEPOS_TAR_$DYNVMLC, ZTONGUE_$DYNVMLC(2),
ZGROOVE_$DYNVMLC(2), ZLEAF_$DYNVMLC(2), ZTIP_$DYNVMLC(2) (15F15.0)

For a TARGET type leaf (all dimensions in cm--all widths are
projected back to ZMIN_$DYNVMLC):

LEAFWIDTH_$DYNVMLC(2): Width of leaf (not including tongue)
WTONGUE_$DYNVMLC(2): Width of tongue
WGROOVE_$DYNVMLC(2): Width of groove
Expand All @@ -83,22 +83,22 @@
ZGROOVE_$DYNVMLC(2): Z of top of groove
ZLEAF_$DYNVMLC(2): Z of bottom of leaf
ZTIP_$DYNVMLC(2): Z of bottom of tip at bottom of leaf

Note: Z positions are input in order of increasing Z. Thus
ZLEAF_$DYNVMLC(1)>=ZTIP_$DYNVMLC(1), etc. See the BEAM
manual or GUI help for restrictions on widths.


7 LEAFWIDTH_$DYNVMLC(3), WTONGUE_$DYNVMLC(3), WGROOVE_$DYNVMLC(3),
WTIP_$DYNVMLC(3), WRAILTOP_$DYNVMLC(3), WRAILBOT_$DYNVMLC(3),
ZTIP_$DYNVMLC(3), ZLEAF_$DYNVMLC(3), ZTONGUE_$DYNVMLC(3),
ZGROOVE_$DYNVMLC(3), ZHOLETOP_$DYNVMLC(3), ZHOLEBOT_$DYNVMLC(3),
HOLEPOS_ISO_$DYNVMLC, ZRAILTOP_$DYNVMLC(3), ZRAILBOT_$DYNVMLC(3)
(15F15.0)

For a ISOCENTER type leaf (all dimensions in cm--all widths are
projected back to ZMIN_$DYNVMLC):

LEAFWIDTH_$DYNVMLC(3): Width of leaf (not including tongue)
WTONGUE_$DYNVMLC(3): Width of tongue
WGROOVE_$DYNVMLC(3): Width of groove
Expand All @@ -114,11 +114,11 @@
HOLEPOS_ISO_$DYNVMLC: Distance of hole from leaf tip
ZRAILTOP_$DYNVMLC(3): Z of top of support rail
ZRAILBOT_$DYNVMLC(3): Z of bottom of support rail

Note: Z positions are input in order of increasing Z. Thus
ZLEAF_$DYNVMLC(1)>=ZTIP_$DYNVMLC(1), etc. See the BEAM
manual or GUI help for restrictions on widths.

Note: 1. For TARGET and ISOCENTER leaves to fit together,
ZTONGUE_$DYNVMLC(3)>=ZGROOVE_$DYNVMLC(2) and
ZTONGUE_$DYNVMLC(2)<=ZGROOVE_$DYNVMLC(3).
Expand All @@ -128,70 +128,70 @@
3. For ISOCENTER and FULL leaves to fit together (FULL
leaf on +X [ORIENT=0] or +Y [ORIENT=1] side of ISOCENTER
leaf only) ZTONGUE_$DYNVMLC(1)<=ZGROOVE_$DYNVMLC(3)


Repeat 8 NGROUP_$DYNVMLC times

8 NUM_LEAF_$DYNVMLC(I), LEAFTYPE (2I5)

NUM_LEAF_$DYNVMLC(I): Number of adjacent leaves in group I
LEAFTYPE: Type of leaf in group I.
Set to: 1 for FULL leaves
2 for TARGET/ISOCENTER pair with
TARGET leaf on the -X (ORIENT=0)
or -Y (ORIENT=1) side

Note: If LEAFTYPE is 2, then you must have an even number
of leaves in the group.

9 START_$DYNVMLC (F15.0) : the start position (cm) wrt the CAX of
leaf 1 as projected to ZMIN_$DYNVMLC.

10 LEAFGAP_$DYNVMLC (F15.5) : The width of the interleaf air gap
at ZMIN_$DYNVMLC.

Note restriction: LEAFGAP_$DYNVMLC<=WTONGUE_$DYNVMLC(1,2,3),

11 ENDTYPE_$DYNVMLC (I5) : The type of leaf end :
0 -- rounded leaf end and
1 -- focused divergent leaf end.

12 ZFOCUS_$DYNVMLC (F15.5) : Focal point on Z-axis of leaf ends
(i.e. imaginary lines drawn extending the slopes
of leaf ends will all intersect the Z-axis
at this point) - chosen if ENDTYPE_$DYNVMLC = 1.

Note restriction: ZFOCUS_$DYNVMLC(1) < ZMIN_$DYNVMLC or
> ZMIN_$DYNVMLC + ZTHICK_$DYNVMLC

LEAFRADIUS_$DYNVMLC (F15.5) : Radius of the leaf end if
ENDTYPE_$DYNVMLC = 0. This must be greater
than or equal to half the leaf thickness.

13 ZFOCUS_$DYNVMLC(1) (F15.5): Focal point on Z-axis of leaf sides
imaginary lines drawn extending the slopes of
the leaf sides will all intersect the Z-axis
at this point)

Note restriction: ZFOCUS_$DYNVMLC(1) < ZMIN_$DYNVMLC or
> ZMIN_$DYNVMLC + ZTHICK_$DYNVMLC

For focused ends the leaf position is defined
at ZMIN_$DYNVMLC; for rounded at ZMIN_$DYNVMLC +
0.5*ZTHICK_$DYNVMLC (ie center of the leaf in z)

If MODE_$DYNVMLC=0 (static field):

Repeat 14a until opening coordinates of all leaves are defined once.
Leaves are numbered 1,2,...TOT_LEAF_$DYNVMLC, where numbering goes from
leaf 1 to leaf TOT_LEAF_$DYNVMLC. Convention is lower to upper or
left to right depending on ORIENT_$DYNVMLC i.e from negative to
positive. Note that for dynamic or step-and-shoot simulations, these
are the default coordinates, used unless specified otherwise in the
file of leaf opening data input in line 14a (see below).

14a NEG_$DYNVMLC, POS_$DYNVMLC, NUM_$DYNVMLC (2F15.5,I5)

NEG_$DYNVMLC: Min. Y (ORIENT_$DYNVMLC=0) or X (ORIENT_$DYNVMLC=1)
of front opening in leaf I (ie the opening at
ZMIN_$DYNVMLC) if ENDTYPE=1, or of rounded end
Expand All @@ -203,14 +203,14 @@
I,...,I+NUM_$DYNVMLC-1. Defaults to 1 if set <=0.
Defaults to TOT_LEAF_$DYNVMLC-I+1 if set >
TOT_LEAF_$DYNVMLC-I+1.

If MODE_$DYNVMLC=1 or 2 (dynamic delivery or step-and-shoot delivery):

14b mlc_file (A256)

mlc_file: The full name of the file containing leaf opening
data. The format of the file contents is as follows:

MLC_TITLE (A80)
NFIELDS_$DYNVMLC (I10)
FOR I=1,NFIELDS_$DYNVMLC[
Expand All @@ -223,9 +223,9 @@
defined for
field I.
]

where:

MLC_TITLE: A title line
NFIELDS_$DYNVMLC: Total number of fields
INDEX_$DYNVMLC(I): Index of field I. 0 <= INDEX_$DYNVMLC(I) <= 1 and
Expand All @@ -245,24 +245,24 @@
J,...,J+NUM_$DYNVMLC-1. Defaults to 1 if set <=0.
Defaults to TOT_LEAF_$DYNVMLC-J+1 if set >
TOT_LEAF_$DYNVMLC-J+1.

Note that the inputs NEG_$DYNVMLC, POS_$DYNVMLC and NUM_$DYNVMLC have
the same meanings as in 14a (static field inputs) but that they must
now be repeated for every field I.

15 ECUT, PCUT, DOSE_ZONE, IREGION_TO_BIT in opening(s) and
air gaps (2F15.5,2I5)

ECUT, PCUT: Cutoff energies for electrons and photons.
DOSE_ZONE: Dose scoring flag, 0 to not score dose
IREGION_TO_BIT: Bit number associated with this region

16 MED_IN (24A1): Medium in opening(s) and air gaps
used to set MED_INDEX.

17 ECUT, PCUT, DOSE_ZONE, IREGION_TO_BIT in leaves, IGNOREGAPS_$DYNVMLC
(2F15.0,3I5):

ECUT, PCUT: Cutoff energies for electrons and photons.
DOSE_ZONE: Dose scoring flag, 0 to note score dose
IREGION_TO_BIT: Bit number associated with this region
Expand All @@ -282,42 +282,42 @@
effects of the driving screw holes it is recommended
that you not use this option (ie run with the default
setting of 0).

18 MED_IN (24A1): Medium of leaves,
used to set MED_INDEX.

19 ECUT, PCUT, DOSE_ZONE, IREGION_TO_BIT in driving screw holes
(2F15.5,2I5):

ECUT, PCUT: Cutoff energies for electrons and photons.
DOSE_ZONE: Dose scoring flag, 0 to note score dose
IREGION_TO_BIT: Bit number associated with this region

20 MED_IN (24A1): Medium in driving screw holes,
used to set MED_INDEX.

Example
*******

The following example defines a multi-leaf tungsten collimator design
based loosely on that used with the Varian Millenium MLC.
Actual parameters are DIFFERENT - this serves just as a template.
Do not attempt to use these parameters for a simulation of the real
machine.

The collimator starts at Z=48.25 cm and has 60 tungsten leaves opening
in the X direction. Leaves 1-10 and 51-60 are FULL and leaves 11-50 are
TARGET/ISOCENTER pairs. The Z focus of the leaf sides is at Z=0 cm
which is the position of the source. The leaf ends are rounded with a
radius of 8 cm. In this example, leaf opening coordinates are chosen to
create a square of width ~ 2cm centred on the beam axis.

Electrons and photons in both the collimator and the opening regions
will be followed down to kinetic energies of 189 keV (ECUT=0.7,
PCUT=0.01). Dose deposited in the tungsten leaves will be stored
in dose zone 2, and dose deposited in the opening will be stored
in dose zone 1.

20.5, RMAX
CL21X - Millenium MLC
1, 3, ORIENT, NGROUP
Expand Down

0 comments on commit 1c0fe76

Please sign in to comment.