couptop Class Reference

#include <couptop.h>

List of all members.

Public Member Functions

 couptop (void)
void give_code_numbers (long eid, long *cn)
elemtypec give_elem_type (long eid)
void give_elemnodes (long eid, ivector &nodes)
long give_lower_nip (long eid, long ri, long ci)
long give_lower_tnip (long eid)
long give_mnb (long eid)
long give_mncomp (long eid)
strastrestate give_mssst (long eid, long bi)
long give_ndofe (long eid)
long give_ndofn (long nid)
void give_node_coord2d (vector &x, vector &y, long eid)
void give_node_coord2dxz (vector &x, vector &z, long eid)
void give_node_coord3d (vector &x, vector &y, vector &z, long eid)
long give_upper_nip (long eid, long ri, long ci)
long give_upper_tnip (long eid)
long mesh_check (void)
void read (XFILE *in)
 ~couptop (void)

Public Attributes

elementcelements
long ne

Detailed Description

CLASS COUPTOP

it is one of the 5 most important classes of the program

class couptop contains topology data of problem

basic data nn (long number) - stands for number of nodes in problem ncn (long) - stands for number of constrained nodes ne (long) - stands for number of all finite elements in problem

class mechtop creates nn objects of class node ne objects of class element

JK, TK

Definition at line 35 of file couptop.h.


Constructor & Destructor Documentation

couptop ( void   ) 

Definition at line 12 of file couptop.cpp.

References elements, and ne.

~couptop ( void   ) 

Definition at line 18 of file couptop.cpp.

References elements.


Member Function Documentation

void give_code_numbers ( long  eid,
long *  cn 
)

function extracts all code numbers of actual element

Parameters:
eid - element id
cn - array containing all code numbers on element

25.6.2001

Definition at line 297 of file couptop.cpp.

References gtopology::give_code_numbers(), and Gtu.

elemtypec give_elem_type ( long  eid  ) 
void give_elemnodes ( long  eid,
ivector nodes 
)

function returns numbers of nodes defining apropriate element

Parameters:
eid - element id
nodes - array containing nodes

22.7.2001

Definition at line 284 of file couptop.cpp.

References gtopology::give_nodes(), and Gtu.

Referenced by quadrilatc::res_mainip_strains(), and barelc::res_mainip_strains().

long give_lower_nip ( long  eid,
long  ri,
long  ci 
)

function returns number of integration points

Parameters:
eid - element id
ri,ci - row and column indices

30.12.2001

Definition at line 256 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::nipl, axiquadc::nipl, quadrilatc::nipl, and barelc::nipl.

Referenced by coupmatl::intpnum(), coupmatl::intpointinit(), and coupmatl::ipalloc().

long give_lower_tnip ( long  eid  ) 

function returns total number of lower integration points on one element

Parameters:
eid - element id

07/05/2010 TKr

Definition at line 198 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::tnipl, axiquadc::tnipl, quadrilatc::tnipl, and barelc::tnipl.

long give_mnb ( long  eid  ) 

function returns number of blocks in characteristic matrices

Parameters:
eid - element id

8.5.2002

Definition at line 348 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::mnb, axiquadc::mnb, quadrilatc::mnb, and barelc::mnb.

Referenced by coupmatu::ipalloc(), and coupmatl::ipalloc().

long give_mncomp ( long  eid  ) 

function returns number nodes on elements

Parameters:
te - element type

27.2.2002 function returns number of strain/stress components

Parameters:
eid - element id

30.12.2001

Definition at line 398 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::tnmcomp, axiquadc::tnmcomp, quadrilatc::tnmcomp, and barelc::tnmcomp.

Referenced by coupmatu::ipalloc(), and coupmatl::ipalloc().

strastrestate give_mssst ( long  eid,
long  bi 
)

Definition at line 437 of file couptop.cpp.

References mechtop::give_ssst(), and Mt.

Referenced by coupmatu::ipalloc(), and coupmatl::ipalloc().

long give_ndofe ( long  eid  ) 

function returns number of DOFs of element

Parameters:
eid - element id

JK, 22.2.2002

Definition at line 130 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::tndofe, axiquadc::tndofe, quadrilatc::tndofe, and barelc::tndofe.

long give_ndofn ( long  nid  ) 

function returns number of DOFs of node

Parameters:
nid - node id

Definition at line 118 of file couptop.cpp.

References gtopology::give_ndofn(), and Gtu.

void give_node_coord2d ( vector x,
vector y,
long  eid 
)

function returns node coordinates of the appropriate element

Parameters:
x,y - vectors containing node coordinates
eid - element id

19.7.2001

Definition at line 310 of file couptop.cpp.

References gtopology::give_node_coord2d(), and Gtu.

Referenced by quadrilatc::intpointgrad(), barelc::intpointgrad(), quadrilatc::res_mainip_strains(), and barelc::res_mainip_strains().

void give_node_coord2dxz ( vector x,
vector z,
long  eid 
)

function returns node coordinates of the appropriate element

Parameters:
x,z - vectors containing coordinates
eid - element id

19.7.2001

Definition at line 323 of file couptop.cpp.

References gtopology::give_node_coord2dxz(), and Gtu.

void give_node_coord3d ( vector x,
vector y,
vector z,
long  eid 
)

function returns node coordinates of the appropriate element

Parameters:
x,y,z - vectors containing coordinates
eid - element id

19.7.2001

Definition at line 336 of file couptop.cpp.

References gtopology::give_node_coord3d(), and Gtu.

long give_upper_nip ( long  eid,
long  ri,
long  ci 
)

function returns number of integration points

Parameters:
eid - element id
ri,ci - row and column indices

30.12.2001

Definition at line 228 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::nipu, axiquadc::nipu, quadrilatc::nipu, and barelc::nipu.

Referenced by coupmatu::intpnum(), coupmatu::intpointinit(), and coupmatu::ipalloc().

long give_upper_tnip ( long  eid  ) 

function returns total number of upper integration points on one element

Parameters:
eid - element id

07/05/2010 TKr

Definition at line 170 of file couptop.cpp.

References Caxiq, Cbar, Chex, coupaxiquad, coupbar, couphex, coupquad, Cquad, give_elem_type(), hexahedc::tnipu, axiquadc::tnipu, quadrilatc::tnipu, and barelc::tnipu.

Referenced by coupmatu::initmaterialmodels(), and coupmatu::updateipval().

long mesh_check ( void   ) 
void read ( XFILE in  ) 

Member Data Documentation

long ne

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

Generated by  doxygen 1.6.2