#include <gsurf.h>
Public Member Functions | |
void | alloc_cn (long nccnfn, long nccnln) |
void | check_normal (vector &x, vector &y, ivector &nod) |
void | give_first_node_numbers (long *fnn) |
void | give_last_node_numbers (long *lnn) |
void | give_mult_code_numbers (long fln, long *mcn) |
void | give_norvect (double *v) |
gsurf () | |
void | normal_vector (gnode *gnodes) |
void | print (FILE *out) |
~gsurf () | |
Public Attributes | |
long * | adjel |
numbers of adjacent elements | |
long ** | cnmult |
long | nae |
number of adjacent elements | |
long * | ndofn |
long * | nlistfn |
list of nodes on surface (on the first side and second side) | |
long * | nlistln |
long | nm |
node multiplicity | |
long | nn |
vypis | |
double * | nv |
normal vector | |
long | re |
number of reference element | |
double | threshold |
threshold |
class gsurf
this class defines general surface, 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 3D problems, there is a contact between two parts of a body matching mesh is assumed and therefore two elements share
JK, 16.3.2009
Definition at line 24 of file gsurf.h.
gsurf | ( | void | ) |
~gsurf | ( | void | ) |
void alloc_cn | ( | long | nccnfn, | |
long | nccnln | |||
) |
void give_first_node_numbers | ( | long * | fnn | ) |
void give_last_node_numbers | ( | long * | lnn | ) |
void give_mult_code_numbers | ( | long | fln, | |
long * | mcn | |||
) |
void give_norvect | ( | double * | v | ) |
void normal_vector | ( | gnode * | gnodes | ) |
function computes normal vector
top | - pointer to topology |
JK, 9.7.2007
Definition at line 55 of file gsurf.cpp.
References nv, print_err(), and threshold.
void print | ( | FILE * | out | ) |
long* adjel |
long** cnmult |
array of code numbers of Lagrange Multipliers k=cnmult[i][j] - the j-th multiplier on the i-th node has number k
Definition at line 73 of file gsurf.h.
Referenced by alloc_cn(), gsurf(), and ~gsurf().
long* ndofn |
long* nlistfn |
long* nlistln |
long nn |
vypis
number of nodes on surface
Definition at line 52 of file gsurf.h.
Referenced by alloc_cn(), give_first_node_numbers(), give_last_node_numbers(), gsurf(), print(), and ~gsurf().
double* nv |
normal vector
Definition at line 76 of file gsurf.h.
Referenced by give_norvect(), gsurf(), normal_vector(), print(), and ~gsurf().
double threshold |