Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/meshgen2d/src/include/GeometryNode.h
3203 views
1
#if !defined( BL_GEOMETRYNODE_H )
2
#define BL_GEOMETRYNODE_H
3
4
#include "Node.h"
5
#include <algorithm>
6
7
class GeometryNode : public Node
8
{
9
public:
10
GeometryNode() { tag = -1; x = y = 0; delta = 0; }
11
GeometryNode(const int t, const double xc, const double yc)
12
{ tag = t; x = xc; y = yc; delta = 0; }
13
~GeometryNode() { }
14
15
GeometryNode& operator= (const GeometryNode& nd)
16
{
17
tag = nd.tag;
18
x = nd.x;
19
y = nd.y;
20
21
return *this;
22
}
23
24
void setDelta( const double d )
25
{
26
delta = d;
27
}
28
29
int boundaryTag;
30
double delta;
31
};
32
33
#endif /* BL_GEOMETRYNODE_H */
34
35