The ChainCon Software (Release 0.03)
|
A program that saves a simplicial set obtained from a cubical set by means of simplicial subdivision. More...
#include "chaincon/stringhash.h"
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/system/arg.h"
#include "chomp/struct/hashsets.h"
#include "chaincon/ringzp.h"
#include "chaincon/simplex.h"
#include "chaincon/cubcell.h"
#include "chaincon/emptycell.h"
#include "chaincon/wrapping.h"
#include "chaincon/prodcell.h"
#include "chaincon/cubproduct.h"
Go to the source code of this file.
Macros | |
#define | SPACE_WRAPPING |
Functions | |
template<class CellT > | |
void | flattenProduct (const tProdCell< CellT > &prod, std::vector< CellT > &cells) |
template<class ProdCellT , class SimCellT > | |
void | prod2simplex (const ProdCellT &prod, SimCellT &simplex) |
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... | |
A program that saves a simplicial set obtained from a cubical set by means of simplicial subdivision.
Definition in file cub2sim.cpp.
#define SPACE_WRAPPING |
Definition at line 47 of file cub2sim.cpp.
void flattenProduct | ( | const tProdCell< CellT > & | prod, |
std::vector< CellT > & | cells | ||
) |
Definition at line 85 of file cub2sim.cpp.
Referenced by prod2simplex().
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 135 of file cub2sim.cpp.
References cube2product(), helpinfo, prod2simplex(), and title.
|
inline |
const char* helpinfo |
Brief help information on the program's usage.
Definition at line 62 of file cub2sim.cpp.
Referenced by main().
const char* title |
The title of the program and licensing information.
Definition at line 55 of file cub2sim.cpp.
Referenced by main().