TABLE OF CONTENTS
- 1. /povray
- 1.1. povray/povray_output
- 1.2. povray/makePicture
- 1.2.1. makePicture/sphere
- 1.2.2. makePicture/sphereDat
/povray [ Modules ]
NAME
module povray
PURPOSE
Includes routines to make povray output. Prerequisites:
- POV-Ray (http://www.povray.org).
- ImageMagick (http://www.imagemagick.org)
povray/povray_output [ Subroutines ]
[ Top ] [ povray ] [ Subroutines ]
NAME
subroutine povray_output (timestep, realPart, pertPart)
INPUTS
- integer :: timestep --- current timestep number
- type(particle), dimension(:,:) :: realPart, pertPart --- real and perturbative particle vectors
OUTPUT
- at each timestep, three output files are written: Movie_Real_*.pov, Movie_Pert_*.pov, Movie_All_*.pov.
PURPOSE
Generates povray output files. Also a script "povray.sh" is generated, which needs to be executed when GIBUU is finished. This will then generate animated gif files out of the povray output.
povray/makePicture [ Subroutines ]
[ Top ] [ povray ] [ Subroutines ]
NAME
subroutine makePicture (filename, particles, particles1)
INPUTS
- character(*) :: filename
- type(particle), dimension(:,:) :: particles
- type(particle), dimension(:,:), optional :: particles1
PURPOSE
In file 'filename' a povray output according to the input vectors 'particles' and 'particles1' is generated. You can either give one or two particle vectors as input, since 'particles1' is optional. For each particle a sphere is generated around its position. The general settings and drawing macros are written to a povray include file ("povray_header.inc"). This can be modified after the run to adjust the viewing angle and drawing style etc.
makePicture/sphere [ Subroutines ]
[ Top ] [ makePicture ] [ Subroutines ]
NAME
subroutine sphere(iPart)
INPUTS
- type(particle) :: iPart
PURPOSE
For each particle a sphere is generated around its origin.
Color scheme:
- proton : blue
- neutron: red
- pion : green
- other baryon : yellow (rgb<1,1,0>)
- other meson : magenta (rgb<1,0,1>)
- antiNucleon : black
Radius scheme:
- nucleon : 1 fm
- other baryon: 1.25 fm
- meson: 0.75 fm
makePicture/sphereDat [ Subroutines ]
[ Top ] [ makePicture ] [ Subroutines ]
NAME
subroutine sphereDat(iPart)
INPUTS
- type(particle) :: iPart
PURPOSE
For each particle the position and some additional info is written.