PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
sweep.c File Reference

Advance equations using a directionally-split method. More...

#include "pluto.h"

Functions

int Sweep (const Data *d, Riemann_Solver *Riemann, Time_Step *Dts, Grid *grid)
 

Detailed Description

This is the main driver for dimensionally split integrations (DIMENSIONAL_SPLITTING = YES). Equations are advanced in time by taking contribution only from the direction defined by the global variable g_dir. A full step requires as many calls as the number of DIMENSIONS.

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
P. Tzeferacos (petro.nosp@m.s.tz.nosp@m.efera.nosp@m.cos@.nosp@m.ph.un.nosp@m.ito..nosp@m.it)
T. Matsakos
Date
Aug 16, 2012

Function Documentation

int Sweep ( const Data d,
Riemann_Solver *  Riemann,
Time_Step Dts,
Grid grid 
)

Advance the equations by incuding contribution from one direction at a time.

Parameters
[in]dpointer to Data structure
[in]Riemannpointer to a Riemann solver function
[in]Dtspointer to a Time_Step structure
[in]gridpointer to an array of Grid structures