Sets boundary conditions (quantities in ghost zones) on each edge of a Grid for the MHD variables. More...
Go to the source code of this file.
Functions | |
static void | reflect_ix1 (GridS *pG) |
REFLECTING boundary conditions, Inner x1 boundary (bc_ix1=1). | |
static void | reflect_ox1 (GridS *pG) |
REFLECTING boundary conditions, Outer x1 boundary (bc_ox1=1). | |
static void | reflect_ix2 (GridS *pG) |
REFLECTING boundary conditions, Inner x2 boundary (bc_ix2=1). | |
static void | reflect_ox2 (GridS *pG) |
REFLECTING boundary conditions, Outer x2 boundary (bc_ox2=1). | |
static void | reflect_ix3 (GridS *pG) |
REFLECTING boundary conditions, Inner x3 boundary (bc_ix3=1). | |
static void | reflect_ox3 (GridS *pG) |
REFLECTING boundary conditions, Outer x3 boundary (bc_ox3=1). | |
static void | outflow_ix1 (GridS *pG) |
OUTFLOW boundary condition, Inner x1 boundary (bc_ix1=2). | |
static void | outflow_ox1 (GridS *pG) |
OUTFLOW boundary conditions, Outer x1 boundary (bc_ox1=2). | |
static void | outflow_ix2 (GridS *pG) |
OUTFLOW boundary conditions, Inner x2 boundary (bc_ix2=2). | |
static void | outflow_ox2 (GridS *pG) |
OUTFLOW boundary conditions, Outer x2 boundary (bc_ox2=2). | |
static void | outflow_ix3 (GridS *pG) |
OUTFLOW boundary conditions, Inner x3 boundary (bc_ix3=2). | |
static void | outflow_ox3 (GridS *pG) |
OUTFLOW boundary conditions, Outer x3 boundary (bc_ox3=2). | |
static void | periodic_ix1 (GridS *pG) |
PERIODIC boundary conditions, Inner x1 boundary (bc_ix1=4). | |
static void | periodic_ox1 (GridS *pG) |
PERIODIC boundary conditions (cont), Outer x1 boundary (bc_ox1=4). | |
static void | periodic_ix2 (GridS *pG) |
PERIODIC boundary conditions (cont), Inner x2 boundary (bc_ix2=4). | |
static void | periodic_ox2 (GridS *pG) |
PERIODIC boundary conditions (cont), Outer x2 boundary (bc_ox2=4). | |
static void | periodic_ix3 (GridS *pG) |
PERIODIC boundary conditions (cont), Inner x3 boundary (bc_ix3=4). | |
static void | periodic_ox3 (GridS *pG) |
PERIODIC boundary conditions (cont), Outer x3 boundary (bc_ox3=4). | |
static void | conduct_ix1 (GridS *pG) |
CONDUCTOR boundary conditions, Inner x1 boundary (bc_ix1=5). | |
static void | conduct_ox1 (GridS *pG) |
CONDUCTOR boundary conditions, Outer x1 boundary (bc_ox1=5). | |
static void | conduct_ix2 (GridS *pG) |
CONDUCTOR boundary conditions, Inner x2 boundary (bc_ix2=5). | |
static void | conduct_ox2 (GridS *pG) |
CONDUCTOR boundary conditions, Outer x2 boundary (bc_ox2=5). | |
static void | conduct_ix3 (GridS *pG) |
CONDUCTOR boundary conditions, Inner x3 boundary (bc_ix3=5). | |
static void | conduct_ox3 (GridS *pG) |
CONDUCTOR boundary conditions, Outer x3 boundary (bc_ox3=5). | |
static void | ProlongateLater (GridS *pG) |
PROLONGATION boundary conditions. | |
static void | pack_ix1 (GridS *pG) |
PACK boundary conditions for MPI_Isend, Inner x1 boundary. | |
static void | pack_ox1 (GridS *pG) |
PACK boundary conditions for MPI_Isend, Outer x1 boundary. | |
static void | pack_ix2 (GridS *pG) |
PACK boundary conditions for MPI_Isend, Inner x2 boundary. | |
static void | pack_ox2 (GridS *pG) |
PACK boundary conditions for MPI_Isend, Outer x2 boundary. | |
static void | pack_ix3 (GridS *pG) |
PACK boundary conditions for MPI_Isend, Inner x3 boundary. | |
static void | pack_ox3 (GridS *pG) |
PACK boundary conditions for MPI_Isend, Outer x3 boundary. | |
static void | unpack_ix1 (GridS *pG) |
UNPACK boundary conditions after MPI_Irecv, Inner x1 boundary. | |
static void | unpack_ox1 (GridS *pG) |
UNPACK boundary conditions after MPI_Irecv, Outer x1 boundary. | |
static void | unpack_ix2 (GridS *pG) |
UNPACK boundary conditions after MPI_Irecv, Inner x2 boundary. | |
static void | unpack_ox2 (GridS *pG) |
UNPACK boundary conditions after MPI_Irecv, Outer x2 boundary. | |
static void | unpack_ix3 (GridS *pG) |
UNPACK boundary conditions after MPI_Irecv, Inner x3 boundary. | |
static void | unpack_ox3 (GridS *pG) |
UNPACK boundary conditions after MPI_Irecv, Outer x3 boundary. | |
void | bvals_mhd (DomainS *pD) |
Calls appropriate functions to set ghost zones. | |
void | bvals_mhd_init (MeshS *pM) |
Sets function pointers for physical boundaries during initialization, allocates memory for send/receive buffers with MPI. | |
void | bvals_mhd_fun (DomainS *pD, enum BCDirection dir, VGFun_t prob_bc) |
Sets function ptrs for user-defined BCs. | |
Variables | |
static double ** | send_buf = NULL |
static double ** | recv_buf = NULL |
static MPI_Request * | recv_rq |
static MPI_Request * | send_rq |
Sets boundary conditions (quantities in ghost zones) on each edge of a Grid for the MHD variables.
PURPOSE: Sets boundary conditions (quantities in ghost zones) on each edge of a Grid for the MHD variables. Each edge of a Grid represents either:
This file contains functions that can handle the first two cases. Case (3) is handled in the Prolongate function called from main loop. The naming convention of the integer flags for BCs is:
For case (1) -- PHYSICAL BOUNDARIES The values of the integer flags (bc_ix1, etc.) are:
For case (2) -- MPI BOUNDARIES We do the parallel synchronization by having every grid:
For case (3) -- INTERNAL GRID LEVEL BOUNDARIES This step is complicated and must be handled separately, in the function Prolongate() called from the main loop. In the algorithm below, nothing is done for this case; the BCs are left to be set later.
With SELF-GRAVITY: BCs for Phi are set independently of the MHD variables in a separate function bvals_grav().
CONTAINS PUBLIC FUNCTIONS:
PRIVATE FUNCTION PROTOTYPES:
Definition in file bvals_mhd.c.
void bvals_mhd | ( | DomainS * | pD | ) |
Calls appropriate functions to set ghost zones.
The function pointers (*(pD->???_BCFun)) are set by bvals_init() to be either a user-defined function, or one of the functions corresponding to reflecting, periodic, or outflow. If the left- or right-Grid ID numbers are >= 1 (neighboring grids exist), then MPI calls are used.
Order for updating boundary conditions must always be x1-x2-x3 in order to fill the corner cells properly
Definition at line 174 of file bvals_mhd.c.
References DomainS::Comm_Domain, get_myGridIndex(), DomainS::Grid, DomainS::ix1_BCFun, DomainS::ix2_BCFun, DomainS::ix3_BCFun, GridS::lx1_id, GridS::lx2_id, GridS::lx3_id, myID_Comm_world, DomainS::NGrid, GridS::Nx, DomainS::ox1_BCFun, DomainS::ox2_BCFun, DomainS::ox3_BCFun, pack_ix1(), pack_ix2(), pack_ix3(), pack_ox1(), pack_ox2(), pack_ox3(), par_geti_def(), recv_buf, recv_rq, GridS::rx1_id, GridS::rx2_id, GridS::rx3_id, send_buf, send_rq, ShearingSheet_ix1(), ShearingSheet_ox1(), unpack_ix1(), unpack_ix2(), unpack_ix3(), unpack_ox1(), unpack_ox2(), and unpack_ox3().
Referenced by main().
void bvals_mhd_fun | ( | DomainS * | pD, | |
enum BCDirection | dir, | |||
VGFun_t | prob_bc | |||
) |
Sets function ptrs for user-defined BCs.
Definition at line 915 of file bvals_mhd.c.
References ath_perr(), DomainS::ix1_BCFun, DomainS::ix2_BCFun, DomainS::ix3_BCFun, left_x1, left_x2, left_x3, DomainS::ox1_BCFun, DomainS::ox2_BCFun, DomainS::ox3_BCFun, right_x1, right_x2, and right_x3.
Referenced by problem(), and problem_read_restart().
void bvals_mhd_init | ( | MeshS * | pM | ) |
Sets function pointers for physical boundaries during initialization, allocates memory for send/receive buffers with MPI.
Definition at line 514 of file bvals_mhd.c.
References ath_error(), ath_perr(), MeshS::BCFlag_ix1, MeshS::BCFlag_ix2, MeshS::BCFlag_ix3, MeshS::BCFlag_ox1, MeshS::BCFlag_ox2, MeshS::BCFlag_ox3, calloc_1d_array(), calloc_2d_array(), DomainS::Disp, MeshS::Domain, MeshS::DomainsPerLevel, DomainS::GData, get_myGridIndex(), DomainS::Grid, GridsDataS::ID_Comm_Domain, DomainS::ix1_BCFun, DomainS::ix2_BCFun, DomainS::ix3_BCFun, GridS::lx1_id, GridS::lx2_id, GridS::lx3_id, myID_Comm_world, n, DomainS::NGrid, MeshS::NLevels, GridsDataS::Nx, MeshS::Nx, DomainS::Nx, GridS::Nx, DomainS::ox1_BCFun, DomainS::ox2_BCFun, DomainS::ox3_BCFun, recv_buf, recv_rq, GridS::rx1_id, GridS::rx2_id, GridS::rx3_id, send_buf, and send_rq.
Referenced by main().
static void conduct_ix1 | ( | GridS * | pG | ) | [static] |
CONDUCTOR boundary conditions, Inner x1 boundary (bc_ix1=5).
Definition at line 1953 of file bvals_mhd.c.
References GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, GridS::Nx, and GridS::U.
static void conduct_ix2 | ( | GridS * | pG | ) | [static] |
CONDUCTOR boundary conditions, Inner x2 boundary (bc_ix2=5).
Definition at line 2071 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, GridS::B2i, ConsS::B3c, GridS::B3i, GridS::ie, GridS::is, GridS::js, GridS::ke, GridS::ks, ku, ConsS::M2, GridS::Nx, and GridS::U.
static void conduct_ix3 | ( | GridS * | pG | ) | [static] |
CONDUCTOR boundary conditions, Inner x3 boundary (bc_ix3=5).
Definition at line 2189 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ks, ConsS::M3, and GridS::U.
static void conduct_ox1 | ( | GridS * | pG | ) | [static] |
CONDUCTOR boundary conditions, Outer x1 boundary (bc_ox1=5).
Definition at line 2012 of file bvals_mhd.c.
References GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, GridS::ie, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, GridS::Nx, and GridS::U.
static void conduct_ox2 | ( | GridS * | pG | ) | [static] |
CONDUCTOR boundary conditions, Outer x2 boundary (bc_ox2=5).
Definition at line 2130 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, GridS::B2i, ConsS::B3c, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::ke, GridS::ks, ku, ConsS::M2, GridS::Nx, and GridS::U.
static void conduct_ox3 | ( | GridS * | pG | ) | [static] |
CONDUCTOR boundary conditions, Outer x3 boundary (bc_ox3=5).
Definition at line 2245 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, ConsS::M3, and GridS::U.
static void outflow_ix1 | ( | GridS * | pG | ) | [static] |
OUTFLOW boundary condition, Inner x1 boundary (bc_ix1=2).
Definition at line 1317 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void outflow_ix2 | ( | GridS * | pG | ) | [static] |
OUTFLOW boundary conditions, Inner x2 boundary (bc_ix2=2).
Definition at line 1425 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::js, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void outflow_ix3 | ( | GridS * | pG | ) | [static] |
OUTFLOW boundary conditions, Inner x3 boundary (bc_ix3=2).
Definition at line 1533 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ks, and GridS::U.
static void outflow_ox1 | ( | GridS * | pG | ) | [static] |
OUTFLOW boundary conditions, Outer x1 boundary (bc_ox1=2).
Definition at line 1371 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void outflow_ox2 | ( | GridS * | pG | ) | [static] |
OUTFLOW boundary conditions, Outer x2 boundary (bc_ox2=2).
Definition at line 1479 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void outflow_ox3 | ( | GridS * | pG | ) | [static] |
OUTFLOW boundary conditions, Outer x3 boundary (bc_ox3=2).
Definition at line 1584 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, and GridS::U.
static void pack_ix1 | ( | GridS * | pG | ) | [static] |
PACK boundary conditions for MPI_Isend, Inner x1 boundary.
Definition at line 2315 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, ConsS::s, send_buf, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void pack_ix2 | ( | GridS * | pG | ) | [static] |
PACK boundary conditions for MPI_Isend, Inner x2 boundary.
Definition at line 2460 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, ConsS::s, send_buf, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void pack_ix3 | ( | GridS * | pG | ) | [static] |
PACK boundary conditions for MPI_Isend, Inner x3 boundary.
Definition at line 2606 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ConsS::M1, ConsS::M2, ConsS::M3, n, ConsS::s, send_buf, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void pack_ox1 | ( | GridS * | pG | ) | [static] |
PACK boundary conditions for MPI_Isend, Outer x1 boundary.
Definition at line 2388 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, ConsS::s, send_buf, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void pack_ox2 | ( | GridS * | pG | ) | [static] |
PACK boundary conditions for MPI_Isend, Outer x2 boundary.
Definition at line 2533 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, ConsS::s, send_buf, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void pack_ox3 | ( | GridS * | pG | ) | [static] |
PACK boundary conditions for MPI_Isend, Outer x3 boundary.
Definition at line 2676 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ConsS::M1, ConsS::M2, ConsS::M3, n, ConsS::s, send_buf, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void periodic_ix1 | ( | GridS * | pG | ) | [static] |
PERIODIC boundary conditions, Inner x1 boundary (bc_ix1=4).
Definition at line 1635 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void periodic_ix2 | ( | GridS * | pG | ) | [static] |
PERIODIC boundary conditions (cont), Inner x2 boundary (bc_ix2=4).
Definition at line 1743 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void periodic_ix3 | ( | GridS * | pG | ) | [static] |
PERIODIC boundary conditions (cont), Inner x3 boundary (bc_ix3=4).
Definition at line 1851 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, and GridS::U.
static void periodic_ox1 | ( | GridS * | pG | ) | [static] |
PERIODIC boundary conditions (cont), Outer x1 boundary (bc_ox1=4).
Definition at line 1689 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void periodic_ox2 | ( | GridS * | pG | ) | [static] |
PERIODIC boundary conditions (cont), Outer x2 boundary (bc_ox2=4).
Definition at line 1797 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, ku, GridS::Nx, and GridS::U.
static void periodic_ox3 | ( | GridS * | pG | ) | [static] |
PERIODIC boundary conditions (cont), Outer x3 boundary (bc_ox3=4).
Definition at line 1902 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, GridS::ks, and GridS::U.
static void ProlongateLater | ( | GridS * | pGrid | ) | [static] |
PROLONGATION boundary conditions.
Nothing is actually done here, the prolongation is actually handled in ProlongateGhostZones in main loop, so this is just a NoOp Grid function.
Definition at line 2305 of file bvals_mhd.c.
static void reflect_ix1 | ( | GridS * | pG | ) | [static] |
REFLECTING boundary conditions, Inner x1 boundary (bc_ix1=1).
Definition at line 957 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, GridS::B2i, GridS::B3i, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, GridS::Nx, and GridS::U.
static void reflect_ix2 | ( | GridS * | pG | ) | [static] |
REFLECTING boundary conditions, Inner x2 boundary (bc_ix2=1).
Definition at line 1075 of file bvals_mhd.c.
References GridS::B1i, ConsS::B2c, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::js, GridS::ke, GridS::ks, ku, ConsS::M2, GridS::Nx, and GridS::U.
static void reflect_ix3 | ( | GridS * | pG | ) | [static] |
REFLECTING boundary conditions, Inner x3 boundary (bc_ix3=1).
Definition at line 1197 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, ConsS::B3c, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ks, ConsS::M3, and GridS::U.
static void reflect_ox1 | ( | GridS * | pGrid | ) | [static] |
REFLECTING boundary conditions, Outer x1 boundary (bc_ox1=1).
Definition at line 1016 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, GridS::B2i, GridS::B3i, GridS::ie, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, GridS::Nx, and GridS::U.
static void reflect_ox2 | ( | GridS * | pG | ) | [static] |
REFLECTING boundary conditions, Outer x2 boundary (bc_ox2=1).
Definition at line 1136 of file bvals_mhd.c.
References GridS::B1i, ConsS::B2c, GridS::B2i, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::ke, GridS::ks, ku, ConsS::M2, GridS::Nx, and GridS::U.
static void reflect_ox3 | ( | GridS * | pG | ) | [static] |
REFLECTING boundary conditions, Outer x3 boundary (bc_ox3=1).
Definition at line 1257 of file bvals_mhd.c.
References GridS::B1i, GridS::B2i, ConsS::B3c, GridS::B3i, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, ConsS::M3, and GridS::U.
static void unpack_ix1 | ( | GridS * | pG | ) | [static] |
UNPACK boundary conditions after MPI_Irecv, Inner x1 boundary.
Definition at line 2746 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::is, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, recv_buf, ConsS::s, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void unpack_ix2 | ( | GridS * | pG | ) | [static] |
UNPACK boundary conditions after MPI_Irecv, Inner x2 boundary.
Definition at line 2892 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::js, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, recv_buf, ConsS::s, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void unpack_ix3 | ( | GridS * | pG | ) | [static] |
UNPACK boundary conditions after MPI_Irecv, Inner x3 boundary.
Definition at line 3038 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ks, ConsS::M1, ConsS::M2, ConsS::M3, n, recv_buf, ConsS::s, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void unpack_ox1 | ( | GridS * | pG | ) | [static] |
UNPACK boundary conditions after MPI_Irecv, Outer x1 boundary.
Definition at line 2819 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::je, GridS::js, ju, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, recv_buf, ConsS::s, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void unpack_ox2 | ( | GridS * | pG | ) | [static] |
UNPACK boundary conditions after MPI_Irecv, Outer x2 boundary.
Definition at line 2965 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::ke, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, n, GridS::Nx, recv_buf, ConsS::s, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
static void unpack_ox3 | ( | GridS * | pG | ) | [static] |
UNPACK boundary conditions after MPI_Irecv, Outer x3 boundary.
Definition at line 3108 of file bvals_mhd.c.
References ConsS::B1c, GridS::B1i, ConsS::B2c, GridS::B2i, ConsS::B3c, GridS::B3i, ConsS::d, ConsS::E, GridS::ie, GridS::is, GridS::je, GridS::js, GridS::ke, ConsS::M1, ConsS::M2, ConsS::M3, n, recv_buf, ConsS::s, and GridS::U.
Referenced by bvals_grav(), and bvals_mhd().
double ** recv_buf = NULL [static] |
Definition at line 98 of file bvals_mhd.c.
Referenced by bvals_mhd(), bvals_mhd_init(), unpack_ix1(), unpack_ix2(), unpack_ix3(), unpack_ox1(), unpack_ox2(), and unpack_ox3().
MPI_Request* recv_rq [static] |
Definition at line 99 of file bvals_mhd.c.
Referenced by bvals_mhd(), and bvals_mhd_init().
double** send_buf = NULL [static] |
Definition at line 98 of file bvals_mhd.c.
Referenced by bvals_mhd(), bvals_mhd_init(), pack_ix1(), pack_ix2(), pack_ix3(), pack_ox1(), pack_ox2(), and pack_ox3().
MPI_Request * send_rq [static] |
Definition at line 99 of file bvals_mhd.c.
Referenced by bvals_mhd(), and bvals_mhd_init().