Hex(quad) Zone for 2-dimension. More...
#include <gsmpicartzone.hpp>


Public Member Functions | |
| HexZone () | |
| default Construct a new Hex Zone object More... | |
| HexZone (const int rk, std::vector< Point< 2 >> points) | |
| Construct a new Hex Zone object by point vector list. More... | |
| HexZone (const int rk, std::vector< std::vector< double >> points) | |
| Construct a new Hex Zone object by point vector list. More... | |
| HexZone (const int rk) | |
| Construct a new Hex Zone object. More... | |
| void | SetNode (int i, Point< 2 > &point) |
| Set the Node. More... | |
| void | SetNodes (std::vector< Point< 2 >> points) |
| Set the Nodes by vector list. More... | |
| void | SetNodes (std::vector< std::vector< double >> points) |
| Set the Nodes by vector list. More... | |
| int | GetNodeSize () |
| Get the size of nodes. More... | |
| bool | IsInPlane (int ind0, int ind1, const double p[]) |
| judge which side of edges the points locate More... | |
| virtual bool | IsInZone (const double p[]) |
| judge whether point is inside or outside of zone More... | |
Public Attributes | |
| Point< 2 > | node [4] |
Public Attributes inherited from gsmpi::ZoneBase | |
| int | rank |
Hex(quad) Zone for 2-dimension.
3_________________2 | | | | | | |_________________| 0 1
|
inline |
default Construct a new Hex Zone object
|
inline |
Construct a new Hex Zone object by point vector list.
| rk | which rank, when use mpi |
| points |
References gsmpi::ZoneBase::rank.
|
inline |
Construct a new Hex Zone object by point vector list.
| rk | which rank, when use mpi |
| points |
References gsmpi::ZoneBase::rank.
|
inline |
Construct a new Hex Zone object.
| rk | which rank, when use mpi |
References gsmpi::ZoneBase::rank.
|
inline |
Get the size of nodes.
|
inline |
judge which side of edges the points locate
| ind0 | node |
| ind1 | |
| p |
References gsmpi::Point< N_dim >::pos.
|
inlinevirtual |
judge whether point is inside or outside of zone
| p | position |
Implements gsmpi::ZoneBase.
|
inline |
Set the Node.
| i | which node |
| point |
|
inline |
Set the Nodes by vector list.
| i | which node |
| point |
|
inline |
Set the Nodes by vector list.
| i | which node |
| point |
References gsmpi::Point< N_dim >::SetPos().

| Point<2> gsmpi::HexZone< 2 >::node[4] |