wiki:ProblemBC

Version 9 (modified by trac, 12 years ago) ( diff )

SUBROUTINE ProblemBC(NodeInfo Info)


Defined In:

contrib/astro/problem.f90


Inputs:

NodeInfo Info. The grid has its boundary conditions adjusted.


Description:

Establishes axial symmetry for cell-centered magnetic fields (q(:,:,:,:,6:7)) along Info's reflecting grid boundaries. Essentially, ProblemBC() makes sure that any ghost cells along a reflecting boundary reflect what's happening on the other side of that boundary. Note that ProblemBC() does not do anything if the problem is non-cylindrical (icylindrical == 0) or non-MHD (lMHD == .FALSE.).

Also, this subroutine does not yet support 3D cylindrical problems.


Called In:

setbc :: SetBC()

setbc :: SetBC1()

setbc :: SetBC2()

setbc :: SetBC3()

setbc :: SetBC4()


Modules Used:

NodeInfoDef


Includes:

None.

Note: See TracWiki for help on using the wiki.