set_slab

Module

Description

This module sets up particles in a thin slab, i.e. 3D box but with

small aspect ratio in the z direction. Useful for performing 2D test problems in 3D

References:

None

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

boundary, mpidomain, unifdis

Quick access

Routines:

set_slab()

Subroutines and functions

subroutine  slab/set_slab(id, master, nx, xmini, xmaxi, ymini, ymaxi, deltax, hfact, np, xyzh[, lattice])
Parameters:
  • id [integer,in]

  • master [integer,in]

  • nx [integer,in]

  • xmini [real,in]

  • xmaxi [real,in]

  • ymini [real,in]

  • ymaxi [real,in]

  • deltax [real,out]

  • hfact [real,in]

  • np [integer,inout]

  • xyzh (,) [real,out]

  • lattice [character,in,]

Use :

boundary (set_boundary(), xmin(), ymin(), zmin(), xmax(), ymax(), zmax(), dxbound()), unifdis (set_unifdis()), mpidomain (i_belong())

Call to:

set_boundary()