|
MFC
Exascale flow solver
|
Coarse-to-fine ghost fill: slab table, limited-linear or quartic fill, quartic positivity guard, volume-fraction closure. More...
Functions/Subroutines | |
| pure subroutine | 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 | 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 | 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 | 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 | 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 | 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. | |
Coarse-to-fine ghost fill: slab table, limited-linear or quartic fill, quartic positivity guard, volume-fraction closure.
| impure integer function, public m_amr_ghost::f_amr_slab_push | ( | integer, intent(out) | nsl | ) |
Push the slab table to the device and empty it for the next build; returns the total cell count.
Definition at line 493 of file m_amr_ghost.fpp.f90.
|
private |
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.
Definition at line 388 of file m_amr_ghost.fpp.f90.
| impure subroutine, public m_amr_ghost::s_amr_fill_fine_ghosts | ( | type(scalar_field), dimension(sys_size), intent(in) | q_coarse, |
| integer, intent(in) | 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.
Definition at line 533 of file m_amr_ghost.fpp.f90.
| impure subroutine, public m_amr_ghost::s_amr_fill_ghost_rows | ( | type(scalar_field), dimension(sys_size), intent(in) | 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.
Definition at line 545 of file m_amr_ghost.fpp.f90.
| impure subroutine, public m_amr_ghost::s_amr_queue_ghost_slabs | ( | integer, intent(in) | loc, |
| integer, intent(in) | pz ) |
Queue the current block's ghost slabs (store column loc, patch at pool offset pz) for s_amr_fill_ghost_rows.
Definition at line 519 of file m_amr_ghost.fpp.f90.
| impure subroutine, public m_amr_ghost::s_amr_slab_add | ( | integer, dimension(3), intent(in) | lo, |
| integer, dimension(3), intent(in) | hi, | ||
| integer, intent(in) | loc, | ||
| integer, dimension(3), intent(in) | ilo, | ||
| integer, dimension(3), intent(in) | 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).
Definition at line 407 of file m_amr_ghost.fpp.f90.