MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_amr_ghost.fpp.f90 File Reference

Contains module m_amr_ghost. More...

Go to the source code of this file.

Modules

module  m_amr_ghost
 Coarse-to-fine ghost fill: slab table, limited-linear or quartic fill, quartic positivity guard, volume-fraction closure.

Functions/Subroutines

pure subroutine m_amr_ghost::s_amr_build_ghost_slabs (ns, sb, se)
 Split the fine block's ghost shell into ns disjoint face slabs: x spans the full transverse extent, y is restricted to the interior in x, z in x and y.
impure subroutine, public m_amr_ghost::s_amr_slab_add (lo, hi, loc, ilo, coff)
 Append slab [lo, hi] to amr_slab_tab (rows: 1:3 lo, 4:6 hi, 7 flat offset, 8 cells, 9 store column, 10:12 coarse origin, 13:15 patch frame).
impure integer function, public m_amr_ghost::f_amr_slab_push (nsl)
 Push the slab table to the device and empty it for the next build; returns the total cell count.
impure subroutine, public m_amr_ghost::s_amr_queue_ghost_slabs (loc, pz)
 Queue the current block's ghost slabs (store column loc, patch at pool offset pz) for s_amr_fill_ghost_rows.
impure subroutine, public m_amr_ghost::s_amr_fill_fine_ghosts (q_coarse, loc)
 Fill the fine ghost shell by conservative-linear prolongation from the gathered coarse patch q_coarse (amr_cg); the interior is untouched. Writes the store at local index loc.
impure subroutine, public m_amr_ghost::s_amr_fill_ghost_rows (q_coarse)
 Ghost fill over all queued slabs, one cell per thread: quartic (positivity-checked) or minmod-limited linear per variable, then the volume-fraction closure. Each row carries its block's store column, coarse origin and patch frame.

Detailed Description

Contains module m_amr_ghost.

Definition in file m_amr_ghost.fpp.f90.