Skip to content

cheng-zhao/DIVE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DIVE

GitHub Codacy grade

Table of Contents

Introduction

Delaunay trIangulation Void findEr (DIVE) is a tool for identifying all empty spheres that are constrained by four elements of a point set, using the Delaunay Triangulation (DT) technique. In the cosmological context, it is able to resolved all the largest spheres that are empty of tracers, such as galaxies, in either a real survey volume, or a periodic simulation box. These spheres are regarded as a special type of cosmic voids — DT voids — which are allowed to overlap with each other.

The size of DT voids statistically represents the density of the dark matter field in the Universe[1]. Using the large DT voids, it has been reported for the first time the baryon acoustic oscillation (BAO) signature from under-densities of the Universe[2][3]. This feature is found to encode additional cosmological information, compared to the clustering of galaxies. By combining measurements from galaxies and DT voids, we are able to achieve better cosmological parameter constraints[4]. Thus, DIVE is potentially a powerful tool for cosmological studies.

This program is compliant with the C++11 standard, and relies largely on the Computational Geometry Algorithms Library (CGAL). It is written by Cheng Zhao (赵成), and is distributed under the GPLv3 license.

If you use this tool in research work that results in publications, please cite the following paper:

Zhao et al., 2016, DIVE in the cosmic web: voids with Delaunay triangulation from discrete matter tracer distributions, MNRAS, 459(3):2670–2680 (arXiv:1511.04299)

Compilation

To build DIVE, the CGAL library and its dependencies has to be previously downloaded or installed, including (see also the CGAL manual for details)

Please consult the documentations of these dependences for the installations. The good news is that recent versions of Boost and CGAL can be used in a "header-only" way, that is to say, it is not necessary to build them.

Once the prerequisites are ready, DIVE can be compiled in the following way:

cd /path/with/DIVE.cpp/
/path/to/CGAL/Scripts/scripts/cgal_create_CMakeLists
cmake -DCMAKE_BUILD_TYPE=Release -DCGAL_DIR=/path/to/CGAL -DBOOST_ROOT=/path/to/Boost -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
make

Here, some of the commonly used flags for cmake are shown, but they are not always necessary. A comprehensive list of CMake options for DIVE can be found in the CGAL manual.

Running

The DIVE executable should be run with command line options that specify the input and output catalogues. Optionally, the boundaries for periodic conditions can be passed via command line as well. A list of supported options is shown below

Option Mandatory Description
-h Display the list of command line options
-i Specify the input tracer catalogue
-o Specify the output DT void catalogue
-l Set the lower boundary of the periodic box (default: 0)
-u Set the upper boundary of the periodic box

Here, the first 3 columns of the input catalogues must be the 3D coordinates of tracers, which are typically in comoving space. The resulting void catalogue contains 4 columns: {xc , yc , zc , Rv}, i.e., coordinates of the void centres, as well as the radii.

If the upper boundary (Bmax) of the periodic box is supplied, the Delaunay Triangulation will be constructed with periodic boundary conditions. In particular, the lower boundary of the box (Bmin) is set to 0, if it is not provided specifically. Coordinates of tracers in the periodic box, should be no smaller than the Bmin, but less than Bmax.

References

[1] Zhao, Tao, Liang, Kitaura, Chuang, 2016, DIVE in the cosmic web: voids with Delaunay triangulation from discrete matter tracer distributions, MNRAS, 459(3):2670–2680 (arXiv:1511.04299)

[2] Liang, Zhao, Chuang, Kitaura, Tao, 2016, Measuring baryon acoustic oscillations from the clustering of voids, MNRAS, 459(4):4020–4028 (arXiv:1511.04391)

[3] Kitaura et al., 2016, Signatures of the Primordial Universe from Its Emptiness: Measurement of Baryon Acoustic Oscillations from Minima of the Density Field, Phys.Rev.Lett., 116, 171301 (arXiv:1511.04405)

[4] Zhao et al., 2020, Improving baryon acoustic oscillation measurement with the combination of cosmic voids and galaxies, MNRAS, 491(3):4554–4572 (arXiv:1802.03990)

Releases

No releases published

Packages

No packages published

Languages