IFEM 90A354
ItgPoint.h
Go to the documentation of this file.
1// $Id$
2//==============================================================================
12//==============================================================================
13
14#ifndef _ITG_POINT_H
15#define _ITG_POINT_H
16
17#include <cstddef>
18
19
25{
26public:
28 explicit ItgPoint(size_t i = 0)
29 {
30 iGP = i;
31 iel = -1;
32 idx = 0;
33 u = v = w = xi = eta = zeta = 0.0;
34 }
35
37 explicit ItgPoint(double a, double b = 0.0, double c = 0.0, size_t i = 0)
38 {
39 u = a;
40 v = b;
41 w = c;
42
43 iGP = i;
44 idx = 0;
45 iel = -1;
46 xi = eta = zeta = 0.0;
47 }
48
50 explicit ItgPoint(const double* par, size_t i = 0)
51 {
52 u = par[0];
53 v = par[1];
54 w = par[2];
55
56 iGP = i;
57 idx = 0;
58 iel = -1;
59 xi = eta = zeta = 0.0;
60 }
61
63 virtual ~ItgPoint() {}
64
65 size_t iGP;
66
67 double u;
68 double v;
69 double w;
70
71 int iel;
72 size_t idx;
73 double xi;
74 double eta;
75 double zeta;
76};
77
78#endif
Class representing an integration point.
Definition ItgPoint.h:25
int iel
Identifier of the element containing this point.
Definition ItgPoint.h:71
ItgPoint(size_t i=0)
Default constructor.
Definition ItgPoint.h:28
double eta
Second local coordinate within current element.
Definition ItgPoint.h:74
size_t idx
Global index (0-based) of the element containing this point.
Definition ItgPoint.h:72
double v
Second spline parameter of the point.
Definition ItgPoint.h:68
double xi
First local coordinate within current element.
Definition ItgPoint.h:73
double zeta
Third local coordinate within current element.
Definition ItgPoint.h:75
size_t iGP
Global integration point counter.
Definition ItgPoint.h:65
ItgPoint(const double *par, size_t i=0)
Alternative constructor initializing the spline domain parameters.
Definition ItgPoint.h:50
double w
Third spline parameter of the point.
Definition ItgPoint.h:69
ItgPoint(double a, double b=0.0, double c=0.0, size_t i=0)
Constructor initializing the spline domain parameters.
Definition ItgPoint.h:37
double u
First spline parameter of the point.
Definition ItgPoint.h:67
virtual ~ItgPoint()
Empty destructor.
Definition ItgPoint.h:63