particles_density
Module
Description
$Id: particles_density.f90 20849 2013-08-06 18:45:43Z anders@astro.lu.se $
This module takes care of everything related to the density represented by each (super)particle.
** AUTOMATIC CPARAM.INC GENERATION ************************
Declare (for generation of cparam.inc) the number of f array variables and auxiliary variables added by this module
MPVAR CONTRIBUTION 1 CPARAM logical, parameter :: lparticles_density=.true.
Quick access
- Variables:
gravr_swarm0,gravr_swarm1,initrhopswarm,rhop_swarm1,rhop_swarm2,rhop_swarm3- Routines:
drhopswarm_dt(),drhopswarm_dt_pencil(),init_particles_density(),initialize_particles_density(),pencil_criteria_par_density(),read_particles_dens_init_pars(),register_particles_density(),rprint_particles_density(),write_particles_dens_init_pars()
Needed modules
cdata: $Id$general(keep_compiler_quiet()): $Id$messages: $Id$particles_cdata: $Id$particles_sub: $Id$
Variables
- particles_density/gravr_swarm0 [real,private/optional/default=1.0]
- particles_density/gravr_swarm1 [real,private/optional/default=1.0]
- particles_density/rhop_swarm0 [real,private/optional/default=1.0]
- particles_density/rhop_swarm1 [real,private/optional/default=1.0]
- particles_density/rhop_swarm2 [real,private/optional/default=1.0]
- particles_density/rhop_swarm3 [real,private/optional/default=1.0]
- particles_density/rhs_poisson_const [real,private/pointer]
Subroutines and functions
- subroutine particles_density/register_particles_density()
Set up indices for access to the fp and dfp arrays.
22-nov-10/anders+michiel: adapted
- Called from:
- Call to:
- subroutine particles_density/initialize_particles_density(f)
Perform any post-parameter-read initialization i.e. calculate derived parameters.
22-nov-10/anders+michiel: adapted
- Parameters:
- Use :
- Called from:
particles_register_modules(),particles_rprint_list(),particles_initialize_modules()- Call to:
- subroutine particles_density/init_particles_density(f, fp)
Initial particle density.
22-nov-10/anders+michiel: adapted
- Parameters:
- Called from:
particles_register_modules(),particles_rprint_list(),particles_initialize_modules(),particles_init()- Call to:
- subroutine particles_density/pencil_criteria_par_density()
All pencils that the Particles_density module depends on are specified here.
22-nov-10/anders+michiel: adapted
- Called from:
particles_register_modules(),particles_rprint_list(),particles_initialize_modules(),particles_init(),particles_finalize(),particles_read_snapshot(),particles_write_snapshot(),particles_write_dsnapshot(),particles_write_pdim(),particles_write_block(),particles_write_rmv(),particles_timestep_first(),particles_timestep_second(),split_update_particles(),particles_load_balance(),particles_boundconds(),particles_pencil_criteria(),particles_calc_selfpotential(),particles_before_boundary(),particles_special_bfre_bdary(),particles_special_after_dtsub(),read_all_particles_init_pars(),read_all_particles_run_pars(),write_dim_particles(),write_snapshot_particles(),read_snapshot_particles()
- subroutine particles_density/drhopswarm_dt_pencil(f, df, fp, dfp, p, ineargrid)
Evolution of particle density.
22-nov-10/anders+michiel: adapted
- Parameters:
- Called from:
particles_register_modules(),particles_rprint_list(),particles_initialize_modules(),particles_init(),particles_finalize(),particles_read_snapshot(),particles_write_snapshot(),particles_write_dsnapshot(),particles_write_pdim(),particles_write_block(),particles_write_rmv(),particles_timestep_first(),particles_timestep_second(),split_update_particles(),particles_load_balance(),particles_boundconds(),particles_pencil_criteria(),particles_pencil_interdep(),particles_calc_pencils(),particles_calc_selfpotential(),particles_before_boundary(),particles_special_bfre_bdary(),particles_special_after_dtsub(),particles_pde(),particles_pde_pencil(),read_all_particles_init_pars(),read_all_particles_run_pars(),write_dim_particles(),write_snapshot_particles(),read_snapshot_particles()
- subroutine particles_density/drhopswarm_dt(f, df, fp, dfp, ineargrid)
Evolution of internal particle number.
22-nov-10/anders+michiel: adapted
- Parameters:
- Called from:
particles_register_modules(),particles_rprint_list(),particles_initialize_modules(),particles_init(),particles_finalize(),particles_read_snapshot(),particles_write_snapshot(),particles_write_dsnapshot(),particles_write_pdim(),particles_write_block(),particles_write_rmv(),particles_timestep_first(),particles_timestep_second(),split_update_particles(),particles_load_balance(),particles_boundconds(),particles_pencil_criteria(),particles_pencil_interdep(),particles_calc_pencils(),particles_calc_selfpotential(),particles_before_boundary(),particles_special_bfre_bdary(),particles_special_after_dtsub(),particles_pde(),read_all_particles_init_pars(),read_all_particles_run_pars(),write_dim_particles(),write_snapshot_particles(),read_snapshot_particles()
- subroutine particles_density/read_particles_dens_init_pars(iomsg)
- Parameters:
iomsg [character,out]
- Use :
- subroutine particles_density/write_particles_dens_init_pars(unit)
- Parameters:
unit [integer,in]
- Called from:
particles_register_modules(),particles_rprint_list(),particles_initialize_modules(),particles_init(),particles_finalize(),particles_read_snapshot(),particles_write_snapshot(),particles_write_dsnapshot(),particles_write_pdim(),particles_write_block(),particles_write_rmv(),particles_timestep_first(),particles_timestep_second(),split_update_particles(),particles_load_balance(),particles_boundconds(),particles_pencil_criteria(),particles_pencil_interdep(),particles_calc_pencils(),particles_calc_selfpotential(),particles_before_boundary(),particles_special_bfre_bdary(),particles_special_after_dtsub(),particles_pde(),particles_pde_pencil(),particles_calc_pencil_diags(),particles_pde_blocks(),read_all_particles_init_pars(),write_all_particles_init_pars(),read_all_particles_run_pars(),write_dim_particles(),write_snapshot_particles(),read_snapshot_particles()
- subroutine particles_density/rprint_particles_density(lreset[, lwrite])
Read and register print parameters relevant for particle density.
22-nov-10/anders+michiel: adapted
- Parameters:
lreset [logical]
lwrite [logical]
- Called from: