endnode Class Reference

#include <endnode.h>

List of all members.

Public Member Functions

void alloc_cnm (long nccn)
 endnode ()
void give_mult_code_numbers (long *mcn)
void give_node_numbers (long *nid)
void print (FILE *out)
 ~endnode ()

Public Attributes

long * adjel
 numbers of adjacent elements
long * cnm
 array of code numbers for Lagrange multipliers
long fn
 first node (number of first node)
long ln
 last node (number of last node)
long ndofn
 number of DOFs defined on first nodes
long nm
 node multiplicity
long nn
 number of nodes in end point
long re
 number of reference element
double threshold
 threshold

Detailed Description

class endnode

this class defines end nodes, which can be used in connection with general finite elements only topological informations are collected

the class is motivated by solution of hemivariational inequalities, in 1D problems, there is a contact between two parts of a body matching mesh is assumed and therefore two elements share one end node, the end node has to know two nodes because it will work with differences of displacements

example:

BODY 1 ---3----4 7----8----12---- BODY 2 3 end node 4 from the body 1 and end node 7 from body 2 are identical, they are stored in one end node which has to know nodes 4, 7 node in body 1 is ordered first, node in body 2 is ordered after ordering of body 1 number of nodes collected in end node is 2

JK, 12.10.2008

Definition at line 35 of file endnode.h.


Constructor & Destructor Documentation

endnode ( void   ) 

Definition at line 6 of file endnode.cpp.

References adjel, cnm, fn, ln, ndofn, nm, nn, re, and threshold.

~endnode ( void   ) 

Definition at line 33 of file endnode.cpp.

References adjel, and cnm.


Member Function Documentation

void alloc_cnm ( long  nccn  ) 

function allocates array for code numbers of Lagrange multipliers

Parameters:
nccn - number of components in array cnm

JK, 12.10.2008

Definition at line 61 of file endnode.cpp.

References cnm, and ndofn.

Referenced by gtopology::alloc_endnode_cn().

void give_mult_code_numbers ( long *  mcn  ) 

function assembles code numbers of Lagrange multipliers defined between selected nodes

Parameters:
mcn - code numbers of selected multipliers

JK, 12.10.2008

Definition at line 93 of file endnode.cpp.

References cnm, and ndofn.

Referenced by gtopology::give_endnode_code_numbers().

void give_node_numbers ( long *  nid  ) 

function returns node numbers shared in the end node

Parameters:
nid - array containing node numbers shared in the end node

JK, 12.10.2008

Definition at line 78 of file endnode.cpp.

References fn, and ln.

Referenced by gtopology::give_endnode_code_numbers().

void print ( FILE *  out  ) 

function prints

Parameters:
out - output stream

JK, 12.10.2008

Definition at line 47 of file endnode.cpp.

References nm, and nn.


Member Data Documentation

long* adjel

numbers of adjacent elements

Definition at line 62 of file endnode.h.

Referenced by endnode(), gtopology::enodes_allelem(), endnodet::init(), and ~endnode().

long* cnm

array of code numbers for Lagrange multipliers

Definition at line 67 of file endnode.h.

Referenced by alloc_cnm(), gtopology::codenum_multip(), endnode(), give_mult_code_numbers(), and ~endnode().

long fn
long ln

last node (number of last node)

Definition at line 55 of file endnode.h.

Referenced by endnodet::compute_jump(), gtopology::create_ltg(), gtopology::end_nodes(), endnode(), gtopology::enodes_allelem(), and give_node_numbers().

long ndofn
long nm

node multiplicity

Definition at line 65 of file endnode.h.

Referenced by gtopology::end_nodes(), endnode(), and print().

long nn

number of nodes in end point

Definition at line 51 of file endnode.h.

Referenced by gtopology::end_nodes(), endnode(), and print().

long re

number of reference element

Definition at line 60 of file endnode.h.

Referenced by endnode().

double threshold

threshold

Definition at line 70 of file endnode.h.

Referenced by endnode().


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

Generated by  doxygen 1.6.2