Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfRunner.h File Reference
#include "tf_platform.h"
#include "tf_cycle.h"
Include dependency graph for tfRunner.h:

Go to the source code of this file.

Classes

struct  TissueForge::runner_fifo
 
struct  TissueForge::runner
 

Namespaces

namespace  TissueForge
 Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
 

Macros

#define runner_minsleep   1000
 
#define runner_bitesize   3
 
#define runner_verlet_bitesize   200
 
#define runner_dispatch_stop   0xffffffff
 
#define runner_dispatch_lookahead   20
 
#define TIMER_TIC_ND
 
#define TIMER_TIC
 
#define TIMER_TOC(t)
 
#define TIMER_TIC2
 
#define TIMER_TOC2(t)
 

Typedefs

typedef struct TissueForge::runner_fifo TissueForge::runner_fifo
 
typedef struct TissueForge::runner TissueForge::runner
 

Enumerations

enum  {
  runner_timer_queue = 0 , runner_timer_pair , runner_timer_self , runner_timer_sort ,
  runner_timer_count
}
 

Functions

HRESULT TissueForge::runner_init (struct runner *r, struct engine *e, int id)
 Initialize the runner associated to the given engine.
 
HRESULT TissueForge::runner_run (struct runner *r)
 
void TissueForge::runner_sort_ascending (unsigned int *parts, int N)
 Sort the particles in ascending order using QuickSort.
 
void TissueForge::runner_sort_descending (unsigned int *parts, int N)
 Sort the particles in descending order using QuickSort.
 
HRESULT TissueForge::runner_verlet_eval (struct runner *r, struct space_cell *c, FPTYPE *f_out)
 Compute the interactions between the particles in the given space_cell using the verlet list.
 
HRESULT TissueForge::runner_verlet_fill (struct runner *r, struct space_cell *cell_i, struct space_cell *cell_j, FPTYPE *pshift)
 Fill in the Verlet list entries for the given space_cell pair.
 
HRESULT TissueForge::runner_dosort (struct runner *r, struct space_cell *c, int flags)
 Fill in the pairwise Verlet list entries for the given cell pair if needed and compute the interactions.
 
HRESULT TissueForge::runner_dopair (struct runner *r, struct space_cell *cell_i, struct space_cell *cell_j, int sid)
 Compute the pairwise interactions for the given pair.
 
HRESULT TissueForge::runner_dopair_fluxonly (struct runner *r, struct space_cell *cell_i, struct space_cell *cell_j, int sid)
 Compute the pairwise fluxes for the given pair.
 
HRESULT TissueForge::runner_doself (struct runner *r, struct space_cell *cell_i)
 Compute the self-interactions for the given cell.
 
HRESULT TissueForge::runner_doself_fluxonly (struct runner *r, struct space_cell *cell_i)
 Compute the self-fluxes for the given cell.
 

Variables

ticks TissueForge::runner_timers []
 

Macro Definition Documentation

◆ runner_bitesize

#define runner_bitesize   3

Maximum number of cellpairs to get from space_getpair.

◆ runner_dispatch_stop

#define runner_dispatch_stop   0xffffffff

Magic word to make the dispatcher stop.

◆ runner_verlet_bitesize

#define runner_verlet_bitesize   200

Number of particles to request per call to space_getverlet.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Timers.