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

To set cell-centered variables based on a user-defined function. This can be useful to avoid recomputing values. The values should also be set in ghost cells. More...

Public Member Functions

subroutine af_subr_funcval (box, iv)
 

Detailed Description

To set cell-centered variables based on a user-defined function. This can be useful to avoid recomputing values. The values should also be set in ghost cells.

Definition at line 491 of file m_af_types.f90.

Constructor & Destructor Documentation

◆ af_subr_funcval()

subroutine m_af_types::af_subr_funcval::af_subr_funcval ( type(box_t), intent(inout)  box,
integer, intent(in)  iv 
)
Parameters
[in,out]boxBox to fill values in
[in]ivIndex of variable

Definition at line 491 of file m_af_types.f90.