D (a D-complex).
More...
#include <p_complex.hh>
Inherits site_set_base_< complex_psite< D, G >, p_complex< D, G > >.
Public Types | |
| typedef p_complex_bkd_piter_ < D, G > | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef super_::site | element |
| Associated types. | |
| typedef p_complex_fwd_piter_ < D, G > | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type. | |
| typedef complex_psite< D, G > | psite |
| Point_Site associated type. | |
Public Member Functions | |
| bool | has (const psite &p) const |
| Does this site set has p? | |
| bool | is_valid () const |
| Is this site set valid? | |
| unsigned | nfaces () const |
| Return the number of faces in the complex. | |
| unsigned | nfaces_of_dim (unsigned n) const |
| Return the number of n-faces in the complex. | |
| unsigned | nsites () const |
| Return The number of sites of the set, i.e., the number of faces. | |
| p_complex (const topo::complex< D > &cplx, const G &geom) | |
| Construct a complex psite set from a complex. | |
| topo::complex< D > & | cplx () |
| Return the complex associated to the p_complex domain (mutable version). | |
| topo::complex< D > & | cplx () const |
| Accessors. | |
| const G & | geom () const |
| Return the geometry of the complex. | |
D (a D-complex).
| D | The dimension of the complex. | |
| G | A function object type, associating localization information (geometry) to each face of the complex. |
| typedef p_complex_bkd_piter_<D, G> mln::p_complex< D, G >::bkd_piter |
Backward Site_Iterator associated type.
| typedef super_ ::site mln::p_complex< D, G >::element |
Associated types.
Element associated type.
| typedef p_complex_fwd_piter_<D, G> mln::p_complex< D, G >::fwd_piter |
Forward Site_Iterator associated type.
| typedef fwd_piter mln::p_complex< D, G >::piter |
Site_Iterator associated type.
| typedef complex_psite<D, G> mln::p_complex< D, G >::psite |
Point_Site associated type.
| mln::p_complex< D, G >::p_complex | ( | const topo::complex< D > & | cplx, | |
| const G & | geom | |||
| ) | [inline] |
| topo::complex< D > & mln::p_complex< D, G >::cplx | ( | ) | [inline] |
Return the complex associated to the p_complex domain (mutable version).
References mln::p_complex< D, G >::is_valid().
| topo::complex< D > & mln::p_complex< D, G >::cplx | ( | ) | const [inline] |
Accessors.
Return the complex associated to the p_complex domain (const version)
References mln::p_complex< D, G >::is_valid().
Referenced by mln::complex_psite< D, G >::change_target(), mln::complex_psite< D, G >::complex_psite(), and mln::operator==().
| const G & mln::p_complex< D, G >::geom | ( | ) | const [inline] |
Return the geometry of the complex.
| bool mln::p_complex< D, G >::has | ( | const psite & | p | ) | const [inline] |
Does this site set has p?
References mln::complex_psite< D, G >::is_valid(), mln::p_complex< D, G >::is_valid(), and mln::complex_psite< D, G >::site_set().
| bool mln::p_complex< D, G >::is_valid | ( | ) | const [inline] |
Is this site set valid?
Referenced by mln::p_complex< D, G >::cplx(), and mln::p_complex< D, G >::has().
| unsigned mln::p_complex< D, G >::nfaces | ( | ) | const [inline] |
| unsigned mln::p_complex< D, G >::nfaces_of_dim | ( | unsigned | n | ) | const [inline] |
Return the number of n-faces in the complex.
| unsigned mln::p_complex< D, G >::nsites | ( | ) | const [inline] |
Return The number of sites of the set, i.e., the number of faces.
(Required by the mln::Site_Set concept, since the property trait::site_set::nsites::known of this site set is set to `known'.)
References mln::p_complex< D, G >::nfaces().
1.5.9