The Conley-Morse Graphs Software
Functions | Variables
compmap.cpp File Reference

Computing the map on a given set of cubes at the final subdivision depth. More...

#include <exception>
#include <sstream>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <new>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/system/arg.h"
#include "config.h"
#include "confinfo.h"
#include "typedefs.h"
#include "typedyns.h"
#include "utils.h"
#include "mapopt.h"

Go to the source code of this file.

Functions

int runMapComp (const char *boxCoordinates, const char *mapOptFileName, const char *cubName, const char *mapName, const char *disjointName)
 
int main (int argc, char *argv[])
 The main procedure of the program. More...
 

Variables

const char * title
 The title of the program which is displayed every time the program is launcued. More...
 
const char * helpinfo
 The help information about the program which is displayed if the program is launched without command-line arguments or with incorrect arguments. More...
 

Detailed Description

Computing the map on a given set of cubes at the final subdivision depth.

This program may be useful for the computation of the index pairs and the index map for combinatorial Morse sets saved previously.

Author
Pawel Pilarczyk

Definition in file compmap.cpp.

Function Documentation

◆ main()

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

The main procedure of the program.

Returns: 0 = Ok, -1 = Error, 1 = Help displayed, 2 = Wrong arguments.

Definition at line 333 of file compmap.cpp.

References helpinfo, runMapComp(), and title.

◆ runMapComp()

int runMapComp ( const char *  boxCoordinates,
const char *  mapOptFileName,
const char *  cubName,
const char *  mapName,
const char *  disjointName 
)

Variable Documentation

◆ helpinfo

const char* helpinfo
Initial value:
= "\
This is the front-end program for the computation of a combinatorial\n\
cubical multivalued map on a cubical set at the final subdivision depth\n\
for a single parameter box. It is a supplementary program to 'cmgraphs',\n\
and may be used for the computation of the index pairs and the index map\n\
for combinatorial Morse sets saved previously.\n\
Command line arguments (the argument '-b' is mandatory):\n\
-b x1,x2,...,xN - the integer coordinates of a parameter box to use,\n\
file.cub - a file with the set of cubes on which to compute the map,\n\
file.map - a file to which the computed map will be saved,\n\
-d disjoint.cub - a set of cubes that will be removed from the images,\n\
-t filename - file name with optimization information (read only),\n\
--log filename - file name to save all the text output of the program to,\n\
--quiet - suppress any output written to the terminal,\n\
--debug - display additional information useful for debugging,\n\
--help - make the program show this brief help information and exit.\n\
For more information ask the author at http://www.pawelpilarczyk.com/."

The help information about the program which is displayed if the program is launched without command-line arguments or with incorrect arguments.

Definition at line 69 of file compmap.cpp.

Referenced by main().

◆ title

const char* title
Initial value:
= "\
This is a program which computes a combinatorial cubical multivalued map.\n\
Ver. 0.01, March 26, 2013. Copyright (C) 2005-2012 by Pawel Pilarczyk.\n\
This is free software. No warranty. Consult 'license.txt' for details."

The title of the program which is displayed every time the program is launcued.

Definition at line 61 of file compmap.cpp.

Referenced by main().