PLUTO
|
Wrapper function to assign shearing-box boundary conditions. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | SB_Boundary (const Data *d, int side, Grid *grid) |
Variables | |
double | sb_vy |
Velocity offset (>0), in SB_Boundary(). More... | |
Wrapper function to assign shearing-box boundary conditions.
SB_Boundary() is a wrapper function used to assign shearing-box boundary conditions on both cell-centered and staggered variables at the X1_BEG and X1_END boundaries. It is called as a regular boundary condition after periodic boundary conditions have already been imposed on the solution arrays.
The function defines, for each type of variable (centered or staggered), the corresponding boundary region where shearing conditions must be applied using the RBox structure. The actual boundary condition is imposed by calling SB_SetBoundaryVar() with the desired array and its box layout.
Definition in file sb_boundary.c.
Main wrapper function used to assign shearing-box boundary conditions on flow variables.
d | pointer to the PLUTO Data structure |
side | the side of the computational domain (X1_BEG or X1_END) |
grid | pointer to an array of Grid structures |
Definition at line 27 of file sb_boundary.c.
double sb_vy |
Velocity offset (>0), in SB_Boundary().
Definition at line 24 of file sb_boundary.c.