openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Classes | Functions
igbhead.cc File Reference
#include <cstdio>
#include <string>
#include <iostream>
#include <libgen.h>
#include "IGBheader.h"
#include "cmdline.h"
Include dependency graph for igbhead.cc:

Go to the source code of this file.

Classes

class  FILE_PTR
 

Functions

void output_header (IGBheader *)
 
int jive (IGBheader *header, gzFile in)
 
bool iswrite (int i)
 
void write_slice (IGBheader *header, IGBheader *in, string ofnb, double *buf, int)
 
bool iscompressed (string fn)
 
void write_to_binary (IGBheader *h, gzFile in, FILE_PTR *out_fp, int skip)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ iscompressed()

bool iscompressed ( string  fn)

Definition at line 403 of file igbhead.cc.

Here is the caller graph for this function:

◆ iswrite()

bool iswrite ( int  i)

◆ jive()

int jive ( IGBheader header,
gzFile  in 
)

determine the actual number of time slices

Definition at line 354 of file igbhead.cc.

Here is the caller graph for this function:

◆ main()

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

Definition at line 102 of file igbhead.cc.

◆ output_header()

void output_header ( IGBheader header)

Definition at line 253 of file igbhead.cc.

Here is the caller graph for this function:

◆ write_slice()

void write_slice ( IGBheader hout,
IGBheader hin,
string  ofnb,
double *  buf,
int  slnum 
)

write slices when exploding

Definition at line 373 of file igbhead.cc.

◆ write_to_binary()

void write_to_binary ( IGBheader h,
gzFile  in,
FILE_PTR out_fp,
int  skip 
)

read in an ascii file and convert to binary

Parameters
hheader
inascii file
outbinary file
numeberof lines to skip in ASCII file

Definition at line 68 of file igbhead.cc.

Here is the caller graph for this function: