#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 with two quadrilaterals. All boundaries have attribute 0.
One quad is and the other one is .
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.