version 0.6.0
Loading...
Searching...
No Matches
type_stencil::t_cell_stencil Type Reference

Stencil for cell-based schemes.

+ Inheritance diagram for type_stencil::t_cell_stencil:

Public Attributes

Predefined stencil types.
integer, dimension(:,:,:), allocatable c
 Relative index of the coefficient in the matrix with relative coordinates (u,v,w). Example: The index of the diagonal coefficient of the cell (i,j,k) in the matrix is given by diag = (ls_mapl(i,j,k) - 1)*stencilsize. The index of the coefficient on the right, i.e. (1,0,0), is given by diag + stencilc(1,0,0).
 
type(t_serialized_stencil), dimension(:), allocatable s
 Relative indices and coordinates associated to the offset.
 
- Public Attributes inherited from type_stencil::t_base_stencil
type(t_stencil_typetype
 
integer size = 0
 
integer extent = -1
 

Member Data Documentation

◆ s

type(t_serialized_stencil), dimension(:), allocatable type_stencil::t_cell_stencil::s

Example: The offset 'stencils(n)offset' must be applied for the relative coordinates 'stencils(n)i', 'stencils(n)j', and 'stencils(n)k'.

This stencil storage can be useful to copy the matrix stored by Notus to another format (ijk, csr, etc.).


The documentation for this type was generated from the following file: