Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
parse.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  Params
 

Enumerations

enum  ParamsType {
  pstring , pint , punsigned , pbool ,
  pfloat , pdouble , pcolormap
}
 

Functions

static bool atobool (char *s)
 
static bool args (Params *p, char *val)
 
static charfind_comma (char *s)
 
static charmystrtok (char *str, const char *delim)
 
int parse_params (Params *params)
 

Enumeration Type Documentation

◆ ParamsType

Parser for interactive bview

Enumerator
pstring 
pint 
punsigned 
pbool 
pfloat 
pdouble 
pcolormap 

Definition at line 7 of file parse.h.

Function Documentation

◆ args()

static bool args ( Params p,
char val 
)
static

Definition at line 25 of file parse.h.

References assert, atobool(), c, cool_warm(), gray(), i, jet(), n, nc, p, pbool, pcolormap, pdouble, pfloat, pint, pstring, punsigned, randomap(), s, val(), and x.

Referenced by parse_params().

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

◆ atobool()

static bool atobool ( char s)
static

Definition at line 16 of file parse.h.

References s, and x.

Referenced by args().

Here is the caller graph for this function:

◆ find_comma()

static char * find_comma ( char s)
static

Definition at line 123 of file parse.h.

References s, and x.

Referenced by parse_params().

Here is the caller graph for this function:

◆ mystrtok()

static char * mystrtok ( char str,
const char delim 
)
static

Definition at line 140 of file parse.h.

References s, str, and x.

Referenced by parse_params(), and process_line().

Here is the caller graph for this function:

◆ parse_params()

int parse_params ( Params params)

Definition at line 158 of file parse.h.

References args(), find_comma(), i, mystrtok(), n, p, s, and x.

Referenced by if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), and process_line().

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