Classes |
Public Member Functions |
Private Member Functions |
Private Attributes |
Static Private Attributes |
List of all members
concepts::Square2 Class Reference
Mesh for with two quadrilaterals. More...
#include <square.hh>
Inheritance diagram for concepts::Square2:
Classes | |
class | S |
Public Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
uint | ncell () const |
Returns the number of cells in the mesh. More... | |
Scan2 * | scan () |
Returns a scanner over the cells of the mesh. More... | |
Square2 () | |
Square2 (Array< uint > attrib, Array< uint > *elmAttrib=0) | |
Constructor with attributes of the (seven) edges added by Robert : More... | |
virtual | ~Square2 () |
Private Member Functions | |
void | construct_ (const Array< uint > &attrib, const Array< uint > &elmAttrib) |
Private Attributes | |
Quad2d * | cell_ [ncell_] |
Edge * | edg_ [7] |
Quad * | quad_ [ncell_] |
Vertex * | vtx_ [6] |
Static Private Attributes | |
static const uint | ncell_ = 2 |
Detailed Description
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 & Destructor Documentation
◆ Square2() [1/2]
concepts::Square2::Square2 | ( | ) |
◆ Square2() [2/2]
Constructor with attributes of the (seven) edges added by Robert :
- Parameters
-
elmAttrib (of size two) with attributes of both cells
◆ ~Square2()
|
virtual |
Member Function Documentation
◆ construct_()
|
private |
◆ info()
|
virtual |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
◆ ncell()
|
inlinevirtual |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
◆ scan()
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
- Postcondition
- The scanner must be deleted after usage. This has to be done by the user.
Implements concepts::Mesh2.
Member Data Documentation
◆ cell_
◆ edg_
◆ ncell_
◆ quad_
◆ vtx_
The documentation for this class was generated from the following file:
- geometry/square.hh