wiki:nparticle

Version 6 (modified by trac, 12 years ago) ( diff )

(Back to BearclawOutline)

PURE SUBROUTINE nparticle (nvec, npart, nneuc, ne)

Defined in

Inputs

  • nvec - the number density vector; contains number density of each species tracked
  • Intent(Out), Optional:
    • npart - total particle number density, including electrons
    • nneuc - number density of nuclei (molecular, neutral, and ionized)
    • ne - number density of electrons

Description

  • Calculates npart, nneuc, and ne based on the values in nvec
  • Calculates nneucin (temporary storage for nneuc) twice, so it seems to add in number density of H2 twice…?
  • If optional variables are present, assign their temporary values (nneucin, npartin, nein) to them

Called in

Functions Used

  • none



Note: See TracWiki for help on using the wiki.