The ChainCon Software (Release 0.03)
Classes | Functions
prodcell.h File Reference

A Cartesian product of simplicial cells of arbitrary type. More...

#include <istream>
#include <ostream>
#include <algorithm>
#include <vector>
#include "chomp/system/config.h"

Go to the source code of this file.

Classes

class  tProdCell< CellT >
 A Cartesian product of simplicial cells as a simplicial cell. More...
 

Functions

template<class CellT >
int_t hashkey1 (const tProdCell< CellT > &s)
 Generates a hashing key no. More...
 
template<class CellT >
int_t hashkey2 (const tProdCell< CellT > &s)
 Generates a hashing key no. More...
 
template<class CellT >
std::ostream & operator<< (std::ostream &out, const tProdCell< CellT > &s)
 Writes a product cell in the text mode to an output stream. More...
 
template<class CellT >
std::istream & operator>> (std::istream &in, tProdCell< CellT > &s)
 Reading a product cell is not well defined (too much effort, sorry!). More...
 

Detailed Description

A Cartesian product of simplicial cells of arbitrary type.

Definition in file prodcell.h.

Function Documentation

◆ hashkey1()

template<class CellT >
int_t hashkey1 ( const tProdCell< CellT > &  s)
inline

Generates a hashing key no.

1 for a product cell, composed of hashing keys for the cells in the product. This key is to be used in a hashed set.

Definition at line 342 of file prodcell.h.

References tProdCell< CellT >::defined(), tProdCell< CellT >::getCell(), tProdCell< CellT >::getLeft(), tProdCell< CellT >::getRight(), and tProdCell< CellT >::product().

◆ hashkey2()

template<class CellT >
int_t hashkey2 ( const tProdCell< CellT > &  s)
inline

Generates a hashing key no.

2 for a product cell, composed of hashing keys for the cells in the product. This key is to be used in a hashed set.

Definition at line 361 of file prodcell.h.

References tProdCell< CellT >::defined(), tProdCell< CellT >::getCell(), tProdCell< CellT >::getLeft(), tProdCell< CellT >::getRight(), and tProdCell< CellT >::product().

◆ operator<<()

template<class CellT >
std::ostream& operator<< ( std::ostream &  out,
const tProdCell< CellT > &  s 
)

Writes a product cell in the text mode to an output stream.

Definition at line 380 of file prodcell.h.

References tProdCell< CellT >::defined(), tProdCell< CellT >::getCell(), tProdCell< CellT >::getLeft(), tProdCell< CellT >::getRight(), and tProdCell< CellT >::product().

◆ operator>>()

template<class CellT >
std::istream& operator>> ( std::istream &  in,
tProdCell< CellT > &  s 
)

Reading a product cell is not well defined (too much effort, sorry!).

Definition at line 397 of file prodcell.h.