#include <square.hh>
Public Member Functions | |
Square (const Real sizex=1.0, const Real sizey=1.0, const uint attrib=0) | |
Square (const Real x0, const Real y0, const Real x1, const Real y1, const Real x2, const Real y2, const Real x3, const Real y3, const uint attrib=0) | |
Square (const Real sizex, const Real sizey, const Array< uint > &attrib, const Array< uint > *vattrib=0) | |
Square (const Real x0, const Real y0, const Real x1, const Real y1, const Real x2, const Real y2, const Real x3, const Real y3, const Array< uint > &attrib, const Array< uint > *vattrib=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 one quadrilateral.
Constructor for rectangular cell.
All boundaries are same attribute.
concepts::Square::Square | ( | const Real | x0, |
const Real | y0, | ||
const Real | x1, | ||
const Real | y1, | ||
const Real | x2, | ||
const Real | y2, | ||
const Real | x3, | ||
const Real | y3, | ||
const uint | attrib = 0 |
||
) |
Constructor for arbitrary quadrilateral.
All boundaries are same attribute.
concepts::Square::Square | ( | const Real | sizex, |
const Real | sizey, | ||
const Array< uint > & | attrib, | ||
const Array< uint > * | vattrib = 0 |
||
) |
Constructor for rectangular cell.
Attributes of boundary edges are given in attrib
and of the boundary vertices in vattrib
.
concepts::Square::Square | ( | const Real | x0, |
const Real | y0, | ||
const Real | x1, | ||
const Real | y1, | ||
const Real | x2, | ||
const Real | y2, | ||
const Real | x3, | ||
const Real | y3, | ||
const Array< uint > & | attrib, | ||
const Array< uint > * | vattrib = 0 |
||
) |
Constructor for arbitrary quadrilateral.
Attributes of boundaries are given in attrib
|
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.