Afivo
0.3
|
Type which stores all the boxes and levels, as well as some information about the number of boxes, variables and levels. More...
Public Attributes | |
logical | ready = .false. |
Is tree ready for use? More... | |
integer | box_limit |
maximum number of boxes More... | |
integer | highest_lvl = 0 |
highest level present More... | |
integer | highest_id = 0 |
highest box index present More... | |
integer | n_cell |
number of cells per dimension More... | |
integer | n_var_cell = 0 |
number of cell-centered variables More... | |
integer | n_var_face = 0 |
number of face-centered variables More... | |
integer | coord_t |
Type of coordinates. More... | |
integer, dimension(ndim) | coarse_grid_size = -1 |
Size of the coarse grid (if rectangular) More... | |
logical, dimension(ndim) | periodic = .false. |
Which dimensions are periodic. More... | |
real(dp), dimension(ndim) | r_base |
min. coords of box at index (1,1) More... | |
real(dp), dimension(ndim) | dr_base |
cell spacing at lvl 1 More... | |
character(len=af_nlen), dimension(af_max_num_vars) | cc_names |
Names of cell-centered variables. More... | |
character(len=af_nlen), dimension(af_max_num_vars) | fc_names |
Names of face-centered variables. More... | |
integer, dimension(af_max_num_vars) | cc_num_copies = 1 |
Number of copies of the variable (for e.g. time-stepping) More... | |
logical, dimension(af_max_num_vars) | cc_write_output = .true. |
Whether to include the variable in the output. More... | |
logical, dimension(af_max_num_vars) | cc_write_binary = .true. |
Whether to include a cell-centered variable in binary output. More... | |
logical, dimension(af_max_num_vars) | fc_write_binary = .true. |
Whether to include a face-centered variable in binary output. More... | |
type(af_cc_methods), dimension(af_max_num_vars) | cc_methods |
Methods for cell-centered variables. More... | |
integer | n_stencil_keys_stored = 0 |
Number of stencil keys that have been stored. More... | |
logical, dimension(af_max_num_vars) | has_cc_method = .false. |
For which cell-centered variables methods have been set. More... | |
integer, dimension(:), allocatable | cc_auto_vars |
Indices of cell-centered variables with methods. More... | |
integer, dimension(:), allocatable | cc_func_vars |
Indices of cell-centered variables defined by a function. More... | |
type(lvl_t), dimension(af_min_lvl:af_max_lvl) | lvls |
List storing the tree levels. More... | |
type(box_t), dimension(:), allocatable | boxes |
List of all boxes. More... | |
integer, dimension(:), allocatable | removed_ids |
List of all removed boxes (that can be reused) More... | |
integer | n_removed_ids = 0 |
Number of removed boxes. More... | |
integer | mg_i_eps = -1 |
Multigrid: index of variable coefficient. More... | |
integer | mg_i_lsf = -1 |
Multigrid: index of variable for level set function. More... | |
integer | mg_current_operator_mask = -1 |
Current multigrid operator mask. More... | |
Type which stores all the boxes and levels, as well as some information about the number of boxes, variables and levels.
Definition at line 326 of file m_af_types.f90.
logical m_af_types::af_t::ready = .false. |
Is tree ready for use?
Definition at line 327 of file m_af_types.f90.
integer m_af_types::af_t::box_limit |
maximum number of boxes
Definition at line 328 of file m_af_types.f90.
integer m_af_types::af_t::highest_lvl = 0 |
highest level present
Definition at line 329 of file m_af_types.f90.
integer m_af_types::af_t::highest_id = 0 |
highest box index present
Definition at line 330 of file m_af_types.f90.
integer m_af_types::af_t::n_cell |
number of cells per dimension
Definition at line 331 of file m_af_types.f90.
integer m_af_types::af_t::n_var_cell = 0 |
number of cell-centered variables
Definition at line 332 of file m_af_types.f90.
integer m_af_types::af_t::n_var_face = 0 |
number of face-centered variables
Definition at line 333 of file m_af_types.f90.
integer m_af_types::af_t::coord_t |
Type of coordinates.
Definition at line 334 of file m_af_types.f90.
integer, dimension(ndim) m_af_types::af_t::coarse_grid_size = -1 |
Size of the coarse grid (if rectangular)
Definition at line 335 of file m_af_types.f90.
logical, dimension(ndim) m_af_types::af_t::periodic = .false. |
Which dimensions are periodic.
Definition at line 336 of file m_af_types.f90.
real(dp), dimension(ndim) m_af_types::af_t::r_base |
min. coords of box at index (1,1)
Definition at line 337 of file m_af_types.f90.
real(dp), dimension(ndim) m_af_types::af_t::dr_base |
cell spacing at lvl 1
Definition at line 338 of file m_af_types.f90.
character(len=af_nlen), dimension(af_max_num_vars) m_af_types::af_t::cc_names |
Names of cell-centered variables.
Definition at line 341 of file m_af_types.f90.
character(len=af_nlen), dimension(af_max_num_vars) m_af_types::af_t::fc_names |
Names of face-centered variables.
Definition at line 344 of file m_af_types.f90.
integer, dimension(af_max_num_vars) m_af_types::af_t::cc_num_copies = 1 |
Number of copies of the variable (for e.g. time-stepping)
Definition at line 347 of file m_af_types.f90.
logical, dimension(af_max_num_vars) m_af_types::af_t::cc_write_output = .true. |
Whether to include the variable in the output.
Definition at line 350 of file m_af_types.f90.
logical, dimension(af_max_num_vars) m_af_types::af_t::cc_write_binary = .true. |
Whether to include a cell-centered variable in binary output.
Definition at line 353 of file m_af_types.f90.
logical, dimension(af_max_num_vars) m_af_types::af_t::fc_write_binary = .true. |
Whether to include a face-centered variable in binary output.
Definition at line 356 of file m_af_types.f90.
type(af_cc_methods), dimension(af_max_num_vars) m_af_types::af_t::cc_methods |
Methods for cell-centered variables.
Definition at line 359 of file m_af_types.f90.
integer m_af_types::af_t::n_stencil_keys_stored = 0 |
Number of stencil keys that have been stored.
Definition at line 362 of file m_af_types.f90.
logical, dimension(af_max_num_vars) m_af_types::af_t::has_cc_method = .false. |
For which cell-centered variables methods have been set.
Definition at line 365 of file m_af_types.f90.
integer, dimension(:), allocatable m_af_types::af_t::cc_auto_vars |
Indices of cell-centered variables with methods.
Definition at line 368 of file m_af_types.f90.
integer, dimension(:), allocatable m_af_types::af_t::cc_func_vars |
Indices of cell-centered variables defined by a function.
Definition at line 371 of file m_af_types.f90.
type(lvl_t), dimension(af_min_lvl:af_max_lvl) m_af_types::af_t::lvls |
List storing the tree levels.
Definition at line 374 of file m_af_types.f90.
type(box_t), dimension(:), allocatable m_af_types::af_t::boxes |
List of all boxes.
Definition at line 377 of file m_af_types.f90.
integer, dimension(:), allocatable m_af_types::af_t::removed_ids |
List of all removed boxes (that can be reused)
Definition at line 380 of file m_af_types.f90.
integer m_af_types::af_t::n_removed_ids = 0 |
Number of removed boxes.
Definition at line 383 of file m_af_types.f90.
integer m_af_types::af_t::mg_i_eps = -1 |
Multigrid: index of variable coefficient.
Definition at line 386 of file m_af_types.f90.
integer m_af_types::af_t::mg_i_lsf = -1 |
Multigrid: index of variable for level set function.
Definition at line 389 of file m_af_types.f90.
integer m_af_types::af_t::mg_current_operator_mask = -1 |
Current multigrid operator mask.
Definition at line 392 of file m_af_types.f90.