Voro++
|
00001 // Voro++, a 3D cell-based Voronoi library 00002 // 00003 // Author : Chris H. Rycroft (LBL / UC Berkeley) 00004 // Email : chr@alum.mit.edu 00005 // Date : August 30th 2011 00006 00007 /** \file worklist.hh 00008 * \brief Header file for setting constants used in the block worklists that are 00009 * used during cell computation. 00010 * 00011 * This file is automatically generated by worklist_gen.pl and it is not 00012 * intended to be edited by hand. */ 00013 00014 #ifndef VOROPP_WORKLIST_HH 00015 #define VOROPP_WORKLIST_HH 00016 00017 namespace voro { 00018 00019 /** Each region is divided into a grid of subregions, and a worklist is 00020 # constructed for each. This parameter sets is set to half the number of 00021 # subregions that the block is divided into. */ 00022 const int wl_hgrid=4; 00023 /** The number of subregions that a block is subdivided into, which is twice 00024 the value of hgrid. */ 00025 const int wl_fgrid=8; 00026 /** The total number of worklists, set to the cube of hgrid. */ 00027 const int wl_hgridcu=64; 00028 /** The number of elements in each worklist. */ 00029 const int wl_seq_length=64; 00030 00031 } 00032 #endif