Store boundary conditions for the solution variable, this can speed up calculations if the same boundary conditions are re-used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mg_t), | intent(inout) | :: | mg |
subroutine mg_phi_bc_store(mg) type(mg_t), intent(inout) :: mg integer :: lvl, nc nc = mg%box_size do lvl = mg%lowest_lvl, mg%highest_lvl nc = mg%box_size_lvl(lvl) call mg_phi_bc_store_lvl(mg, lvl, nc) end do mg%phi_bc_data_stored = .true. end subroutine mg_phi_bc_store