IO Compression Utilities
[Utilities]

Collaboration diagram for IO Compression Utilities:

Functions

int utr_io_decompress_file (const char *Work_dir, const char *Filename, char *Decompressed_filename)
 This functions tries to find compressed file and decompress it, in given directory.
int utr_io_compress_file (const char *Work_dir, const char *Filename)
 This functions tires to find given file and compress it, saving compressed file under the same name, but with ".zip" postfix (e.g. "field0.dmp" will become "field0.dmp.zip").

Detailed Description

The IO Compression Utilities provides automatic ZIP compression of all dumped mesh and field files. General assumptions:

The IO Compression Utilities are enabled by default.

/** /** /** /**


Function Documentation

int utr_io_compress_file ( const char *  Work_dir,
const char *  Filename 
)

This functions tires to find given file and compress it, saving compressed file under the same name, but with ".zip" postfix (e.g. "field0.dmp" will become "field0.dmp.zip").

Parameters:
Work_dir const char* Working directory - in this path given Filename will be searched.
Filename const char* file to compress
Returns:
int

Here is the caller graph for this function:

int utr_io_decompress_file ( const char *  Work_dir,
const char *  Filename,
char *  Decompressed_filename 
)

This functions tries to find compressed file and decompress it, in given directory.

Parameters:
Work_dir const char* Working directory - in this path given Filename will be searched.
Filename const char* filename with or without ".zip" ending to decompress.
Decompressed_filename OUT: filename to proceed with, after decompression.
Returns:
int

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1