The Pencil Code Logo

Getting Started Quickly

  • Ultra Quick Start Guide
  • Quick Start Guide
  • Full User Manual

Community & Resources

  • Useful links
  • Discussion groups
  • Scientific usage
  • Python postrocessing meetings

Developing Pencil Code

  • Download the code
  • Git guide
  • svn guide
  • General commit guideline
  • Coding style
  • Social rules

Working with Simulations / Extra Tools

  • CVS guide
  • Super short Docker reference

Postprocessing & Tutorials

  • The Pencil Code: samples
  • Pencil Python Tutorials
  • IDL to Python Translation Guide for Pencil Code
  • Pencil Mathematica Tutorials
  • Python Package Development

Contributing to Documentation

  • Using Sphinx
  • Using reStructuredText
  • Tips for writing code documentation
  • How to generate autodocumentation for Fortran
  • How to add scientific citations to the PENCIL CODE

Autogenerated Documentation

  • Python packages
  • Fortran modules
    • Main source files (src)
      • ascalar
      • bfield
      • border_profiles
      • boundcond
      • boundcond_alt
      • cdata
      • chemistry
      • chemistry_simple
      • chiral
      • combine_videofiles
      • cosmicray
      • cosmicray_nolog
      • cosmicrayflux
      • cparam
      • debug_io_dist
      • debug_io_hdf5
      • debug_io_mpi
      • density
      • density_bcs
      • density_methods
      • density_stratified
      • density_stratified_methods
      • deriv
      • deriv_10th
      • deriv_2nd
      • deriv_2nd_all
      • deriv_4th
      • deriv_4th_all
      • deriv_8th
      • deriv_alt
      • detonate
      • diagnostics
      • diagnostics_outlog
      • dustdensity
      • dustvelocity
      • emulated
      • entropy
      • entropy_bcs
      • entropy_const
      • entropy_onefluid
      • eos_chemistry
      • eos_chemistry_simple
      • eos_fixed_ionization
      • eos_idealgas
      • eos_ionization
      • eos_temperature_ionization
      • equ
      • farray
      • farray_alloc
      • fft_nr
      • fftpack
      • file_io_common
      • file_io_dist
      • file_io_f2003
      • file_io_f95
      • filter
      • fixed_point
      • forcing
      • fourier_fft
      • fourier_fftpack
      • general
      • geometrical_types
      • ghost_check
      • ghostfold_mpicomm
      • ghostfold_nompicomm
      • global_pushpars
      • gpu_astaroth
      • gravity_r
      • gravity_simple
      • grid
      • hdf5_io_parallel
      • hdf5_io_parallel_chunked
      • heatflux
      • hydro
      • hydro_kinematic
      • hydro_potential
      • hyperresi_strict_2nd
      • hypervisc_strict_2nd
      • hypervisc_strict_fft
      • implicit_diffusion
      • implicit_physics
      • initcond
      • interstellar
      • interstellar_old
      • io_collect
      • io_collect_xy
      • io_collect_xy_f2003
      • io_dist
      • io_dist_outlog
      • io_hdf5
      • io_mpi2
      • io_wrapper
      • lorenz_gauge
      • lsode_for_chemistry
      • magnetic
      • messages
      • mpicomm
      • neutraldensity
      • neutralvelocity
      • noascalar
      • noborder_profiles
      • noboundcond
      • nochemistry
      • nochiral
      • nocosmicray
      • nocosmicrayflux
      • nodebug
      • nodensity
      • nodensity_bcs
      • nodensity_methods
      • noderiv
      • nodetonate
      • nodustdensity
      • nodustvelocity
      • noenergy
      • noenergy_bcs
      • noentropy
      • noeos
      • nofarray_alloc
      • nofixed_point
      • noforcing
      • nofourier
      • noghostfold
      • nogpu
      • nogravity
      • nogrid
      • nohdf5_io
      • noheatflux
      • nohydro
      • nohyperresi_strict
      • nohypervisc_strict
      • noimplicit_diffusion
      • noimplicit_physics
      • noinitial_condition
      • nointerstellar
      • nolorenz_gauge
      • nolsode_for_chemistry
      • nomagnetic
      • nompicomm
      • noneutraldensity
      • noneutralvelocity
      • noNSCBC
      • noopacity
      • noparticles
      • noparticles_adaptation
      • noparticles_adsorbed
      • noparticles_breakup
      • noparticles_caustics
      • noparticles_chemistry
      • noparticles_coagulation
      • noparticles_collisions
      • noparticles_condensation
      • noparticles_density
      • noparticles_diagnos_dv
      • noparticles_diagnos_state
      • noparticles_drag
      • noparticles_grad
      • noparticles_kmeans
      • noparticles_lyapunov
      • noparticles_main
      • noparticles_map
      • noparticles_mass
      • noparticles_mpicomm
      • noparticles_number
      • noparticles_persistence
      • noparticles_potential
      • noparticles_radius
      • noparticles_selfgravity
      • noparticles_sink
      • noparticles_spin
      • noparticles_stalker
      • noparticles_stirring
      • noparticles_sub
      • noparticles_surfspec
      • noparticles_temperature
      • noparticles_tetrad
      • nopointmasses
      • nopoisson
      • nopolymer
      • nopower_spectrum
      • nopscalar
      • nopython
      • noradiation
      • noselfgravity
      • noSGS_hydro
      • noshear
      • noshock
      • nosignal_handling
      • noslices
      • nosolid_cells
      • nosolid_cells_mpicomm
      • nosolid_cells_ogrid_cdata
      • nosolid_cells_ogrid_chemistry
      • nosolid_cells_ogrid_sub
      • nospecial
      • nostreamlines
      • nostruct_func
      • notestfield
      • notestflow
      • notestperturb
      • notestscalar
      • notimeavg
      • notraining
      • noviscosity
      • noweno_transport
      • noyinyang
      • noyinyang_mpi
      • NSCBC
      • param_io
      • particles_adaptation
      • particles_adsorbed
      • particles_breakup
      • particles_caustics
      • particles_cdata
      • particles_charged
      • particles_chemistry
      • particles_coagulation
      • particles_collisions
      • particles_density
      • particles_diagnos_dv
      • particles_diagnos_state
      • particles_drag
      • particles_dust
      • particles_dust_blocks
      • particles_eikonal
      • particles_grad
      • particles_lagrangian
      • particles_lyapunov
      • particles_main
      • particles_map
      • particles_map_blocks
      • particles_map_index
      • particles_mass
      • particles_mass_swarm
      • particles_mpicomm
      • particles_mpicomm_blocks
      • particles_number
      • particles_persistence
      • particles_potential
      • particles_radius
      • particles_selfgravity
      • particles_sink
      • particles_spin
      • particles_stalker
      • particles_stirring
      • particles_sub
      • particles_surfspec
      • particles_temperature
      • particles_tetrad
      • particles_tracers
      • pencil_check
      • pencil_emul
      • persist
      • pointmasses
      • poisson
      • poisson_logspirals
      • poisson_multigrid
      • polymer
      • polynomialroots
      • power_spectrum
      • pscalar
      • pscalar_nolog
      • python
      • radiation_ray
      • read_all_videofiles
      • read_vectorfiles
      • read_videofiles
      • register
      • run
      • selfgravity
      • selfgravity_logspirals
      • SGS_hydro
      • shared_variables
      • shear
      • shock
      • shock_highorder
      • signal_handling
      • slices
      • slices_methods
      • snapshot
      • solid_cells
      • solid_cells_ogrid
      • solid_cells_ogrid_cdata
      • solid_cells_ogrid_chemistry
      • solid_cells_ogrid_mpicomm
      • solid_cells_ogrid_nompicomm
      • solid_cells_ogrid_sub
      • special
      • start
      • streamlines
      • struct_func
      • sub
      • syscalls
      • temperature_bcs
      • temperature_idealgas
      • temperature_ionization
      • testfield_axisym
      • testfield_axisym2
      • testfield_meri
      • testflow_z
      • thermal_energy
      • timeavg
      • timestep
      • timestep_LSODE
      • timestep_RKC-10
      • timestep_RKC-20
      • timestep_RKC-25
      • timestep_RKC-40
      • timestep_rkf
      • timestep_rkf_1d
      • timestep_rkf_lowsto
      • timestep_stiff
      • timestep_strang
      • timestep_sts
      • timestep_subcycle
      • training_torchfort
      • viscosity
      • weno_transport
      • write_default_namelists
      • yinyang
      • yinyang_mpi
    • experimental source files (src/experimental)
    • inactive source files (src/inactive)
    • initial_condition source files (src/initial_condition)
    • magnetic source files (src/magnetic)
    • obsolete source files (src/obsolete)
    • pre_and_post_processing source files (src/pre_and_post_processing)
    • special source files (src/special)
    • test_methods source files (src/test_methods)
  • Startup and run-time parameters
  • bin scripts
The Pencil Code
  • Fortran modules
  • noparticles_sub
  • View page source

noparticles_sub

Module

Description

$Id$

This module contains subroutines useful for the Particle module.

Quick access

Variables:

calc_velocity_averages, diffuse_domain_scalar, fp_rmv, fp_sink, get_rhopswarm, get_rhopswarm_block, get_rhopswarm_ineargrid, get_rhopswarm_pencil, get_rhopswarm_point, ipar_rmv, ipar_sink, mrmv, nrmv, particlemesh_weighting, remove_particle_log, sharpen_tsc_density, smooth_kernel_domain

Routines:

append_npaux(), append_npvar(), assign_species(), boundconds_particles(), count_particles(), diffuse_interaction(), dragforce_equi_multispecies(), find_grid_volume(), find_interpolation_indeces(), find_interpolation_weight(), find_weight_array_dims(), get_gas_density(), get_particles_interdistance(), input_particles(), integrate_par_name(), max_par_name(), output_particle_size_dist(), output_particles(), precalc_weights(), remove_particle(), remove_particle_initialize(), remove_particle_writelog(), sum_par_name(), weigh_particle()

Previous Next

© Copyright 2025, Illa R. Losada.

Built with Sphinx using a theme provided by Read the Docs.