OpenAtom  Version1.5a
test_para_grp_parse.C File Reference
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include "para_grp_parse.h"

Go to the source code of this file.

Functions

void create_kvec (int **kx_out, int **ky_out, int **kz_out, int nplane, int *nktot_out)
 = Create model data points in 3D with spherical truncation
 
void get_glenn_prms (int nktot, int *kx, int *ky, int *nplane_ret, int *nline_ret, int **istrt_ret, int **iend_ret, int **npts_ret, int **kx_line_ret, int **ky_line_ret)
 = Decompose the nktot data points into chunks based on plane index More...
 
void test_flip (int nktot, int nplane, int *kx, int *ky, int *kz)
 = Create model data points in 3D with spherical truncation
 
int main ()
 

Function Documentation

void get_glenn_prms ( int  nktot,
int *  kx,
int *  ky,
int *  nplane_ret,
int *  nline_ret,
int **  istrt_ret,
int **  iend_ret,
int **  npts_ret,
int **  kx_line_ret,
int **  ky_line_ret 
)

= Decompose the nktot data points into chunks based on plane index

= count the planes

Definition at line 179 of file test_para_grp_parse.C.

Referenced by main().

int main ( )

= create the model data set

= Parse the data out by plane index

Definition at line 35 of file test_para_grp_parse.C.

References create_kvec(), ParaGrpParse::flip_data_set(), get_glenn_prms(), ParaGrpParse::get_plane_line_prms(), and test_flip().