tettracing.h File Reference

Definition of the core ray-tracing functions. More...

#include "simpmesh.h"
#include "mcx_utils.h"
Include dependency graph for tettracing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAX_TRIAL   3
#define FIX_PHOTON   1e-3f

Functions

void interppos (float3 *w, float3 *p1, float3 *p2, float3 *p3, float3 *pout)
void getinterp (float w1, float w2, float w3, float3 *p1, float3 *p2, float3 *p3, float3 *pout)
void fixphoton (float3 *p, float3 *nodes, int *ee)
float onephoton (int id, raytracer *tracer, tetmesh *mesh, Config *cfg, float rtstep, RandType *ran, RandType *ran0)
float reflectray (Config *cfg, float3 *c0, raytracer *tracer, int *oldeid, int *eid, int faceid, RandType *ran)
float mmc_rsqrtf (float a)

Detailed Description

Definition of the core ray-tracing functions.

 All Classes Files Functions Variables
Generated on Wed Dec 15 18:02:15 2010 by  doxygen 1.6.3