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

Go to the source code of this file.

Functions

void output_header (IGBheader *)
 
size_t jive (IGBheader *header, gzFile in)
 
bool iswrite (int i)
 
bool has_gzip_extension (const string &fn)
 
void write_to_binary (IGBheader *h, gzFile in, FILE *out_fp, int skip)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ has_gzip_extension()

bool has_gzip_extension ( const string &  fn)

Definition at line 357 of file igbhead.cc.

Here is the caller graph for this function:

◆ iswrite()

bool iswrite ( int  i)

◆ jive()

size_t jive ( IGBheader header,
gzFile  in 
)

determine the actual number of time slices

Definition at line 340 of file igbhead.cc.

Here is the caller graph for this function:

◆ main()

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

Definition at line 86 of file igbhead.cc.

◆ output_header()

void output_header ( IGBheader header)

Definition at line 239 of file igbhead.cc.

Here is the caller graph for this function:

◆ write_to_binary()

void write_to_binary ( IGBheader h,
gzFile  in,
FILE *  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 52 of file igbhead.cc.

Here is the caller graph for this function: