NAME
Grid_renormAbundance
SYNOPSIS
Grid_renormAbundance(integer(IN) :: blockID, integer(IN) :: blkLimits(2,MDIM), real,pointer :: solnData(:,:,:,:))
DESCRIPTION
Renormalize the abundances in a given block so they sum to 1. This should be used before calling the EOS. Each abundance is restricted to fall between smallx and 1. Also check the abundance conservation and report if it is worse than abundErr. This routine is called automatically by Hydro and MHD in FLASH if the irenorm runtime parameter is set to 1. Only abundances/fluids which contribute to the EOS are included.
ARGUMENTS
blockID - the block number to renormalize blkLimits - the index limits for internal zones of the block to renormalize solnData - Pointer to the block to be renormalized
PARAMETERS
smallx - the cutoff value for the composition mass fraction
SEE ALSO
Grid_limitAbundance