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

A generic procedure for the Alexander-Whithey diagonal computation for 2-dimensional homology generators. More...

#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/struct/hashsets.h"
#include "chaincon/awdiag.h"
#include "chaincon/combchain.h"
#include "chaincon/combtensor.h"
#include "chaincon/comblinmap.h"

Go to the source code of this file.

Functions

template<class CellT , class LinMap , class CellNames , class CellRestrT >
void computeAWdiagonal2d (const chomp::homology::hashedset< CellT > &H, const LinMap &pi, const LinMap &incl, CellNames &cellNames, bool displayDiag, bool verify, const CellRestrT &restr)
 Computes the Alexander-Whithey diagonal for 2-dimensional homology generators. More...
 

Detailed Description

A generic procedure for the Alexander-Whithey diagonal computation for 2-dimensional homology generators.

This is a complete procedure good for simplicial, cubical, or other complexes.

Definition in file awdiag2dcomp.h.

Function Documentation

◆ computeAWdiagonal2d()

template<class CellT , class LinMap , class CellNames , class CellRestrT >
void computeAWdiagonal2d ( const chomp::homology::hashedset< CellT > &  H,
const LinMap &  pi,
const LinMap &  incl,
CellNames &  cellNames,
bool  displayDiag,
bool  verify,
const CellRestrT &  restr 
)

Computes the Alexander-Whithey diagonal for 2-dimensional homology generators.

Uses the projection and inclusion maps computed previously as parts of a chain contraction of a cell complex.

Definition at line 57 of file awdiag2dcomp.h.

References AWdiagonal(), cells2names(), and computeBoundary().

Referenced by awdiag2dMain().