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

Type for storing a numerical stencil for a box. More...

Public Attributes

integer key = af_stencil_none
 The key identifying the stencil. More...
 
integer shape = af_stencil_none
 Shape of the stencil. More...
 
integer stype = -1
 What kind of stencil is stored (constant, variable, sparse) More...
 
logical cylindrical_gradient = .false.
 Whether to correct gradients for cylindrical coordinates. More...
 
real(dp), dimension(:), allocatable c
 Stencil coefficients for constant stencil, shape (n_coeff) More...
 
real(dp), dimension(:, dtimes(:)), allocatable v
 Stencil coefficients for variable stencil, shape (n_coeff, IJK) More...
 
real(dp), dimension(dtimes(:)), allocatable f
 Optional extra scalar, for example to map boundary conditions to right-hand side, shape (IJK) More...
 
real(dp), dimension(dtimes(:)), allocatable bc_correction
 Correction for boundary conditions, shape (IJK) More...
 
integer, dimension(:, :), allocatable sparse_ix
 Indices of sparse coefficients, shape(NDIM, n) More...
 
real(dp), dimension(:, :), allocatable sparse_v
 Values of sparse coefficients, shape(n_coeff, n) More...
 

Detailed Description

Type for storing a numerical stencil for a box.

Definition at line 260 of file m_af_types.f90.

Member Data Documentation

◆ key

integer m_af_types::stencil_t::key = af_stencil_none

The key identifying the stencil.

Definition at line 262 of file m_af_types.f90.

◆ shape

integer m_af_types::stencil_t::shape = af_stencil_none

Shape of the stencil.

Definition at line 264 of file m_af_types.f90.

◆ stype

integer m_af_types::stencil_t::stype = -1

What kind of stencil is stored (constant, variable, sparse)

Definition at line 266 of file m_af_types.f90.

◆ cylindrical_gradient

logical m_af_types::stencil_t::cylindrical_gradient = .false.

Whether to correct gradients for cylindrical coordinates.

Definition at line 268 of file m_af_types.f90.

◆ c

real(dp), dimension(:), allocatable m_af_types::stencil_t::c

Stencil coefficients for constant stencil, shape (n_coeff)

Definition at line 270 of file m_af_types.f90.

◆ v

real(dp), dimension(:, dtimes(:)), allocatable m_af_types::stencil_t::v

Stencil coefficients for variable stencil, shape (n_coeff, IJK)

Definition at line 272 of file m_af_types.f90.

◆ f

real(dp), dimension(dtimes(:)), allocatable m_af_types::stencil_t::f

Optional extra scalar, for example to map boundary conditions to right-hand side, shape (IJK)

Definition at line 275 of file m_af_types.f90.

◆ bc_correction

real(dp), dimension(dtimes(:)), allocatable m_af_types::stencil_t::bc_correction

Correction for boundary conditions, shape (IJK)

Definition at line 277 of file m_af_types.f90.

◆ sparse_ix

integer, dimension(:, :), allocatable m_af_types::stencil_t::sparse_ix

Indices of sparse coefficients, shape(NDIM, n)

Definition at line 279 of file m_af_types.f90.

◆ sparse_v

real(dp), dimension(:, :), allocatable m_af_types::stencil_t::sparse_v

Values of sparse coefficients, shape(n_coeff, n)

Definition at line 281 of file m_af_types.f90.