hangnode Class Reference

#include <hangnode.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

hangnode (  ) 

This constructor inializes attributes to zero values.

Created by TKo, 10.2012

Definition at line 13 of file hangnode.cpp.

References masentity, mnodes, natcoord, nmn, and noel.

~hangnode (  ) 

This destructor releases allocated dynamic memory

Created by TKo, 10.2012

Definition at line 28 of file hangnode.cpp.

References mnodes, and natcoord.


Member Function Documentation

long print ( FILE *  out  ) 

The function prints additional data about hanging node to the opened text file out.

Parameters:
out - pointer to the opened text file
Return values:
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.

Parameters:
in - pointer to the opned text file
Return values:
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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2