simpmesh.c File Reference

Basic vector math and mesh operations. More...

#include <stdlib.h>
#include "simpmesh.h"
#include <stdio.h>
#include <math.h>
#include "mcx_utils.h"
#include "posix_randr.h"
#include "fastmath.h"
Include dependency graph for simpmesh.c:
This graph shows which files directly or indirectly include this file:

Functions

void mesh_init (tetmesh *mesh)
void mesh_init_from_cfg (tetmesh *mesh, Config *cfg)
void mesh_error (char *msg)
void mesh_filenames (char *format, char *foutput, Config *cfg)
void mesh_loadnode (tetmesh *mesh, Config *cfg)
void mesh_loadmedia (tetmesh *mesh, Config *cfg)
void mesh_loadelem (tetmesh *mesh, Config *cfg)
void mesh_loadelemvol (tetmesh *mesh, Config *cfg)
void mesh_loadfaceneighbor (tetmesh *mesh, Config *cfg)
void mesh_clear (tetmesh *mesh)
void tracer_init (raytracer *tracer, tetmesh *pmesh)
void tracer_clear (raytracer *tracer)
void tracer_build (raytracer *tracer)
float mc_next_scatter (float g, float3 *dir, RandType *ran, RandType *ran0, Config *cfg)
void mesh_saveweight (tetmesh *mesh, Config *cfg)
float mesh_normalize (tetmesh *mesh, Config *cfg, float Eabsorb, float Etotal)

Variables

char pathsep = '/'

Detailed Description

Basic vector math and mesh operations.


Function Documentation

float mesh_normalize ( tetmesh mesh,
Config cfg,
float  Eabsorb,
float  Etotal 
)

mesh->med[mesh->type[i]-1].n;

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