Afivo  0.3
Public Member Functions | List of all members
m_af_types::af_subr_bc_custom Interface Reference

To fill ghost cells near physical boundaries in a custom way. If the number of ghost cells to fill is greater than one (n_gc > 1), fill ghost cells in the optional argument cc. More...

Public Member Functions

subroutine af_subr_bc_custom (box, nb, iv, n_gc, cc)
 

Detailed Description

To fill ghost cells near physical boundaries in a custom way. If the number of ghost cells to fill is greater than one (n_gc > 1), fill ghost cells in the optional argument cc.

Definition at line 477 of file m_af_types.f90.

Constructor & Destructor Documentation

◆ af_subr_bc_custom()

subroutine m_af_types::af_subr_bc_custom::af_subr_bc_custom ( type(box_t), intent(inout)  box,
integer, intent(in)  nb,
integer, intent(in)  iv,
integer, intent(in)  n_gc,
real(dp), dimension(dtimes(1-n_gc:box%n_cell+n_gc)), intent(inout), optional  cc 
)
Parameters
[in,out]boxBox that needs b.c.
[in]nbDirection
[in]ivIndex of variable
[in]n_gcNumber of ghost cells to fill
[in,out]ccIf n_gc > 1, fill ghost cell values in this array instead of boxcc

Definition at line 477 of file m_af_types.f90.