|
Afivo 0.3
|
This module contains routines for restriction: going from fine to coarse variables. More...
Functions/Subroutines | |
| subroutine, public | af_restrict_to_box (boxes, id, ivs) |
| Restrict the children of a box to the box (e.g., in 2D, average the values at the four children to get the value for the parent) More... | |
| subroutine, public | af_restrict_to_boxes (boxes, ids, ivs) |
| Restrict the children of boxes ids(:) to them. More... | |
| subroutine, public | af_restrict_tree (tree, ivs) |
| Restrict variables iv to all parent boxes, from the highest to the lowest level. More... | |
| subroutine, public | af_restrict_box (box_c, box_p, ivs, use_geometry) |
| Restriction of child box (box_c) to its parent (box_p) More... | |
| subroutine, public | af_restrict_ref_boundary (tree, ivs) |
| Restrict only next to refinement boundaries, which which can be required for filling coarse-grid ghost cells. More... | |
This module contains routines for restriction: going from fine to coarse variables.
| subroutine, public m_af_restrict::af_restrict_to_box | ( | type(box_t), dimension(:), intent(inout) | boxes, |
| integer, intent(in) | id, | ||
| integer, dimension(:), intent(in) | ivs | ||
| ) |
Restrict the children of a box to the box (e.g., in 2D, average the values at the four children to get the value for the parent)
| [in,out] | boxes | List of all the boxes |
| [in] | id | Box whose children will be restricted to it |
| [in] | ivs | Variable to restrict |
Definition at line 21 of file m_af_restrict.f90.
| subroutine, public m_af_restrict::af_restrict_to_boxes | ( | type(box_t), dimension(:), intent(inout) | boxes, |
| integer, dimension(:), intent(in) | ids, | ||
| integer, dimension(:), intent(in) | ivs | ||
| ) |
Restrict the children of boxes ids(:) to them.
| [in,out] | boxes | List of all the boxes |
| [in] | ids | Boxes whose children will be restricted to it |
| [in] | ivs | Variables to restrict |
Definition at line 36 of file m_af_restrict.f90.
| subroutine, public m_af_restrict::af_restrict_tree | ( | type(af_t), intent(inout) | tree, |
| integer, dimension(:), intent(in) | ivs | ||
| ) |
Restrict variables iv to all parent boxes, from the highest to the lowest level.
| [in,out] | tree | Tree to restrict on |
| [in] | ivs | Variables to restrict |
Definition at line 50 of file m_af_restrict.f90.
| subroutine, public m_af_restrict::af_restrict_box | ( | type(box_t), intent(in) | box_c, |
| type(box_t), intent(inout) | box_p, | ||
| integer, dimension(:), intent(in) | ivs, | ||
| logical, intent(in), optional | use_geometry | ||
| ) |
Restriction of child box (box_c) to its parent (box_p)
| [in] | box_c | Child box to restrict |
| [in,out] | box_p | Parent box to restrict to |
| [in] | ivs | Variable to restrict |
| [in] | use_geometry | If set to false, don't use geometry |
Definition at line 62 of file m_af_restrict.f90.
| subroutine, public m_af_restrict::af_restrict_ref_boundary | ( | type(af_t), intent(inout) | tree, |
| integer, dimension(:), intent(in) | ivs | ||
| ) |
Restrict only next to refinement boundaries, which which can be required for filling coarse-grid ghost cells.
Definition at line 140 of file m_af_restrict.f90.