Scrambler  1
sweep_scheme.f90 File Reference

Main file for module SweepScheme. More...

Go to the source code of this file.

Data Types

module  SweepScheme
 Module for updating grids by sweeping across the grid. More...

Functions/Subroutines

subroutine SweepBeforeStep (Info, index)
 Calls routines that happen before a cell is updated.
subroutine SweepAfterStep (Info, index)
 Calls routines that happen after a cell is updated.
subroutine Init_prims (Info, index)
 Calculate primitive form of variables.
subroutine Reconstruct (Info, index)
 Calculate predictor interface states.
subroutine calc_limiters (Info, index)
 Calculate limiters.
LOGICAL function request_eigens (Info, index)
 Calculate eigen system.
subroutine MHD_Source_Terms (Info, index)
 Calculate MHD source terms.
subroutine calc_fluxes (Info, index)
 Calculate predictor fluxes.
subroutine calc_fluxes_noctu (Info, index)
 Calculate final fluxes using 1D predictor states.
subroutine calc_emf (Info, index)
 Calculate predictor emf.
subroutine updateB (Info, index)
 Update predictor aux fields.
subroutine updatew2 (Info, index)
 Update time centered fluid fields.
subroutine update_fluxes (Info, index)
 Update mhd fluxes.
subroutine CTU (Info, index)
 Update interface states with transverse predictor fluxes.
subroutine calc_tracer_fluxes (Info, index)
 Calculate tracer fluxes.
subroutine HVisc (Info, index)
 Calculate HViscosity terms.
subroutine calc_final_fluxes (Info, index)
 Calculate Final fluxes.
subroutine calc_final_emf (Info, index)
 Calculate Final EMF's.
subroutine update_final_fluxes (Info, index)
 Update Final fluxes.
subroutine store_fixup_fluxes (Info, index)
 Store fixup fluxes.
subroutine updateB_final (Info, index)
 Update aux fields.
subroutine update_final (Info, index)
 Update cell centered fields.
subroutine update_final_noctu (Info, index)
 Update cell centered fields using predictor fluxes.

Detailed Description

Main file for module SweepScheme.

Definition in file sweep_scheme.f90.


Function/Subroutine Documentation

subroutine sweepAdvance::SweepBeforeStep ( TYPE(InfoDef)  Info,
INTEGER  index 
)

Calls routines that happen before a cell is updated.

Parameters:
InfoInfo structure
indexCurrent sweep position Calculates beforesweepstep from q

Definition at line 442 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::SweepAfterStep ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calls routines that happen after a cell is updated.

Parameters:
InfoInfo structure
indexCurrent sweep position updates aftersweepstep (infoq) with w3 (infoq) with second strang step

Definition at line 473 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::Init_prims ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate primitive form of variables.

Parameters:
InfoInfo structure
indexCurrent sweep position updates w from beforesweepstep

Definition at line 491 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::Reconstruct ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate predictor interface states.

Parameters:
InfoInfo structure
indexCurrent sweep position Calculates time centered qRx and qLx with 1D algorithms - and multi-D magnetic source terms from Garinder and Stone Calculates dqx, qex, limiters, and eigen system along the way Calculates gradphi if necessary and apply 1D grav source terms to 1D interface states

Definition at line 512 of file sweep_scheme.f90.

References calc_limiters(), MHD_Source_Terms(), and request_eigens().

Referenced by SweepScheme::sweepAdvance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine sweepAdvance::calc_limiters ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate limiters.

Parameters:
InfoInfo structure
indexCurrent sweep position Calculates limiter_ppm by calculating 1d limiters Calculates 1d limiters by calculating pressures

Definition at line 1550 of file sweep_scheme.f90.

Referenced by Reconstruct().

+ Here is the caller graph for this function:

LOGICAL function sweepAdvance::request_eigens ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate eigen system.

Parameters:
InfoInfo structure
indexCurrent sweep position Calculates speeds, left and right eigenvectors and number of waves present

Definition at line 1695 of file sweep_scheme.f90.

Referenced by Reconstruct().

+ Here is the caller graph for this function:

subroutine sweepAdvance::MHD_Source_Terms ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate MHD source terms.

Parameters:
InfoInfo structure
indexCurrent sweep position Applies multi-dimensional source terms to predictor states

Definition at line 1754 of file sweep_scheme.f90.

Referenced by Reconstruct().

+ Here is the caller graph for this function:

subroutine sweepAdvance::calc_fluxes ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate predictor fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position Calculates fx from qLx, qRx, etc...

Definition at line 1873 of file sweep_scheme.f90.

Referenced by MUSCLScheme::MUSCLAdvance(), and SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::calc_fluxes_noctu ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate final fluxes using 1D predictor states.

Parameters:
InfoInfo structure
indexCurrent sweep position Calculates f2x from qLx, qRx, etc...

Definition at line 1931 of file sweep_scheme.f90.

subroutine sweepAdvance::calc_emf ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate predictor emf.

Parameters:
InfoInfo structure
indexCurrent sweep position calculates predictor emfs from predictor fluxes and cell centered emfs

Definition at line 2006 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::updateB ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update predictor aux fields.

Parameters:
InfoInfo structure
indexCurrent sweep position updates predictor face centered magnetc fields using predictor emfs

Definition at line 2070 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::updatew2 ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update time centered fluid fields.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 2113 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::update_fluxes ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update mhd fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position updates transverse magnetic flux terms using predictor emf's

Definition at line 2208 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::CTU ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update interface states with transverse predictor fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 2245 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::calc_tracer_fluxes ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate tracer fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 2648 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::HVisc ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate HViscosity terms.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 2774 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::calc_final_fluxes ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate Final fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 2884 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::calc_final_emf ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Calculate Final EMF's.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 2978 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::update_final_fluxes ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update Final fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 3082 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::store_fixup_fluxes ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Store fixup fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 3430 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::updateB_final ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update aux fields.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 3458 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::update_final ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update cell centered fields.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 3516 of file sweep_scheme.f90.

Referenced by SweepScheme::sweepAdvance().

+ Here is the caller graph for this function:

subroutine sweepAdvance::update_final_noctu ( TYPE(InfoDef)  Info,
INTEGER  index 
) [private]

Update cell centered fields using predictor fluxes.

Parameters:
InfoInfo structure
indexCurrent sweep position

Definition at line 3577 of file sweep_scheme.f90.

 All Classes Files Functions Variables