Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
boundaries.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  _Boundary
 
struct  BoxBoundary
 

Macros

#define boundary_iterate(type, ...)
 

Typedefs

typedef struct _Boundary Boundary
 

Functions

void add_boundary (Boundary *b)
 
void free_boundaries ()
 

Variables

static Boundary ** boundaries = NULL
 

Macro Definition Documentation

◆ boundary_iterate

#define boundary_iterate (   type,
  ... 
)
Value:
{ \
while (_i && (_b = *_i++)) \
if (_b->type) \
_b->type (_b, __VA_ARGS__); \
}
static Boundary ** boundaries
Definition boundaries.h:14
int x
Definition common.h:76
def _i
Definition stencils.h:405

Definition at line 40 of file boundaries.h.

Typedef Documentation

◆ Boundary

Definition at line 5 of file boundaries.h.

Function Documentation

◆ add_boundary()

void add_boundary ( Boundary b)

Definition at line 16 of file boundaries.h.

References b, boundaries, i, and x.

Referenced by init_grid(), and mpi_boundary_new().

Here is the caller graph for this function:

◆ free_boundaries()

void free_boundaries ( )

Definition at line 27 of file boundaries.h.

References b, boundaries, _Boundary::destroy, free(), i, and x.

Referenced by free_grid().

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

Variable Documentation

◆ boundaries

Boundary** boundaries = NULL
static

Definition at line 14 of file boundaries.h.

Referenced by add_boundary(), and free_boundaries().