xyzdensity.C File Reference

Convert an xyz point set into a volume density Handles everything known about a triangle in a mesh. More...

#include <cassert>
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include "Density.H"
#include "xyzdensity_cmd.h"
#include "debug.H"

Functions

bool LoadData (const string &filename, Density &d)
bool LoadData4 (const string &filename, Density &d)
 Load xyzc ascii data where c is the value to put in the cell.
int main (int argc, char *argv[])

Variables

int debug_level
 The main program needs to define this as a non-extern.
static const UNUSED char * RCSid = "@(#) $Id: xyzdensity.C,v 1.20 2004/11/13 22:26:37 schwehr Exp $"
 Let the debugger find out which version is being used.


Detailed Description

Convert an xyz point set into a volume density Handles everything known about a triangle in a mesh.


Function Documentation

bool LoadData const string &  filename,
Density d
 

bool LoadData4 const string &  filename,
Density d
 

Load xyzc ascii data where c is the value to put in the cell.

FIX: validate this function!

Parameters:
filename File of ascii x y z c tuples
d Density structure to fill (it is not emptied first)
Returns:
false if trouble

int main int  argc,
char *  argv[]
 


Variable Documentation

int debug_level
 

The main program needs to define this as a non-extern.

const UNUSED char* RCSid = "@(#) $Id: xyzdensity.C,v 1.20 2004/11/13 22:26:37 schwehr Exp $" [static]
 

Let the debugger find out which version is being used.


Generated on Thu Mar 2 17:55:25 2006 for density by  doxygen 1.4.6