The Original CHomP Software
|
This class represents a multivalued map whose domain is a geometric complex. More...
#include <gcomplex.h>
Public Member Functions | |
mvcellmap (gcomplex< cell, euclidom > *_g=0) | |
The constructor of a map with its domain. More... | |
mvcellmap (gcomplex< cell, euclidom > &_g) | |
The constructor of a map with its domain. More... | |
mvcellmap (const mvcellmap< cell, euclidom, element > &m) | |
The copy constructor. More... | |
mvcellmap & | operator= (const mvcellmap< cell, euclidom, element > &m) |
The assignment operator. More... | |
~mvcellmap () | |
The destructor. More... | |
int | dim () const |
Returns the dimension of the domain of the map. More... | |
const hashedset< cell > & | get (int d) const |
Returns the given level of the geometric complex. More... | |
const gcomplex< cell, euclidom > & | getdomain () const |
Returns a reference of the domain cell complex of the map. More... | |
const hashedset< element > & | operator() (const cell &c) const |
Returns the image of a given cell. More... | |
void | add (int d, const cell &c, const hashedset< element > &set) |
Adds a set to the image of a given cell, provided the dimension of the cell is known. More... | |
void | add (const cell &c, const hashedset< element > &set) |
Adds a set to the image of a given cell. More... | |
void | add (int d, int_t n, const hashedset< element > &set) |
Adds a set to the image of a given cell, provided the dimension and number of the cell is known. More... | |
void | add (int d, const cell &c, const element &e) |
Adds an element to the image of a given cell, provided the dimension of the cell is known. More... | |
void | add (const cell &c, const element &e) |
Adds an element to the image of a given cell. More... | |
void | add (int d, int_t n, const element &e) |
Adds an element to the image of a given cell, provided the dimension and number of the cell is known. More... | |
Private Attributes | |
gcomplex< cell, euclidom > * | g |
A pointer to the domain of the map. More... | |
multitable< hashedset< element > > * | images |
The array of images of the elements of each dimension. More... | |
int | dimension |
The dimension of the domain of the map. More... | |
This class represents a multivalued map whose domain is a geometric complex.
Definition at line 1529 of file gcomplex.h.
|
inline |
The constructor of a map with its domain.
The domain of the map must exist during the existence of the map and its dimension must not increase.
Definition at line 1601 of file gcomplex.h.
|
inline |
The constructor of a map with its domain.
The domain of the map must exist during the existence of the map and its dimension must not increase.
Definition at line 1619 of file gcomplex.h.
chomp::homology::mvcellmap< cell, euclidom, element >::mvcellmap | ( | const mvcellmap< cell, euclidom, element > & | m | ) |
The copy constructor.
Definition at line 1637 of file gcomplex.h.
|
inline |
The destructor.
Definition at line 1679 of file gcomplex.h.
|
inline |
Adds an element to the image of a given cell.
Definition at line 1765 of file gcomplex.h.
|
inline |
Adds a set to the image of a given cell.
Definition at line 1734 of file gcomplex.h.
|
inline |
Adds an element to the image of a given cell, provided the dimension of the cell is known.
Definition at line 1752 of file gcomplex.h.
|
inline |
Adds a set to the image of a given cell, provided the dimension of the cell is known.
Definition at line 1721 of file gcomplex.h.
|
inline |
Adds an element to the image of a given cell, provided the dimension and number of the cell is known.
Definition at line 1773 of file gcomplex.h.
|
inline |
Adds a set to the image of a given cell, provided the dimension and number of the cell is known.
Definition at line 1742 of file gcomplex.h.
int chomp::homology::mvcellmap< cell, euclidom, element >::dim |
Returns the dimension of the domain of the map.
Definition at line 1687 of file gcomplex.h.
const hashedset< cell > & chomp::homology::mvcellmap< cell, euclidom, element >::get | ( | int | d | ) | const |
Returns the given level of the geometric complex.
Definition at line 1693 of file gcomplex.h.
const gcomplex< cell, euclidom > & chomp::homology::mvcellmap< cell, euclidom, element >::getdomain |
Returns a reference of the domain cell complex of the map.
Definition at line 1701 of file gcomplex.h.
const hashedset< element > & chomp::homology::mvcellmap< cell, euclidom, element >::operator() | ( | const cell & | c | ) | const |
Returns the image of a given cell.
Definition at line 1708 of file gcomplex.h.
mvcellmap< cell, euclidom, element > & chomp::homology::mvcellmap< cell, euclidom, element >::operator= | ( | const mvcellmap< cell, euclidom, element > & | m | ) |
The assignment operator.
Definition at line 1658 of file gcomplex.h.
|
private |
The dimension of the domain of the map.
Definition at line 1594 of file gcomplex.h.
|
private |
A pointer to the domain of the map.
Definition at line 1588 of file gcomplex.h.
|
private |
The array of images of the elements of each dimension.
Definition at line 1591 of file gcomplex.h.