#include <square.hh>
Public Member Functions | |
| Square2 (Array< uint > attrib, Array< uint > *elmAttrib=0) | |
| uint | ncell () const |
| Returns the number of cells in the mesh. | |
| Scan2 * | scan () |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Mesh for ![$[0,1]^2$](form_337.png)
One quad is ![$[0,1]\times[0,0.5]$](form_427.png)
![$[0,1]\times[0.5,1]$](form_428.png)
Numbering of Numbering of Numbering of the vertices. the edges. the cells 5 --- 4 -- 6 -- ------- | | | | | | | | 5 3 | 1 | | | | | | | 3 --- 2 -- 2 -- ------- | | | | | | | | 3 1 | 0 | | | | | | | 0 --- 1 -- 0 -- -------
Constructor with attributes of the (seven) edges added by Robert :
| elmAttrib | (of size two) with attributes of both cells |
|
virtual |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
|
inlinevirtual |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.