#include <endnode.h>
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 |
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.
endnode | ( | void | ) |
~endnode | ( | void | ) |
Definition at line 33 of file endnode.cpp.
void alloc_cnm | ( | long | nccn | ) |
function allocates array for code numbers of Lagrange multipliers
nccn | - number of components in array cnm |
JK, 12.10.2008
Definition at line 61 of file endnode.cpp.
Referenced by gtopology::alloc_endnode_cn().
void give_mult_code_numbers | ( | long * | mcn | ) |
function assembles code numbers of Lagrange multipliers defined between selected nodes
mcn | - code numbers of selected multipliers |
JK, 12.10.2008
Definition at line 93 of file endnode.cpp.
Referenced by gtopology::give_endnode_code_numbers().
void give_node_numbers | ( | long * | nid | ) |
function returns node numbers shared in the end node
nid | - array containing node numbers shared in the end node |
JK, 12.10.2008
Definition at line 78 of file endnode.cpp.
Referenced by gtopology::give_endnode_code_numbers().
void print | ( | FILE * | out | ) |
function prints
out | - output stream |
JK, 12.10.2008
Definition at line 47 of file endnode.cpp.
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 |
first node (number of first node)
Definition at line 53 of file endnode.h.
Referenced by gtopology::alloc_endnode_cn(), gtopology::codenum_multip(), endnodet::compute_jump(), gtopology::create_ltg(), gtopology::end_nodes(), endnode(), gtopology::enodes_allelem(), give_node_numbers(), and endnodem::nodal_displacements().
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 |
number of DOFs defined on first nodes
Definition at line 57 of file endnode.h.
Referenced by alloc_cnm(), skyline::column_lengths(), dskyline::column_lengths(), transtop::compute_jumps(), endnode(), gtopology::endnodes_localization(), and give_mult_code_numbers().
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 |