A point of a manifold can be included into multiple subdomains.
More...
#include <phelm.h>
List of all members.
|
Public Member Functions |
|
| MeshPoint () |
| | Default constructor.
|
| | MeshPoint (double x, double y) |
| | Initialization of x and y.
|
| | MeshPoint (double *x) |
| | Initialization of array x[2].
|
| void | add (const Point &p1) |
| | Add local coordinates for next subdomain.
|
| double | x (int zone=0) const |
| | Returns x coordinate in subdomain.
|
| double | y (int zone=0) const |
| | Returns y coordinate in subdomain.
|
Public Attributes |
| std::vector< Point > | p |
| | p[i] local coordinates of point in subdomain i.
|
Detailed Description
A point of a manifold can be included into multiple subdomains.
That class supports this.
Definition at line 279 of file phelm.h.
Constructor & Destructor Documentation
| phelm::MeshPoint::MeshPoint |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | [inline] |
Initialization of x and y.
- Parameters:
-
| x | - x coordinate |
| y | - y coordinate |
Definition at line 297 of file phelm.h.
| phelm::MeshPoint::MeshPoint |
( |
double * |
x |
) |
[inline] |
Initialization of array x[2].
- Parameters:
-
Definition at line 305 of file phelm.h.
Member Function Documentation
| void phelm::MeshPoint::add |
( |
const Point & |
p1 |
) |
[inline] |
Add local coordinates for next subdomain.
- Parameters:
-
| p1 | - point in local coordinates of next subdomain. |
Definition at line 313 of file phelm.h.
| double phelm::MeshPoint::x |
( |
int |
zone = 0 |
) |
const [inline] |
Returns x coordinate in subdomain.
- Parameters:
-
| zone | - sequence number of subdomain |
- Returns:
- x coordiante
Definition at line 322 of file phelm.h.
| double phelm::MeshPoint::y |
( |
int |
zone = 0 |
) |
const [inline] |
Returns y coordinate in subdomain.
- Parameters:
-
| zone | - a sequence number of subdomain |
- Returns:
- y coordiante
Definition at line 331 of file phelm.h.
Member Data Documentation
p[i] local coordinates of point in subdomain i.
- Todo:
- what should we do if the point is included only in one subdomain with sequence number greater that 0 ?
Definition at line 285 of file phelm.h.
The documentation for this struct was generated from the following file: