IMPACT T
Data Types | Modules | Functions/Subroutines | Variables
CompDom.f90 File Reference

Data Types

interface  compdomclass::setlctab_compdom
 
interface  compdomclass::balance_compdom
 
type  compdomclass::compdom
 
interface  compdomclass::construct_compdom
 

Modules

module  compdomclass
 This class defines 3-D global and local computational domain in the parallel simulation.
 

Functions/Subroutines

subroutine compdomclass::init_compdom (this, distparam, nparam, flg, nx, ny, nz, grid2d, nprocrow, nproccol, Flagbc, xrad, yrad, pe
 calculate the initial computational geometry parameters and double precision parameters. Here, computational domain is mapped onto a one dimension processor array in y direction. Load balance is achieved using density function integration. More...
 
subroutine compdomclass::update_compdom (this, ptrange, grid2d, Flagbc)
 update geometry parameters using new particle positions. More...
 
subroutine compdomclass::updateold_compdom (this, inrange, grid2d, nplc)
 update geometry parameters using new particle positions. More...
 
subroutine compdomclass::balance1_compdom (source, lctabnmz, lctabnmy, lctabrgz, lctabrgy, npz, npy, commrow, commcol, innx, inny, innz, inyglb,
 find the balanced local domain geometry so that the number of particles on this domain about equal. More...
 
subroutine compdomclass::balance2_compdom (source, lctabnmz, lctabrgz, npz, npy, commrow, commcol, innx, inny, innz, inyglb, inzglb, hz, zmin)
 
subroutine compdomclass::getmsize_compdom (this, msize)
 
subroutine compdomclass::getmnum_compdom (this, mnum)
 
subroutine compdomclass::getlcmnum_compdom (this, mnum)
 
subroutine compdomclass::getrange_compdom (this, range)
 
subroutine compdomclass::getlcrange_compdom (this, range)
 
subroutine compdomclass::getlctabrg_compdom (this, lctable)
 
subroutine compdomclass::getlctabnm_compdom (this, lctable)
 
subroutine compdomclass::setlctab1_compdom (this, lctabnmz, lctabnmy, lctabrgz, lctabrgy, npx, npy, myidx, myidy)
 
subroutine compdomclass::setlctab2_compdom (this, lctabnmz, lctabrgz, npx, npy, myidx, myidy)
 
subroutine compdomclass::destruct_compdom (this)
 

Variables

integer, parameter, private compdomclass::ndim = 3
 

Data Type Documentation

◆ compdomclass::compdom

type compdomclass::compdom
Data Fields
integer, dimension(:,:,:), pointer lctabnm
double precision, dimension(:,:,:), pointer lctabrg ymin, ymax, num of y grids on local processor.
integer, dimension(ndim) meshnum num of mesh points in each dimension.
double precision, dimension(ndim) meshsize mesh size in each dimension.
integer, dimension(ndim) mshlocal
double precision, dimension(2 *ndim) spatrange spatial range in each dimenion.
double precision, dimension(2 *ndim) sptrnglocal