PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
flag.c File Reference

Flag database. More...

#include "pluto.h"

Functions

void FlagReset (const Data *d)
 
unsigned char CheckZone (int z, int bit)
 

Detailed Description

The FlagReset() function is simply used to reset all the bits ot the flag array to zero (immediately before starting integration) and keep a static copy of its memory address.

The CheckZone() function is used to check whether a zone has been tagged with a particular flag using the Bit flag labels

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
Oct 29, 2012

Function Documentation

unsigned char CheckZone ( int  z,
int  bit 
)

Check if bit "bit" is turned on in zone "z".

void FlagReset ( const Data d)

Set d->flag array to zero and keep a static reference.