Classes | Namespaces | Functions

cellfix.h File Reference

This class defines cubical cells in which the embedding space dimension is known apriori. 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 "chomp/cubes/cubefix.h"
#include "chomp/cubes/cellmain.h"
#include <iostream>
#include <fstream>
#include <cstdlib>

Go to the source code of this file.

Classes

class  chomp::homology::tCellFix< dimfix, coordtype >
 This class defines cubical cell in R^n with edges parallel to the axes and with size 0 or 1 in each direction. More...

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<int dimfix, class coordtype >
int chomp::homology::operator!= (const tCellFix< dimfix, coordtype > &c1, const tCellFix< dimfix, coordtype > &c2)
 Checks if the two cells are different.
template<int dim1, int dim2, class coordtype >
tCellFix< dim1+dim2, coordtype > chomp::homology::operator* (const tCellFix< dim1, coordtype > &c1, const tCellFix< dim2, coordtype > &c2)
 Computes the Cartesian product of two cells.
template<int dimfix, class coordtype >
std::ostream & chomp::homology::operator<< (std::ostream &out, const tCellFix< dimfix, coordtype > &c)
 Writes a cell to an output stream.
template<int dimfix, class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, tCellFix< dimfix, coordtype > &c)
 Reads a cell from an input stream.
template<int dimfix, class coordtype >
tCellFix< dimfix, coordtype > chomp::homology::boundarycell (const tCellFix< dimfix, coordtype > &q, int i, bool onlyexisting)
 Computes the i-th boundary element of a cell.
template<int dimfix, class coordtype >
tCellFix< dimfix, coordtype > chomp::homology::boundarycell (const tCellFix< dimfix, coordtype > &q, int i)
 Computes the i-th boundary element of a cell.
template<int dimfix, class coordtype >
int chomp::homology::boundarylength (const tCellFix< dimfix, coordtype > &q)
 Returns the length of the boundary of a cell.
template<int dimfix, class coordtype >
int chomp::homology::boundarycoef (const tCellFix< dimfix, coordtype > &q, int i)
 Returns the i-th coefficient in the boundary of a cell.

Detailed Description

This class defines cubical cells in which the embedding space dimension is known apriori.

Since this dimension is used as a template parameter, this approach saves a lot of memory allocation and deallocation, since arrays of fixed length are used.

Author:
Pawel Pilarczyk

Definition in file cellfix.h.