Defines | Functions

tools/test.cc File Reference

#include <iostream>
#include <iomanip>
#include <stdlib.h>
#include <stdio.h>
#include <i3d/image3d.h>
#include "AndreIO.h"
#include "ofFMGSolver.h"

Defines

#define XMAX   109
#define YMAX   87
#define XMAXP   155
#define YMAXP   124

Functions

template<class ftype , class itype >
void ReadBinaryData (char *filename, ftype **u, itype nx, itype ny, itype bx, itype by)
template<class itype , class fptype >
void cell_resample_orderx_1d (fptype *u, itype n, itype m, fptype *v)
template<class itype , class fptype >
void cell_resample_orderx_2d (fptype **u, itype nx, itype ny, itype bx, itype by, fptype **u_out, itype mx, itype my, fptype **tmp)
template<class itype , class fptype >
void cell_resample_orderx_2d_x (fptype **u, itype nx, itype ny, itype bx, itype by, fptype **u_out, itype mx)
template<class itype , class fptype >
void cell_resample_orderx_2d_y (fptype **u, itype nx, itype ny, itype bx, itype by, fptype **u_out, itype my)
template<class fptype , class itype >
void warp_2d (fptype **f1, fptype **f2, fptype **f2_warp, fptype **u, fptype **v, fptype **psi_pri_d_on, itype nx, itype ny, itype bx, itype by, fptype hx, fptype hy)
template<class VOXEL >
void Alloc_array (VOXEL ***a, int nx, int ny)
template<class VOXEL >
void Free_array (VOXEL ***a, int nx, int ny)
int main (int argc, char **argv)

Define Documentation

#define XMAX   109
#define YMAX   87
#define XMAXP   155
#define YMAXP   124

Function Documentation

template<class ftype , class itype >
void ReadBinaryData ( char *  filename,
ftype **  u,
itype  nx,
itype  ny,
itype  bx,
itype  by 
)
template<class itype , class fptype >
void cell_resample_orderx_1d ( fptype *  u,
itype  n,
itype  m,
fptype *  v 
)
template<class itype , class fptype >
void cell_resample_orderx_2d ( fptype **  u,
itype  nx,
itype  ny,
itype  bx,
itype  by,
fptype **  u_out,
itype  mx,
itype  my,
fptype **  tmp 
)
template<class itype , class fptype >
void cell_resample_orderx_2d_x ( fptype **  u,
itype  nx,
itype  ny,
itype  bx,
itype  by,
fptype **  u_out,
itype  mx 
)
template<class itype , class fptype >
void cell_resample_orderx_2d_y ( fptype **  u,
itype  nx,
itype  ny,
itype  bx,
itype  by,
fptype **  u_out,
itype  my 
)
template<class fptype , class itype >
void warp_2d ( fptype **  f1,
fptype **  f2,
fptype **  f2_warp,
fptype **  u,
fptype **  v,
fptype **  psi_pri_d_on,
itype  nx,
itype  ny,
itype  bx,
itype  by,
fptype  hx,
fptype  hy 
)
template<class VOXEL >
void Alloc_array ( VOXEL ***  a,
int  nx,
int  ny 
)
template<class VOXEL >
void Free_array ( VOXEL ***  a,
int  nx,
int  ny 
)
int main ( int  argc,
char **  argv 
)