IBAMR  IBAMR version 0.19.
Classes | Namespaces | Macros | Variables
ibamr_utilities.h File Reference
#include <ibamr/config.h>
#include "tbox/PIO.h"
#include "tbox/Pointer.h"

Classes

struct  std::less< SAMRAI::tbox::Pointer< T > >
 

Namespaces

 IBAMR
 

Macros

#define IBAMR_DO_ONCE(task)
 
#define IBAMR_TIMER_START(timer)
 
#define IBAMR_TIMER_STOP(timer)
 

Variables

static const bool IBAMR::ENABLE_TIMERS = true
 

Macro Definition Documentation

◆ IBAMR_DO_ONCE

#define IBAMR_DO_ONCE (   task)
Value:
do \
{ \
static bool done = false; \
if (done == false) \
{ \
task; \
done = true; \
} \
} while (0);

◆ IBAMR_TIMER_START

#define IBAMR_TIMER_START (   timer)
Value:
do \
{ \
if (IBAMR::ENABLE_TIMERS) timer->start(); \
} while (0);

◆ IBAMR_TIMER_STOP

#define IBAMR_TIMER_STOP (   timer)
Value:
do \
{ \
if (IBAMR::ENABLE_TIMERS) timer->stop(); \
} while (0);
IBAMR::ENABLE_TIMERS
static const bool ENABLE_TIMERS
Definition: ibamr_utilities.h:40