Afivo  0.3
Public Attributes | List of all members
m_af_types::box_t Type Reference

The basic building block of afivo: a box with cell-centered and face centered data, and information about its position, neighbors, children etc. More...

Collaboration diagram for m_af_types::box_t:
Collaboration graph
[legend]

Public Attributes

integer lvl
 level of the box More...
 
logical in_use =.false.
 is the box in use? More...
 
integer tag =af_init_tag
 for the user More...
 
integer, dimension(ndim) ix
 index in the domain More...
 
integer parent
 index of parent in box list More...
 
integer, dimension(af_num_childrenchildren
 index of children in box list More...
 
integer, dimension(af_num_neighborsneighbors
 index of neighbors in box list More...
 
integer, dimension(dtimes(-1:1)) neighbor_mat
 matrix with neighbors (including diagonal ones) More...
 
integer n_cell
 number of cells per dimension More...
 
real(dp), dimension(ndim) dr
 width/height of a cell More...
 
real(dp), dimension(ndim) r_min
 min coords. of box More...
 
integer coord_t
 Coordinate type (e.g. Cartesian) More...
 
real(dp), dimension(dtimes(:), :), allocatable cc
 cell centered variables More...
 
real(dp), dimension(dtimes(:), :, :), allocatable fc
 face centered variables More...
 
integer n_bc = 0
 Number of physical boundaries. More...
 
integer, dimension(:), allocatable bc_index_to_nb
 List of boundary condition directions. More...
 
integer, dimension(af_num_neighborsnb_to_bc_index
 Direction to boundary condition index. More...
 
integer, dimension(:, :), allocatable bc_type
 Boundary condition types. More...
 
real(dp), dimension(:, :, :), allocatable bc_val
 Stored boundary conditions. More...
 
real(dp), dimension(:, :, :), allocatable bc_coords
 Coordinates of physical boundaries. More...
 
integer n_stencils = 0
 How many stencils have been stored. More...
 
type(stencil_t), dimension(:), allocatable stencils
 List of stencils. More...
 

Detailed Description

The basic building block of afivo: a box with cell-centered and face centered data, and information about its position, neighbors, children etc.

Definition at line 286 of file m_af_types.f90.

Member Data Documentation

◆ lvl

integer m_af_types::box_t::lvl

level of the box

Definition at line 287 of file m_af_types.f90.

◆ in_use

logical m_af_types::box_t::in_use =.false.

is the box in use?

Definition at line 288 of file m_af_types.f90.

◆ tag

integer m_af_types::box_t::tag =af_init_tag

for the user

Definition at line 289 of file m_af_types.f90.

◆ ix

integer, dimension(ndim) m_af_types::box_t::ix

index in the domain

Definition at line 290 of file m_af_types.f90.

◆ parent

integer m_af_types::box_t::parent

index of parent in box list

Definition at line 291 of file m_af_types.f90.

◆ children

integer, dimension(af_num_children) m_af_types::box_t::children

index of children in box list

Definition at line 293 of file m_af_types.f90.

◆ neighbors

integer, dimension(af_num_neighbors) m_af_types::box_t::neighbors

index of neighbors in box list

Definition at line 295 of file m_af_types.f90.

◆ neighbor_mat

integer, dimension(dtimes(-1:1)) m_af_types::box_t::neighbor_mat

matrix with neighbors (including diagonal ones)

Definition at line 297 of file m_af_types.f90.

◆ n_cell

integer m_af_types::box_t::n_cell

number of cells per dimension

Definition at line 298 of file m_af_types.f90.

◆ dr

real(dp), dimension(ndim) m_af_types::box_t::dr

width/height of a cell

Definition at line 299 of file m_af_types.f90.

◆ r_min

real(dp), dimension(ndim) m_af_types::box_t::r_min

min coords. of box

Definition at line 300 of file m_af_types.f90.

◆ coord_t

integer m_af_types::box_t::coord_t

Coordinate type (e.g. Cartesian)

Definition at line 301 of file m_af_types.f90.

◆ cc

real(dp), dimension(dtimes(:), :), allocatable m_af_types::box_t::cc

cell centered variables

Definition at line 302 of file m_af_types.f90.

◆ fc

real(dp), dimension(dtimes(:), :, :), allocatable m_af_types::box_t::fc

face centered variables

Definition at line 303 of file m_af_types.f90.

◆ n_bc

integer m_af_types::box_t::n_bc = 0

Number of physical boundaries.

Definition at line 306 of file m_af_types.f90.

◆ bc_index_to_nb

integer, dimension(:), allocatable m_af_types::box_t::bc_index_to_nb

List of boundary condition directions.

Definition at line 308 of file m_af_types.f90.

◆ nb_to_bc_index

integer, dimension(af_num_neighbors) m_af_types::box_t::nb_to_bc_index

Direction to boundary condition index.

Definition at line 310 of file m_af_types.f90.

◆ bc_type

integer, dimension(:, :), allocatable m_af_types::box_t::bc_type

Boundary condition types.

Definition at line 312 of file m_af_types.f90.

◆ bc_val

real(dp), dimension(:, :, :), allocatable m_af_types::box_t::bc_val

Stored boundary conditions.

Definition at line 314 of file m_af_types.f90.

◆ bc_coords

real(dp), dimension(:, :, :), allocatable m_af_types::box_t::bc_coords

Coordinates of physical boundaries.

Definition at line 316 of file m_af_types.f90.

◆ n_stencils

integer m_af_types::box_t::n_stencils = 0

How many stencils have been stored.

Definition at line 319 of file m_af_types.f90.

◆ stencils

type(stencil_t), dimension(:), allocatable m_af_types::box_t::stencils

List of stencils.

Definition at line 321 of file m_af_types.f90.