FLASH3.3 Release API

ROBODoc 4.99 manual

Generated from /asc/home/flashdocs/FLASH3_33/source/Particles/Particles_init.F90 with ROBODoc v4.99.8 on Wed Oct 20 17:16:47 2010

TABLE OF CONTENTS


[Functions] source/Particles/Particles_init

[top][index]

NAME

    Particles_init

SYNOPSIS

    Particles_init( integer(in) :: myPE,
                    integer(in) :: numProcs,
                    logical(in) :: restart )

DESCRIPTION

    General initialization routine for the particle module.

ARGUMENTS

    myPE:      current processor number
    numProcs:  total number of processors
    restart:   indicates if run is starting from scratch or restarting
               from checkpoint file

PARAMETERS

    useParticles   BOOLEAN [TRUE]  Should particles be used in this simulation?
    pt_maxPerProc  INTEGER [100]   Maximum number of particles per processor. Allocates array space
                                   Particles are distributed per PROCESSOR rather than per BLOCK
    pt_dtFactor    REAL    [0.5]   Factor to make sure that time step is small enough that particles
    pt_dtChangeTolerance REAL [0.4] For uncorrected Estimated Midpoint propagation scheme:
                                    Do Euler step if change in time step is greater than this
                                    percentage.  Set to 0 to always do Euler, set to a huge
                                    number to always use estimated midpoint velocities
    pt_small       REAL    [1.0E-10] Used for general comparisons of real values 
                                   For example, IF (abs(real1 - real2) .lt. pt_small) THEN
                                   don't move farther than one block in each step