boundary

Module

Description

This module contains variables and subroutines relating to boundaries, including dynamically adjusting periodic boundaries

References:

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

dim

Quick access

Variables:

dxbound, dybound, dzbound, totvol, xmax, xmin, ymax, ymin, zmax, zmin

Routines:

cross_boundary(), set_boundary()

Needed modules

  • dim (maxvxyzu())

Variables

  • boundary/dxbound [real,public]
  • boundary/dybound [real,public]
  • boundary/dzbound [real,public]
  • boundary/totvol [real,public]
  • boundary/xmax [real,public]
  • boundary/xmin [real,public]
  • boundary/ymax [real,public]
  • boundary/ymin [real,public]
  • boundary/zmax [real,public]
  • boundary/zmin [real,public]

Subroutines and functions

subroutine  boundary/set_boundary([x_min[, x_max[, y_min[, y_max[, z_min[, z_max[, pos]]]]]]])
Parameters:
  • x_min [real,in,]

  • x_max [real,in,]

  • y_min [real,in,]

  • y_max [real,in,]

  • z_min [real,in,]

  • z_max [real,in,]

  • pos (6) [real,in,]

Called from:

set_slab(), test_dustybox()

subroutine  boundary/cross_boundary(isperiodic, xyz, ncross)
Parameters:
  • isperiodic (3) [logical,in]

  • xyz (*) [real,inout]

  • ncross [integer,inout]