The ChainCon Software (Release 0.03)
Functions
readfcompl.h File Reference

A generic procedure for reading a filtered cell complex or a pair of filtered cell complexes from text files. More...

#include <istream>
#include <ostream>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chaincon/filtcomplex.h"
#include "chaincon/boundary.h"
#include "chaincon/remordered.h"

Go to the source code of this file.

Functions

template<class CellT >
void readFilteredComplexes (const char *Xname, const char *Aname, tFilteredComplex< CellT > &K, tFilteredComplex< CellT > &L, bool addBoundariesX, bool addBoundariesA)
 Reads a filtered cell complex or a pair of filtered cell complexes from text files. More...
 

Detailed Description

A generic procedure for reading a filtered cell complex or a pair of filtered cell complexes from text files.

Definition in file readfcompl.h.

Function Documentation

◆ readFilteredComplexes()

template<class CellT >
void readFilteredComplexes ( const char *  Xname,
const char *  Aname,
tFilteredComplex< CellT > &  K,
tFilteredComplex< CellT > &  L,
bool  addBoundariesX,
bool  addBoundariesA 
)
inline

Reads a filtered cell complex or a pair of filtered cell complexes from text files.

Shows appropriate messages and throws an error message in case of failure.

Definition at line 56 of file readfcompl.h.

References addBoundaries(), and removeOrdered().

Referenced by algMinModelMain(), atModelMain(), awdiag2dMain(), cohomRingMain(), and main().