Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
wdg18inf.h
1 // -*-C++-*-
2 // ==========================================================================
3 // Module libfe
4 // File wdg18inf.h
5 // Declaration of class Wedge18inf
6 //
7 // 18-noded infinite wedge element
8 // Element is finite triangle in x,y, and infinite in z, where
9 // local coordinates -1,0,1 map to z1,z2,inf
10 //
11 // Global element geometry is restricted such that the triangular
12 // cross section is parallel to the xy-plane, and z-axis is infinite
13 // ==========================================================================
14 
15 #ifndef __WDG18INF_H
16 #define __WDG18INF_H
17 
19 public:
20  Wedge18inf () { Node = new int[nNode()]; }
21  Wedge18inf (const Wedge18inf &el);
22  ~Wedge18inf () { delete []Node; }
23 
24  void Initialise (const NodeList &nlist);
25  BYTE Type() const { return ELID_WDG18INF; }
26 
27  int nNode() const { return 6; }
28  // only the 6 nodes of the triangular base are stored
29 
30  RSymMatrix IntFF () const;
31 
32  std::istream &operator>> (std::istream &i);
33  std::ostream &operator<< (std::ostream &o) const;
34 
35 protected:
36  double z0, z1;
37  // global z-coordinates of the two nodes in the infinite direction
38  // the 3rd node is at infinity
39 
40  RDenseMatrix LocalShapeD_Z (double loc) const;
41  double JacobianZ (double loc, RDenseMatrix &J) const;
42 
43 };
44 
45 #endif // !__WDG18INF_H
Definition: ndlist.h:14
Definition: node.h:39
RSymMatrix IntFF() const
Integrals of all products of two shape functions over the element.
Base class for all 3-D unstructured element types.
Definition: element.h:1257
BYTE Type() const
Returns an element type identifier.
Definition: wdg18inf.h:25
int nNode() const
Returns the number of nodes associated with the element.
Definition: wdg18inf.h:27
void Initialise(const NodeList &nlist)
Element initialisation.
Dense matrix class.
Definition: crmatrix.h:38
#define ELID_WDG18INF
18-noded infinite wedge element
Definition: element.h:42
Definition: wdg18inf.h:18