00001 #ifndef HANGNODE_H 00002 #define HANGNODE_H 00003 00004 #include <stdio.h> 00005 #include "galias.h" 00006 #include "iotools.h" 00007 00008 /** 00009 00010 This class contains additional information about hanging node 00011 such as master nodes indeces and natural coordinates. 00012 00013 Created by TKo, 10.2012 00014 */ 00015 00016 class hangnode 00017 { 00018 public : 00019 hangnode(); 00020 ~hangnode(); 00021 long read(XFILE *in); 00022 long print(FILE *out); 00023 00024 /// number of master nodes 00025 long nmn; 00026 /// array of the master nodes (if the node is hanging node) 00027 long *mnodes; 00028 /// natural coordinates of the hanging node 00029 double *natcoord; 00030 /// type of master entity 00031 /// it describes to which quantity (edge, surface, etc.) is the hanging node attached 00032 gtypel masentity; 00033 }; 00034 00035 00036 #endif