YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_bnd_sphere_part.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include "tests.h"
#include "test_common.h"
#include "grids/basic_grid.h"
#include "sphere_part.h"
#include "geometry.h"
Include dependency graph for test_bnd_sphere_part.c:

Go to the source code of this file.

Functions

static void gen_random_point (double *point)
 
static void gen_random_bnd_circle (struct bounding_circle *circle)
 
static void gen_random_bnd_circle_big (struct bounding_circle *circle)
 
static int compare_size_t (void const *a, void const *b)
 
static int check_results (size_t *list, size_t list_size, size_t *sorted_indices, size_t count)
 

Detailed Description

Test
This contains a test of the bounding circle sphere part algorithm.

Definition in file test_bnd_sphere_part.c.

Function Documentation

◆ check_results()

static int check_results ( size_t * list,
size_t list_size,
size_t * sorted_indices,
size_t count )
static

Definition at line 73 of file test_bnd_sphere_part.c.

Here is the call graph for this function:

◆ compare_size_t()

static int compare_size_t ( void const * a,
void const * b )
static

Definition at line 67 of file test_bnd_sphere_part.c.

Here is the caller graph for this function:

◆ gen_random_bnd_circle()

static void gen_random_bnd_circle ( struct bounding_circle * circle)
static

Definition at line 51 of file test_bnd_sphere_part.c.

Here is the call graph for this function:

◆ gen_random_bnd_circle_big()

static void gen_random_bnd_circle_big ( struct bounding_circle * circle)
static

Definition at line 59 of file test_bnd_sphere_part.c.

Here is the call graph for this function:

◆ gen_random_point()

static void gen_random_point ( double * point)
static

Definition at line 44 of file test_bnd_sphere_part.c.

Here is the call graph for this function:
Here is the caller graph for this function: