Scrambler
1
|
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. |
Main file for module SweepScheme.
Definition in file sweep_scheme.f90.
subroutine sweepAdvance::SweepBeforeStep | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) |
Calls routines that happen before a cell is updated.
Info | Info structure |
index | Current sweep position Calculates beforesweepstep from q |
Definition at line 442 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::SweepAfterStep | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calls routines that happen after a cell is updated.
Info | Info structure |
index | Current 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().
subroutine sweepAdvance::Init_prims | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate primitive form of variables.
Info | Info structure |
index | Current sweep position updates w from beforesweepstep |
Definition at line 491 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::Reconstruct | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate predictor interface states.
Info | Info structure |
index | Current 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().
subroutine sweepAdvance::calc_limiters | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate limiters.
Info | Info structure |
index | Current 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().
LOGICAL function sweepAdvance::request_eigens | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate eigen system.
Info | Info structure |
index | Current 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().
subroutine sweepAdvance::MHD_Source_Terms | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate MHD source terms.
Info | Info structure |
index | Current sweep position Applies multi-dimensional source terms to predictor states |
Definition at line 1754 of file sweep_scheme.f90.
Referenced by Reconstruct().
subroutine sweepAdvance::calc_fluxes | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate predictor fluxes.
Info | Info structure |
index | Current sweep position Calculates fx from qLx, qRx, etc... |
Definition at line 1873 of file sweep_scheme.f90.
Referenced by MUSCLScheme::MUSCLAdvance(), and SweepScheme::sweepAdvance().
subroutine sweepAdvance::calc_fluxes_noctu | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate final fluxes using 1D predictor states.
Info | Info structure |
index | Current 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.
Info | Info structure |
index | Current 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().
subroutine sweepAdvance::updateB | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update predictor aux fields.
Info | Info structure |
index | Current sweep position updates predictor face centered magnetc fields using predictor emfs |
Definition at line 2070 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::updatew2 | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update time centered fluid fields.
Info | Info structure |
index | Current sweep position |
Definition at line 2113 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::update_fluxes | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update mhd fluxes.
Info | Info structure |
index | Current sweep position updates transverse magnetic flux terms using predictor emf's |
Definition at line 2208 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::CTU | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update interface states with transverse predictor fluxes.
Info | Info structure |
index | Current sweep position |
Definition at line 2245 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::calc_tracer_fluxes | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate tracer fluxes.
Info | Info structure |
index | Current sweep position |
Definition at line 2648 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::HVisc | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate HViscosity terms.
Info | Info structure |
index | Current sweep position |
Definition at line 2774 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::calc_final_fluxes | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate Final fluxes.
Info | Info structure |
index | Current sweep position |
Definition at line 2884 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::calc_final_emf | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Calculate Final EMF's.
Info | Info structure |
index | Current sweep position |
Definition at line 2978 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::update_final_fluxes | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update Final fluxes.
Info | Info structure |
index | Current sweep position |
Definition at line 3082 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::store_fixup_fluxes | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Store fixup fluxes.
Info | Info structure |
index | Current sweep position |
Definition at line 3430 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::updateB_final | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update aux fields.
Info | Info structure |
index | Current sweep position |
Definition at line 3458 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::update_final | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update cell centered fields.
Info | Info structure |
index | Current sweep position |
Definition at line 3516 of file sweep_scheme.f90.
Referenced by SweepScheme::sweepAdvance().
subroutine sweepAdvance::update_final_noctu | ( | TYPE(InfoDef) | Info, |
INTEGER | index | ||
) | [private] |
Update cell centered fields using predictor fluxes.
Info | Info structure |
index | Current sweep position |
Definition at line 3577 of file sweep_scheme.f90.