ascl_id stringclasses 752
values | repo_url stringclasses 737
values | file_path stringlengths 4 194 | content large_stringlengths 1 1M | language stringclasses 29
values | license_type stringclasses 24
values | size int64 1 1M |
|---|---|---|---|---|---|---|
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullLinkedList_test.cpp | /****************************************************************************
**
** Copyright (f) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullLinkedList_test.cpp#16 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
*****************************... | C++ | Unknown | 8,981 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullPoints_test.cpp | /****************************************************************************
**
** Copyright (p) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPoints_test.cpp#19 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
*********************************... | C++ | Unknown | 13,014 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullPoint_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPoint_test.cpp#17 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
**********************************... | C++ | Unknown | 10,379 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/Coordinates_test.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/Coordinates_test.cpp#18 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
*********************************... | C++ | Unknown | 13,552 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullPointSet_test.cpp | /****************************************************************************
**
** Copyright (p) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullPointSet_test.cpp#10 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
*******************************... | C++ | Unknown | 10,068 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullFacetList_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacetList_test.cpp#17 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
******************************... | C++ | Unknown | 4,885 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/PointCoordinates_test.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/PointCoordinates_test.cpp#16 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
****************************... | C++ | Unknown | 11,103 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullRidge_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullRidge_test.cpp#12 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
**********************************... | C++ | Unknown | 4,379 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/UsingLibQhull_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/UsingLibQhull_test.cpp#6 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
********************************... | C++ | Unknown | 7,769 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullSet_test.cpp | /****************************************************************************
**
** Copyright (f) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullSet_test.cpp#21 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
************************************... | C++ | Unknown | 12,154 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/Point_test.cpp | /****************************************************************************
**
** Copyright (p) 2009-2010 p. Bradford Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/Point_test.cpp#12 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
********************************... | C++ | Unknown | 5,765 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/Qhull_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/Qhull_test.cpp#38 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
***************************************... | C++ | Unknown | 10,747 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullHyperplane_test.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullHyperplane_test.cpp#12 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
*****************************... | C++ | Unknown | 11,264 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/qhulltest.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/qhulltest.cpp#55 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
****************************************... | C++ | Unknown | 2,261 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/road/RoadLogEvent.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/road/RoadLogEvent.cpp#13 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
******************************************... | C++ | Unknown | 2,955 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/road/RoadError.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/road/RoadError.cpp#17 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
*********************************************... | C++ | Unknown | 3,319 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/road/RoadError.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/road/RoadError.h#22 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
***********************************************... | C/C++ Header | Unknown | 3,122 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/road/RoadTest.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/road/RoadTest.cpp#13 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
**********************************************... | C++ | Unknown | 1,876 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/road/RoadLogEvent.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/road/RoadLogEvent.h#12 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
********************************************... | C/C++ Header | Unknown | 3,535 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/road/RoadTest.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/road/RoadTest.h#16 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
************************************************... | C/C++ Header | Unknown | 2,064 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/Make-config.sh | #!/bin/sh -e
#
# Make-config.sh
#
# Setup for Debian build
#
# Writes configure.in and Makefile.am files
# and runs automake and autoconfig
#
# Use 'make dist' to build Unix distribution.
# Use 'configure; make' to build Qhull
#
#note:
# 'configure; make' does not work under cygwin.
# src/... | Shell | Unknown | 5,665 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qhull_a.h | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qhull_a.h
all header files for compiling qhull
see qh-qhull.htm
see libqhull.h for user-level definitions
see user.h for user-defineable constants
defines internal function... | C/C++ Header | Unknown | 4,925 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/userprintf.c | /*<html><pre> -<a href="qh-user.htm"
>-------------------------------</a><a name="TOP">-</a>
userprintf.c
qh_fprintf() and qh_fprintf_rbox()
see README.txt see COPYING.txt for copyright information.
If you redefine one of these functions you must redefine all of them.
I... | C | Unknown | 2,377 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/libqhull.h | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
libqhull.h
user-level header file for using qhull.a library
see qh-qhull.htm, qhull_a.h
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/libqhull.h... | C/C++ Header | Unknown | 49,838 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qset.h | /*<html><pre> -<a href="qh-set.htm"
>-------------------------------</a><a name="TOP">-</a>
qset.h
header file for qset.c that implements set
see qh-set.htm and qset.c
only uses mem.c, malloc/free
for error handling, writes message and calls
qh_errexit(qhmem_ERR... | C/C++ Header | Unknown | 14,703 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/user.h | /*<html><pre> -<a href="qh-user.htm"
>-------------------------------</a><a name="TOP">-</a>
user.h
user redefinable constants
see qh-user.htm. see COPYING for copyright information.
before reading any code, review libqhull.h for data structure definitions and
the "qh" ... | C/C++ Header | Unknown | 27,704 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/geom.c | /*<html><pre> -<a href="qh-geom.htm"
>-------------------------------</a><a name="TOP">-</a>
geom.c
geometric routines of qhull
see qh-geom.htm and geom.h
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/geom.c#29 $$Change: 1164 $
$DateTi... | C | Unknown | 42,430 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/poly2.c | /*<html><pre> -<a href="qh-poly.htm"
>-------------------------------</a><a name="TOP">-</a>
poly2.c
implements polygons and simplices
see qh-poly.htm, poly.h and libqhull.h
frequently used code is in poly.c
copyright (c) 1993-2010 The Geometry Center.
$Id: //product... | C | Unknown | 109,454 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/io.h | /*<html><pre> -<a href="qh-io.htm"
>-------------------------------</a><a name="TOP">-</a>
io.h
declarations of Input/Output functions
see README, libqhull.h and io.c
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/io.h#25 $$Change: 1164 $
... | C/C++ Header | Unknown | 7,925 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qhalf.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qhalf.c
compute the intersection of halfspaces about a point
see unix.c for full interface
copyright (c) 1993-2010, The Geometry Center
*/
#include <stdio.h>
#include <stdlib.h>... | C | Unknown | 11,927 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/user_eg2.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
user_eg2.c
sample code for calling qhull() from an application.
See user_eg.c for a simpler method using qh_new_qhull().
The method used here and in unix.c gives you additional
contr... | C | Unknown | 26,256 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/random.h | /*<html><pre> -<a href="qh-geom.htm"
>-------------------------------</a><a name="TOP">-</a>
random.h
header file for random routines
see qh-geom.htm and random.c
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/random.h#11 $$Change: 1164 $
... | C/C++ Header | Unknown | 934 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/user.c | /*<html><pre> -<a href="qh-user.htm"
>-------------------------------</a><a name="TOP">-</a>
user.c
user redefinable functions
see user2.c for qh_fprintf, qh_malloc, qh_free
see README.txt see COPYING.txt for copyright information.
see libqhull.h for data structures, m... | C | Unknown | 19,515 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/user_eg.c | /*<html><pre> -<a href="qh-user.htm"
>-------------------------------</a><a name="TOP">-</a>
user_eg.c
sample code for calling qhull() from an application
call with:
user_eg "cube/diamond options" "delaunay options" "halfspace options"
for example:
user_eg ... | C | Unknown | 10,687 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/random.c | /*<html><pre> -<a href="index.htm#TOC"
>-------------------------------</a><a name="TOP">-</a>
random.c -- utilities
Park & Miller's minimimal standard random number generator
argc/argv conversion
*/
#include "libqhull.h"
#include <string.h>
#include <stdio.h>
#include <std... | C | Unknown | 6,428 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/poly.h | /*<html><pre> -<a href="qh-poly.htm"
>-------------------------------</a><a name="TOP">-</a>
poly.h
header file for poly.c and poly2.c
see qh-poly.htm, libqhull.h and poly.c
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/poly.h#22 $$Change... | C/C++ Header | Unknown | 10,934 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qhull.h | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qhull.h
Proxy for libqhull.h for backwards compatability
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/qhull.h#51 $$Change: 1188 $
$DateTime: 20... | C/C++ Header | Unknown | 450 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qvoronoi.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qvoronoi.c
compute Voronoi diagrams and furthest-point Voronoi
diagrams using qhull
see unix.c for full interface
copyright (c) 1993-2010, The Geometry Center
*/
#include <... | C | Unknown | 11,586 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/merge.c | /*<html><pre> -<a href="qh-merge.htm#TOC"
>-------------------------------</a><a name="TOP">-</a>
merge.c
merges non-convex facets
see qh-merge.htm and merge.h
other modules call qh_premerge() and qh_postmerge()
the user may call qh_postmerge() to perform additional mer... | C | Unknown | 121,690 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/Changes.txt |
.............This file lists all changes to qhull and rbox.....................
------------
Need help
- The C++ interface needs work. Give it a try and make it better.
http://gitorious.org/qhull/
- Produce conformant triangulations for merged facets using option 'Qt'
- Add CMakeLists.txt for qhullcpp, user_e... | Text | Unknown | 69,672 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/mem.c | /*<html><pre> -<a href="qh-mem.htm"
>-------------------------------</a><a name="TOP">-</a>
mem.c
memory management routines for qhull
This is a standalone program.
To initialize memory:
qh_meminit(stderr);
qh_meminitbuffers(qh IStracing, qh_MEMalign, 7, qh_MEMbufsiz... | C | Unknown | 18,794 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/stat.h | /*<html><pre> -<a href="qh-stat.htm"
>-------------------------------</a><a name="TOP">-</a>
stat.h
contains all statistics that are collected for qhull
see qh-stat.htm and stat.c
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/stat.h#28 ... | C/C++ Header | Unknown | 12,584 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qset.c | /*<html><pre> -<a href="qh-set.htm"
>-------------------------------</a><a name="TOP">-</a>
qset.c
implements set manipulations needed for quickhull
see qh-set.htm and qset.h
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/qset.c#29 $$Chang... | C | Unknown | 32,059 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/mem.h | /*<html><pre> -<a href="qh-mem.htm"
>-------------------------------</a><a name="TOP">-</a>
mem.h
prototypes for memory management functions
see qh-mem.htm, mem.c and qset.h
for error handling, writes message and calls
qh_errexit(qhmem_ERRmem, NULL, NULL) if insuffic... | C/C++ Header | Unknown | 8,541 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/usermem.c | /*<html><pre> -<a href="qh-user.htm"
>-------------------------------</a><a name="TOP">-</a>
usermem.c
qh_exit(), qh_free(), and qh_malloc()
see README.txt see COPYING.txt for copyright information.
If you redefine one of these functions you must redefine all of them.
I... | C | Unknown | 1,516 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/global.c |
/*<html><pre> -<a href="qh-globa.htm"
>-------------------------------</a><a name="TOP">-</a>
global.c
initializes all the globals of the qhull application
see README
see libqhull.h for qh.globals and function prototypes
see qhull_a.h for internal functions
copyrig... | C | Unknown | 70,360 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/stat.c | /*<html><pre> -<a href="qh-stat.htm"
>-------------------------------</a><a name="TOP">-</a>
stat.c
contains all statistics that are collected for qhull
see qh-stat.htm and stat.h
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/stat.c#28 $$... | C | Unknown | 30,501 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/io.c | /*<html><pre> -<a href="qh-io.htm"
>-------------------------------</a><a name="TOP">-</a>
io.c
Input/Output routines of qhull application
see qh-io.htm and io.h
see user.c for qh_errprint and qh_printfacetlist
unix.c calls qh_readpoints and qh_produce_output
unix.c... | C | Unknown | 133,526 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qdelaun.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qdelaun.c
compute Delaunay triangulations and furthest-point Delaunay
triangulations using qhull
see unix.c for full interface
copyright (c) 1993-2010, The Geometry Center
*... | C | Unknown | 11,954 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/geom.h | /*<html><pre> -<a href="qh-geom.htm"
>-------------------------------</a><a name="TOP">-</a>
geom.h
header file for geometric routines
see qh-geom.htm and geom.c
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/geom.h#18 $$Change: 1164 $
... | C/C++ Header | Unknown | 7,192 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/rboxlib.c | /*<html><pre> -<a href="index.htm#TOC"
>-------------------------------</a><a name="TOP">-</a>
rboxlib.c
Generate input points
notes:
For documentation, see prompt[] of rbox.c
50 points generated for 'rbox D4'
WARNING:
incorrect range if qh_RANDOMmax is def... | C | Unknown | 22,157 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/qconvex.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qconvex.c
compute convex hulls using qhull
see unix.c for full interface
copyright (c) 1993-2010, The Geometry Center
*/
#include <stdio.h>
#include <stdlib.h>
#include <string... | C | Unknown | 12,242 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/merge.h | /*<html><pre> -<a href="qh-merge.htm"
>-------------------------------</a><a name="TOP">-</a>
merge.h
header file for merge.c
see qh-merge.htm and merge.c
copyright (c) 1993-2010 C.B. Barber.
$Id: //product/qhull/main/rel/src/merge.h#21 $$Change: 1164 $
$DateTime: 201... | C/C++ Header | Unknown | 7,300 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/geom2.c | /*<html><pre> -<a href="qh-geom.htm"
>-------------------------------</a><a name="TOP">-</a>
geom2.c
infrequently used geometric routines of qhull
see qh-geom.htm and geom.h
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/main/rel/src/geom2.c#29 $$Chan... | C | Unknown | 65,554 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/libqhull.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
libqhull.c
Quickhull algorithm for convex hulls
qhull() and top-level routines
see qh-qhull.htm, libqhull.h, unix.c
see qhull_a.h for internal functions
copyright (c) 1993-... | C | Unknown | 51,813 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/CMakeLists.txt | project(qhull_lib)
# Order object files by frequency of execution. Small files at end.
set(
qhull_src
rboxlib.c
user.c
global.c
stat.c
io.c
geom2.c
poly2.c
merge.c
libqhull.c
geom.c
poly.c
qset.c
mem.c
... | Text | Unknown | 1,130 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/poly.c | /*<html><pre> -<a href="qh-poly.htm"
>-------------------------------</a><a name="TOP">-</a>
poly.c
implements polygons and simplices
see qh-poly.htm, poly.h and libqhull.h
infrequent code is in poly2.c
(all but top 50 and their callers 12/3/95)
copyright (c) 1993-20... | C | Unknown | 39,826 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/unix.c | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
unix.c
command line interface to qhull
includes SIOUX interface for Macintoshes
see qh-qhull.htm
copyright (c) 1993-2010 The Geometry Center.
$Id: //product/qhull/mai... | C | Unknown | 15,648 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/src/rbox.c | /*<html><pre> -<a href="index.htm#TOC"
>-------------------------------</a><a name="TOP">-</a>
rbox.c
rbox program for generating input points for qhull.
notes:
50 points generated for 'rbox D4'
*/
#include "random.h"
#include "libqhull.h"
#include <stdarg.h>
#include... | C | Unknown | 3,363 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qhull-all.pro | # -------------------------------------------------
# qhull-all.pro -- Qt project to build all files
# -------------------------------------------------
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += libqhull
SUBDIRS += libqhullp #qh_QHpointer
SUBDIRS += user_eg
SUBDIRS += user_eg2
SUBDIRS += qhull
SUBDIRS += qconv... | IDL | Unknown | 461 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/rbox/rbox.pro | # -------------------------------------------------
# rbox.pro -- Qt project for rbox.exe
# -------------------------------------------------
TARGET = rbox
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual -Wextra -Wshadow -Wwrite-strings
QMAKE_CF... | IDL | Unknown | 952 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/libqhullcpp/libqhullcpp.pro | # -------------------------------------------------
# libqhullcpp.pro -- Qt project for Qhull cpp shared library
# -------------------------------------------------
DESTDIR = ../..
TEMPLATE = lib
CONFIG += shared warn_on
CONFIG -= app_bundle
LIBS += -L../..
DEFINES += qh_QHpointer
build_pass:CONFIG(debug, debug|releas... | IDL | Unknown | 2,443 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/user_eg2/user_eg2.pro | # -------------------------------------------------
# user_eg2.pro -- Qt project for Qhull demonstration
# -------------------------------------------------
TARGET = user_eg2
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual -... | IDL | Unknown | 931 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qhulltest/qhulltest.pro | # -------------------------------------------------
# qhulltest.pro -- Qt project for qhulltest.exe (QTestLib)
# -------------------------------------------------
TARGET = qhulltest
DESTDIR = ../..
TEMPLATE = app
CONFIG += console qtestlib warn_on
CONFIG -= app_bundle
LIBS += -L../..
DEFINES += qh_QHpointer
QMAKE_CXXF... | IDL | Unknown | 2,641 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qconvex/qconvex.pro | # -------------------------------------------------
# qconvex.pro -- Qt project file for qconvex.exe
# -------------------------------------------------
TARGET = qconvex
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual -Wext... | IDL | Unknown | 951 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/libqhullp/libqhullp.pro | # -------------------------------------------------
# libqhullp.pro -- Qhull static library with qh_qhPointer
# see libqhull.pro
# -------------------------------------------------
DESTDIR = ../..
TEMPLATE = lib
CONFIG += staticlib warn_on
CONFIG -= app_bundle qt
DEFINES += qh_QHpointer
# Appears to be needed for gc... | IDL | Unknown | 1,429 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/user_eg3/user_eg3.pro | # -------------------------------------------------
# user_eg3.pro -- Qt project for cpp demonstration user_eg3.exe
# -------------------------------------------------
TARGET = user_eg3
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
LIBS += -L../..
DEFINES += qh_QHpointer
QMAKE_CXXFLAGS_WARN_ON += -Werror -Wa... | IDL | Unknown | 1,744 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qhull/qhull.pro | # -------------------------------------------------
# qhull.pro -- Qt project file for qhull.exe
# -------------------------------------------------
TARGET = qhull
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual -Wextra -Ws... | IDL | Unknown | 963 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qhalf/qhalf.pro | # -------------------------------------------------
# qhalf.pro -- Qt project file for qconvex.exe
# -------------------------------------------------
TARGET = qhalf
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual -Wextra -... | IDL | Unknown | 945 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/user_eg/user_eg.pro | # -------------------------------------------------
# user_eg.pro -- Qt project for Qhull demonstration
# -------------------------------------------------
TARGET = user_eg
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
DEFINES += qh_QHpointer
QMAKE_CFLAGS_WARN_ON += -Werr... | IDL | Unknown | 953 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qvoronoi/qvoronoi.pro | # -------------------------------------------------
# qvoronoi.pro -- Qt project file for qvoronoi.exe
# -------------------------------------------------
TARGET = qvoronoi
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual -W... | IDL | Unknown | 957 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/qdelaunay/qdelaunay.pro | # -------------------------------------------------
# qdelaunay.pro -- Qt project file for qvoronoi.exe
# -------------------------------------------------
TARGET = qdelaunay
DESTDIR = ../..
TEMPLATE = app
CONFIG += console warn_on
CONFIG -= app_bundle
LIBS += -L../..
QMAKE_CFLAGS_WARN_ON += -Werror -Wall -Wcast-qual ... | IDL | Unknown | 960 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/project/libqhull/libqhull.pro | # -------------------------------------------------
# libqhull.pro -- Qt project for Qhull static library
# Built with qh_QHpointer=0. See libqhullp.pro
# -------------------------------------------------
DESTDIR = ../..
TEMPLATE = lib
CONFIG += staticlib warn_on
CONFIG -= app_bundle qt
# Appears to be needed for g... | IDL | Unknown | 3,253 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/vozutil.c | #include "voz.h"
#define FOREACHvertex2_(vertices) FOREACHsetelement_(vertexT, vertices2,vertex2)
/*char qh_version[] = "user_eg 3.1 2001/10/04"; */
int compar(const void * n1, const void * n2) {
int i1,i2;
i1 = *(int *)n1;
i2 = *(int *)n2;
return 2*(i1 > i2) - 1 + (i1 == i2);
}
/* Finds Delaunay adjacenc... | C | Unknown | 7,974 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/jozov.c | /* jozov.c by Mark Neyrinck
This program uses the tessellation from the voz* programs
to produce ZOBOV results (possibly, subject to subsequent
post-processing with zobovpostproc.py)
*/
/* jovoz.c by Mark Neyrinck */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "v... | C | Unknown | 16,147 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/vozisol.c | /*changes made to original version:*/
/*1. all floats changed to realT for consistency with rest of code*/
/*2. used posread() instead of posread_isol() to read particle positions*/
/*3. npreal is taken as an input argument, changed other input arguments too*/
/*4. stores true Voronoi volumes and assigned densities sep... | C | Unknown | 8,006 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/jovoz.c | /* jozov.c by Mark Neyrinck */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "voz.h"
#define NLINKS 1000 /* 100 Number of possible links with the same rho_sl */
typedef struct Particle {
realT vol;
int nadj;
int *adj;
} PARTICLE;
typedef struct Zone {
int core; /* Identity of peak particl... | C | Unknown | 12,593 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/voz1b1_mpi.c | #include <mpi.h>
#include "voz.h"
void voz1b1(char *posfile, realT border, realT boxsize,
int numdiv, int b[], char *suffix);
int main(int argc, char *argv[]) {
int i, MyProcessorNumber, NumberOfProcessors;
char *posfile, *suffix;
int numdiv;
realT border, boxsize;
int b[3];
MPI_Init(&argc, &argv);
... | C | Unknown | 1,637 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/voz.h | /*
Modified to match the precision of Qhull.
All the VOBOZ files now include this file,
and this one includes the necessary Qhull
header file.
REALfloat controls the precision in qhull/src/user.h.
0 = double
1 = single
Rick Wagner - 15JAN08
*/
/* qhull_a.h includes qhull/src/user.h */
#incl... | C/C++ Header | Unknown | 894 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/voztie.c | #include <stdio.h>
#include <stdlib.h>
#include "voz.h"
#define EQUALTHRESHOLD 1.52587890625e-5 /* 2^-16 */
#define FNL 1024 /* Max length of filenames */
int main(int argc, char *argv[]) {
FILE *part, *adj, *vol;
char partfile[FNL], *suffix, adjfile[FNL], volfile[FNL];
realT *vols, volstemp;
PARTADJ *adj... | C | Unknown | 5,000 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/findrtop.c | #include <math.h>
#include <stdlib.h>
#include "voz.h"
/*------------------------------------------------------------------------------
Find nb elements of Real array a having the largest value.
Returns index iord of these elements, ordered so iord[0] corresponds
to element a[iord[0]] having the largest value.
... | C | Unknown | 1,966 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/jozovtrvol.c | /* jozov.c by Mark Neyrinck
This program uses the tessellation from the voz* programs
to produce ZOBOV results (possibly, subject to subsequent
post-processing with zobovpostproc.py)
*/
/*EDITED by Shaun Hotchkiss and Seshadri Nadathur
Edits account for edge/boundary particles and for particle
den... | C | Unknown | 18,913 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/readme.txt | Running "make" in this directory should compile the following programs:
Programs used by both VOBOZ and ZOBOV:
vozinit
voz1b1
voztie
Programs used by VOBOZ:
jovoz
boz
Programs used by ZOBOV:
jozov
| Text | Unknown | 200 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/boz.c | /* boz.c by Mark Neyrinck */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "voz.h"
#define PRNTHR 1000
#define NPTOTOL 3000
#define NGRID 10
#define PI 3.14159265359
#define FNL 1024 /* Max length of filenames */
/* #define NSIM 512. */
typedef struct Zone {
realT prob; /* Halo probability */
... | C | Unknown | 21,562 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/vozinit.c | #include "voz.h"
#define DL for (d=0;d<3;d++)
#define BF REALmax
#define FNL 1024 /* Max length of filenames */
int openfile(char *filename, FILE **f);
int posread(char *posfile, realT ***p, realT fact);
int posread_chunk(FILE *f, realT **p, realT fact, int np, int nread);
int main(int argc, char *argv[]) {
int i,... | C | Unknown | 2,332 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/jozov-grid.c | /* jozov-grid.c written by Sesh Nadathur
This code examines a density field on a grid, identifies
locations of density minima and finds watershed void
regions around them. Has an option to invert algorithm
to find maxima (and 'supercluster' regions). Based on
the original jozov watershed code by Mar... | C | Unknown | 17,622 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/voz1b1_serial.c | #include "voz.h"
#define FNL 1024 /* Max length of filenames */
int delaunadj (coordT *points, int nvp, int nvpbuf, int nvpall, PARTADJ **adjs);
int vorvol (coordT *deladjs, coordT *points, pointT *intpoints, int numpoints, realT *vol);
int openfile(char *filename, FILE **f);
int posread(char *posfile, realT ***p, re... | C | Unknown | 2,372 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/voz1b1.c | #include "voz.h"
#include <stdbool.h>
int delaunadj (coordT *points, int nvp, int nvpbuf, int nvpall, PARTADJ **adjs);
int vorvol (coordT *deladjs, coordT *points, pointT *intpoints, int numpoints, realT *vol);
int openfile(char *filename, FILE **f);
int posread(char *posfile, realT ***p, realT fact);
int posread_chu... | C | Unknown | 12,877 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/readfiles.c | #include <stdio.h>
#include <stdlib.h>
#include "voz.h"
/* Open File */
/* Returns number of particles read */
int openfile(char *filename, FILE **f) {
int np;
*f = fopen(filename, "rb");
if (f == NULL) {
printf("Unable to open position file %s\n\n",filename);
exit(0);
}
/* Read number of particles... | C | Unknown | 6,206 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | src/checkedges.c | /* checkedges.c written by Seshadri Nadathur
Code to read output of Voronoi tessellations,
delete buffer mocks and identify edge particles
for later use by jozov.c
*/
#include <ctype.h>
#include "voz.h"
#define FF fflush(stdout)
#define FNL 1024 /* Max length of filenames */
typedef struct Particle {
int nadj;... | C | Unknown | 5,908 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | parameters/params.py | # An example parameter file to over-ride selected default inputs
handle = 'DR12_CMASS_South'
output_folder = 'revolver_test/'
tracer_file = 'galaxy_DR12v5_CMASS_South.fits'
random_file = 'random0_DR12v5_CMASS_South.fits'
mask_file = 'masks/DR12v5_CMASS_South_mask.fits'
void_prefix = 'recon-voids'
verbose = True
do_rec... | Python | Unknown | 411 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | parameters/default_params.py | # This file explains the input parameters for the code and assigns reasonable default values to each of them.
# Don't alter this file – instead use a separate parameters file to overwrite any input values you wish to change
# Note: distance units in this code are calculated in Mpc/h by default
# ======= runtime option... | Python | Unknown | 8,190 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | .idea/encodings.xml | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project> | XML | Unknown | 135 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | .idea/misc.xml | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7" project-jdk-type="Python SDK" />
<component name="PythonCompatibilityInspectionAdvertiser">
<option name="version" value="3" />
</component>
</project> | XML | Unknown | 301 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | .idea/workspace.xml | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="628088c6-3114-4efd-9049-54b35cadc2fb" name="Default" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" a... | XML | Unknown | 34,668 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | .idea/vcs.xml | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project> | XML | Unknown | 180 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | .idea/modules.xml | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/REVOLVER.iml" filepath="$PROJECT_DIR$/.idea/REVOLVER.iml" />
</modules>
</component>
</project> | XML | Unknown | 268 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | .idea/inspectionProfiles/Project_Default.xml | <component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ourVersions">
<value>
<list size="2">
... | XML | Unknown | 562 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | python_tools/zobov.py | from __future__ import print_function
import sys
import os
import numpy as np
import healpy as hp
import random
import subprocess
import glob
from scipy.spatial import cKDTree
from scipy.integrate import quad
from python_tools.cosmology import Cosmology
from python_tools.galaxycat import GalaxyCatalogue
from scipy.sign... | Python | Unknown | 88,423 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | python_tools/setup.py | from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
ext_modules=[ Extension("fastmodules",
["python_tools/fastmodules.pyx"],
libraries=["m"],
extra_compile_args = ["-ffast-math"],
include_... | Python | Unknown | 449 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.