Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
array.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Array
 

Functions

Arrayarray_new ()
 
void array_free (Array *a)
 
voidarray_append (Array *a, void *elem, size_t size)
 
voidarray_shrink (Array *a)
 

Function Documentation

◆ array_append()

void * array_append ( Array a,
void elem,
size_t  size 
)

Definition at line 24 of file array.h.

References a, max, realloc(), size, and x.

Referenced by append_pid(), display_control_internal(), distance(), free_solver_func_add(), input_stl(), input_xy(), is_newpid(), no_coalescence(), rcv_pid_append_pids(), tag(), update_distance(), vertex_buffer_glColor3f(), vertex_buffer_glNormal3d(), vertex_buffer_glVertex2d(), vertex_buffer_glVertex3d(), and vertex_buffer_push_index().

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

◆ array_free()

void array_free ( Array a)

Definition at line 18 of file array.h.

References a, and free().

Referenced by balance(), display_destroy(), display_poll(), free_solver(), mpi_boundary_destroy(), no_coalescence(), tag(), and vertex_buffer_free().

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

◆ array_new()

Array * array_new ( )

Definition at line 10 of file array.h.

References a, qmalloc, and x.

Referenced by balance(), display_init(), distance(), free_solver_func_add(), input_stl(), input_xy(), is_newpid(), mpi_boundary_new(), no_coalescence(), tag(), update_distance(), and vertex_buffer_setup().

Here is the caller graph for this function:

◆ array_shrink()

void * array_shrink ( Array a)

Definition at line 35 of file array.h.

References a, free(), p, and realloc().

Referenced by distance(), input_stl(), input_xy(), and update_distance().

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