DISPATCH
patch_mod Module Reference

Template module for patches, which adds pointers to memory and mesh, and number of dimensions and variables. The number of dimensions is hardwired to 3, since we can just choose the actual dimensions to get 2-D and 1-D. More...

Data Types

type  header_t
 
type  patch_t
 

Functions/Subroutines

class(patch_t) function, pointer, public task2patch (task)
 Public function (deprecated)
 
subroutine check_density (self, label)
 Check if the density is negative somewhere, counting points in the interior and guard zones separately. Attempt to patch the guard zones, if applicable.
 

Variables

integer, save, public n_header = (14*4 + 4*8 + 5*8*3 + 1*8 + 2*8*8 + 1*4*8 + 2*4*3)/4
 

Detailed Description

Template module for patches, which adds pointers to memory and mesh, and number of dimensions and variables. The number of dimensions is hardwired to 3, since we can just choose the actual dimensions to get 2-D and 1-D.