mightymandel v16

GPU-based Mandelbrot set explorer

atom.h
Go to the documentation of this file.
1 // mightymandel -- GPU-based Mandelbrot Set explorer
2 // Copyright (C) 2012,2013,2014 Claude Heiland-Allen
3 // License GPL3+ http://www.gnu.org/licenses/gpl.html
4 
5 #ifndef ATOM_H
6 #define ATOM_H 1
7 
13 #include <mpfr.h>
14 #include "utility.h"
15 
16 int crosses_positive_real_axis(const mpfr_t ax, const mpfr_t ay, const mpfr_t bx, const mpfr_t by);
17 int surrounds_origin(const mpfr_t ax, const mpfr_t ay, const mpfr_t bx, const mpfr_t by, const mpfr_t cx, const mpfr_t cy, const mpfr_t dx, const mpfr_t dy);
18 int did_escaped(const mpfr_t x, const mpfr_t y);
19 unsigned int boxperiod(const mpfr_t cx, const mpfr_t cy, const mpfr_t r, unsigned int maxperiod, void *abort_data, abort_t abort_fn);
20 int muatom(int period, mpfr_t x, mpfr_t y, mpfr_t z, void *abort_data, abort_t abort_fn);
21 
22 #endif