The ChainCon Software (Release 0.03)
Macros | Functions | Variables
ssqcub.cpp File Reference

A program for the computation of the Steenrod squares, using algebraic minimal models for cubical sets and the direct formula by Marek Krcal. More...

#include <istream>
#include <ostream>
#include <string>
#include "chaincon/stringhash.h"
#include "chomp/system/config.h"
#include "chomp/struct/hashsets.h"
#include "chaincon/ssquarescub.h"
#include "ssqmain.h"

Go to the source code of this file.

Macros

#define CUBES_NOT_SIMPLICES   1
 
#define DIRECT_CUBICAL_FORMULA   1
 

Functions

int main (int argc, char *argv [])
 The main procedure of the program. More...
 

Variables

const char * title
 The title of the program and licensing information. More...
 
const char * helpinfo
 Brief help information on the program's usage. More...
 

Detailed Description

A program for the computation of the Steenrod squares, using algebraic minimal models for cubical sets and the direct formula by Marek Krcal.

Definition in file ssqcub.cpp.

Macro Definition Documentation

◆ CUBES_NOT_SIMPLICES

#define CUBES_NOT_SIMPLICES   1

Definition at line 32 of file ssqcub.cpp.

◆ DIRECT_CUBICAL_FORMULA

#define DIRECT_CUBICAL_FORMULA   1

Definition at line 37 of file ssqcub.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 92 of file ssqcub.cpp.

References helpinfo, steenrodSquaresMain(), and title.

Variable Documentation

◆ helpinfo

const char* helpinfo
Initial value:
= "\
This program computes and displays all the non-zero Steenrod squares\n\
of a cubical set. The program uses a formula introduced by Marek Krcal\n\
for a cubical complex, without subdivision into a simplicial set.\n\
Note that the ring of coefficients is fixed to Z_2.\n\
Call with:\n\
filename - the name of a file that contains a list of cells for the test,\n\
Switches and additional arguments:\n\
filename2 - the name of an additional file for relative (co)homology;\n\
-r - compute reduced homology (with the empty set as a cell of dim -1),\n\
-b - don't add boundary cells (use -bx and -ba for X and A selectively),\n\
--log filename - save the output to a file (without progress indicators),\n\
--quiet - suppress data output to the screen (whcih can be still logged),\n\
--help - display this brief help information only and exit.\n\
For more information please consult the accompanying documentation\n\
or ask the program's author at http://www.PawelPilarczyk.com/."

Brief help information on the program's usage.

Definition at line 68 of file ssqcub.cpp.

Referenced by main().

◆ title

const char* title
Initial value:
= "\
Computation of Steenrod squares using an Algebraic Minimal Model.\n\
Version 0.01 (Feb 6, 2016). Copyright (C) 1997-2016 by Pawel Pilarczyk.\n\
This is free software. No warranty. Consult 'license.txt' for details."

The title of the program and licensing information.

Definition at line 62 of file ssqcub.cpp.

Referenced by main().