Zoltan2 Version of the Day
Namespaces | Defines | Functions | Variables
Zoltan2_ChacoReader.cpp File Reference

Reader for legacy zoltan1 files. More...

#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
Include dependency graph for Zoltan2_ChacoReader.cpp:

Go to the source code of this file.

Namespaces

namespace  Zoltan2

Defines

#define LINE_LENGTH   200

Functions

static void Zoltan2::chaco_flush_line (FILE *infile)
 helper function for zoltan1 chaco reader code Reader code was copied from zoltan1 test driver code.
double Zoltan2::chaco_read_val (FILE *infile, int *end_flag)
 read a double from a file Reader code was copied from zoltan1 test driver code.
int Zoltan2::chaco_read_int (FILE *infile, int *end_flag)
 read a int from a file Reader code was copied from zoltan1 test driver code.
int Zoltan2::chaco_input_graph (FILE *fin, char *inname, int **start, int **adjacency, int *nvtxs, int *vwgt_dim, float **vweights, int *ewgt_dim, float **eweights)
 read a Chaco graph file Reader code was copied from zoltan1 test driver code. File is closed when read is completed.
int Zoltan2::chaco_input_geom (FILE *fingeom, char *geomname, int nvtxs, int *igeom, float **x, float **y, float **z)
 read a Chaco coordinates file Reader code was copied from zoltan1 test driver code. File is closed when read is completed.

Variables

static char Zoltan2::chaco_line [LINE_LENGTH]
static int Zoltan2::chaco_offset = 0
static int Zoltan2::chaco_break_pnt = LINE_LENGTH
static int Zoltan2::chaco_save_pnt

Detailed Description

Reader for legacy zoltan1 files.

Definition in file Zoltan2_ChacoReader.cpp.


Define Documentation

#define LINE_LENGTH   200

Definition at line 57 of file Zoltan2_ChacoReader.cpp.