FLASH4.5 API

Generated from /asc/asci2/site/flashcode/secure/release_4p5/source/Particles/Particles_init.F90 with ROBODoc v4.99.8 on Tue Mar 05 16:16:15 2019

TABLE OF CONTENTS


[Functions] source/Particles/Particles_init

[top][index]

NAME

    Particles_init

SYNOPSIS

    Particles_init( logical(in) :: restart )

DESCRIPTION

    General initialization routine for the particle module.

ARGUMENTS

    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