#include <hangnode.h>
Public Member Functions | |
hangnode () | |
long | print (FILE *out) |
long | read (XFILE *in) |
~hangnode () | |
Public Attributes | |
gtypel | masentity |
long * | mnodes |
array of the master nodes (if the node is hanging node) | |
double * | natcoord |
natural coordinates of the hanging node | |
long | nmn |
number of master nodes |
This class contains additional information about hanging node such as master nodes indeces and natural coordinates.
Created by TKo, 10.2012
Definition at line 16 of file hangnode.h.
hangnode | ( | ) |
~hangnode | ( | ) |
This destructor releases allocated dynamic memory
Created by TKo, 10.2012
Definition at line 28 of file hangnode.cpp.
long print | ( | FILE * | out | ) |
The function prints additional data about hanging node to the opened text file out.
out | - pointer to the opened text file |
0 | - on success |
Definition at line 74 of file hangnode.cpp.
References masentity, mnodes, natcoord, and nmn.
Referenced by wr_nodes().
long read | ( | XFILE * | in | ) |
The function reads additional data about hanging node from the opened text file in.
in | - pointer to the opned text file |
0 | - on success | |
1 | - wrong number of master nodes |
Definition at line 45 of file hangnode.cpp.
References gtypel_kwdset(), masentity, memset(), mnodes, natcoord, nmn, and xfscanf().
Referenced by input_hang_nodes().
type of master entity it describes to which quantity (edge, surface, etc.) is the hanging node attached
Definition at line 32 of file hangnode.h.
Referenced by hangnode(), print(), and read().
long* mnodes |
array of the master nodes (if the node is hanging node)
Definition at line 27 of file hangnode.h.
Referenced by hangnode(), print(), read(), and ~hangnode().
double* natcoord |
natural coordinates of the hanging node
Definition at line 29 of file hangnode.h.
Referenced by hangnode(), print(), read(), and ~hangnode().
long nmn |
number of master nodes
Definition at line 25 of file hangnode.h.
Referenced by hangnode(), print(), and read().