Download Latest Version geomlib.tar.gz (58.3 kB)
Email in envelope

Get an email when there's a new version of CFD Utilities

Home / grid_block_utilities
Name Modified Size InfoDownloads / Week
Parent folder
build 2022-05-19 466 Bytes
README 2021-06-22 1.2 kB
grid_block_utilities.f90 2021-06-22 23.3 kB
grid_block_utilities.tar.gz 2014-01-28 6.9 kB
test_block_utilities.f90 2010-07-27 4.5 kB
Totals: 5 Items   36.3 kB 0
Module grid_block_utilities is a companion to surface_patch_utilities for
multiblock structured grid manipulation:

block_data_range   (block)                 Min & max values of x, y, z
centroids_volumes  (blockin, blockout)     blockout%* = centroids, volumes
clone_structured_grid  (nb, nf, g1, g2)    Allocate/copy header info.
get_bounding_boxes (lun, nb, grid, form, bbox)     B-boxes; read if lun > 0
reflect_block_xyz  (block, n)              Reflect coord. n vs plane thru O
reverse_block_i    (block, nf)             Reverse the i indices
reverse_block_j    (block, nf)             Reverse the j indices
reverse_block_k    (block, nf)             Reverse the k indices
scale_shift_block  (block, scale, dx, dy, dz, pout)     Scale/shift x, y, z
swap_block_xyz     (block, m, n)           Swap coordinates m and n
update_block       (block1, block2, nf)    Transfer block1 to block2

04/09/05  D. A. Saunders   Initial implementation of surface_patch_utilities.
07/23/10     "      "      Initial adaptation of grid_block_utilities.
06/21/21     "      '      The cloning was missing index (ib).

See also xyzq_io for structured grid I/O utilities.
Source: README, updated 2021-06-22