Generated from /asc/asci2/site/flashcode/secure/release_4p6/source/physics/Diffuse/Diffuse_fluxLimiter.F90 with ROBODoc v4.99.8 on Tue Oct 15 13:28:04 2019


[Functions] source/physics/Diffuse/Diffuse_fluxLimiter





  call Diffuse_fluxLimiter(integer(in) :: idcoef, 
                           integer(in) :: ifunc,
                           integer(in) :: ifl,
                           integer(in) :: mode,
                           integer(IN) :: blkcnt,
                           integer(IN) :: blklst(blkcnt))


      This routine modifies the diffusion coefficient (idcoef) 
      and applies limiting.


   idcoef  : index into solution vector, indicating a variable that holds
             the coefficient to which the limiter is applied.
             This variable is used for input and output.
   ifunc   : index into solution vector giving the quantity whose flux
             is to be limited.
             This variable is used only for input.
   ifl     : index into solution vector giving flux limiter variable.
             This variable is used for input and output.
   mode    : Flux limiter mode.
   blkcnt  : The number of blocks in the list
   blklst  : The list of blocks on which the solution must be updated.


 Modifies the diffusion coefficient variable, indicated by the
 argument idcoef.

 Modifies the flux limiter variable, indicated by the argument ifl.
 On output it will be overwritten with a value three times the flux
 limiter factor lambda, which should be familiar from the literature
 on flux limiters.  The value of a flux limiter factor lambda should
 be in the range ( 0, 1/3 ].  Thus the value returned in variable
 ifl of the solution vector will be in the range [ 0.0, 1.0 ].


  Results for idcoef and ifl are returned for interior cells
  and additionally one layer of guard cells.

  Valid input data in ifunc is required in one layers of guard
  cells.  The caller is responsible for ensuring that this
  requirement is met, for example by calling Grid_fillGuardCells
  before calling this routine.