SDA (SDA flex)  7.2
Simulation of Diffusional Association
Functions
dtgrid2UHBD.cpp File Reference

Main program to convert a DT-Grid file into a UHBD format file. More...

#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string.h>
#include <sstream>
#include <iomanip>
#include "../datastructures/DTGrid3Dex.hpp"
#include "../datastructures/DTGrid3D.hpp"
Include dependency graph for dtgrid2UHBD.cpp:

Functions

void write_uhbd_ascii_header (FILE *output_file, char *Title, float scale, float spacing, int one, int grdflag, int dimi, int dimj, int dimk, float o_x, float o_y, float o_z, float dummy1, float dummy2, float dummy3, float dummy4, float dummy5, float dummy6, float dummy7, int idummy1, int idummy2, int idummy3, int idummy4, int idummy5)
 //WRITE THE UHBD FILE HEADER in ascii format More...
 
void write_uhbd_binary_header (FILE *output_file, char *Title, float scale, float spacing, int one, int grdflag, int dimi, int dimj, int dimk, float o_x, float o_y, float o_z, float dummy1, float dummy2, float dummy3, float dummy4, float dummy5, float dummy6, float dummy7, int idummy1, int idummy2, int idummy3, int idummy4, int idummy5)
 //WRITE THE UHBD FILE HEADER in binary format More...
 
void help_menu (void)
 help menu function More...
 
int main (int argc, char *argv[])
 main program call More...
 

Detailed Description

Main program to convert a DT-Grid file into a UHBD format file.

This program converts a DT-Grid file into a UHBD grid file. It inputs and outputs both ascii and binary types. Running the program with "-h" option in command line returns the options available for the user.

Author
Musa Ozboyaci

Function Documentation

◆ help_menu()

void help_menu ( void  )

help menu function

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

main program call

Here is the call graph for this function:

◆ write_uhbd_ascii_header()

void write_uhbd_ascii_header ( FILE *  output_file,
char *  Title,
float  scale,
float  spacing,
int  one,
int  grdflag,
int  dimi,
int  dimj,
int  dimk,
float  o_x,
float  o_y,
float  o_z,
float  dummy1,
float  dummy2,
float  dummy3,
float  dummy4,
float  dummy5,
float  dummy6,
float  dummy7,
int  idummy1,
int  idummy2,
int  idummy3,
int  idummy4,
int  idummy5 
)

//WRITE THE UHBD FILE HEADER in ascii format

Here is the caller graph for this function:

◆ write_uhbd_binary_header()

void write_uhbd_binary_header ( FILE *  output_file,
char *  Title,
float  scale,
float  spacing,
int  one,
int  grdflag,
int  dimi,
int  dimj,
int  dimk,
float  o_x,
float  o_y,
float  o_z,
float  dummy1,
float  dummy2,
float  dummy3,
float  dummy4,
float  dummy5,
float  dummy6,
float  dummy7,
int  idummy1,
int  idummy2,
int  idummy3,
int  idummy4,
int  idummy5 
)

//WRITE THE UHBD FILE HEADER in binary format

Here is the caller graph for this function:
Imprint/Privacy