quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
|
#include <algorithm>
#include <random>
#include <quadgrid_cpp.h>
#include <particles.h>
#include <map>
#include <fstream>
#include <iostream>
Typedefs | |
using | idx_t = quadgrid_t< std::vector< double > >::idx_t |
Functions | |
static bool | inside (double x, double y) |
int | main (int argc, char *argv[]) |
Variables | |
static constexpr double | radius = .1 |
static constexpr double | xc = .5 |
static constexpr double | yc = .5 |
static constexpr idx_t | initial_num_particles = 1000000 |
using idx_t = quadgrid_t<std::vector<double> >::idx_t |
|
static |
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |