Namespaces | Functions

cellmain.h File Reference

This file contains the definition of some functions that are common for all types of cubical cells, independent of the details of their implementation, mainly the computation of the boundary of a cell and text input/output procedures. More...

#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/cubes/pointset.h"
#include "chomp/homology/chains.h"
#include "chomp/struct/bitfield.h"
#include "chomp/struct/integer.h"
#include "chomp/struct/hashsets.h"
#include "chomp/homology/gcomplex.h"
#include "chomp/cubes/pointbas.h"
#include <iostream>
#include <fstream>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  chomp
 

This namespace contains the entire CHomP library interface.


namespace  chomp::homology
 

This namespace contains the core of the homology computation procedures and related classes and templates contained in the CHomP C++ library.


Functions

template<class celltype >
celltype chomp::homology::CubicalBoundaryCell (const celltype &q, int i, bool onlyexisting)
 Returns the i-th boundary element of a cell.
template<class celltype >
celltype chomp::homology::CubicalBoundaryCell (const celltype &q, int i)
 Returns the i-th cell in the boundary of the given cell.
template<class celltype >
int chomp::homology::CubicalBoundaryLength (const celltype &q)
 Returns the length of the boundary of a cubical cell.
template<class celltype >
int chomp::homology::CubicalBoundaryCoef (const celltype &q, int i)
 Returns the i-th coefficient in the boundary of a cubical cell.
template<class celltype >
std::ostream & chomp::homology::WriteCubicalCell (std::ostream &out, const celltype &c)
 Writes a cubical cell to the output stream in the text form.
template<class celltype >
std::istream & chomp::homology::ReadCubicalCell (std::istream &in, celltype &c)
 Reads a cubical cell form the input text stream.
template<class coordtype >
int chomp::homology::CommonCell (coordtype *left, coordtype *right, const coordtype *c1, const coordtype *c2, int spcdim, const coordtype *wrap=0)
 Computes the left and right corner of a cell which is the intersection of the two given cubes.

Detailed Description

This file contains the definition of some functions that are common for all types of cubical cells, independent of the details of their implementation, mainly the computation of the boundary of a cell and text input/output procedures.

Author:
Pawel Pilarczyk

Definition in file cellmain.h.