mechtop Class Reference

#include <mechtop.h>

List of all members.

Public Member Functions

void alloc_edges ()
void alloc_enodes ()
void alloc_growstr ()
void alloc_meaning ()
void alloc_nodes_arrays (void)
void alloc_prep (long nn, long ne, elemtype *el_type)
void clean_ip_new_elem ()
 function cleans array of stresses, strains and internal variables on new elements
void clean_nodes ()
long compare_edges (long *enod, long *enodc, long nned)
void comreac (void)
void comreacelem (void)
void comreacnod (void)
void define_meaning ()
void elemprescdisp (void)
void elempresctemp (long lcid)
void gencodnumlagrmult (long &n)
double give_area (long eid)
void give_code_numbers (long eid, long *cn)
long give_degree (long eid)
long give_dimension (long eid)
long give_dof (long nid, long n)
double give_domain_vol ()
void give_edge_nodes (long eid, long edid, long *nodes)
elemtype give_elem_type (long eid)
void give_elemnodes (long eid, ivector &nodes)
long give_intordsm (long eid, long ri, long ci)
void give_ipcoord_elem (long eid, matrix &coord)
double give_length (long eid)
void give_maxncompo (long &max_nncompo, long &max_encompo)
void give_maxncompstr (long &max_ncompstrn, long &max_ncompstre)
long give_maxndofn ()
void give_mult_code_numbers (long nid, long lid, long *cn)
long give_napfun (long eid)
long give_nb (long eid)
long give_nb_te (elemtype te)
long give_ncomp (long eid, long bid)
long give_ndofe (long eid)
long give_ndofn (long nid)
long give_ned (long eid)
long give_nip (long eid, long ri, long ci)
long give_nne (long eid)
long give_nned (long eid)
long give_nnsurf (long eid)
void give_nodal_coord (long nid, vector &c)
void give_nodal_other (long nid, vector &othv)
void give_nodal_strain (long nid, vector &stra)
void give_nodal_stress (long nid, vector &stre)
void give_noddispl_1d (ivector &nodes, vector &u)
void give_noddispl_2d (ivector &nodes, vector &u, vector &v)
void give_noddispl_3d (ivector &nodes, vector &u, vector &v, vector &w)
void give_node_code_numbers (long nid, long *cn)
void give_node_coord1d (vector &x, long eid)
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_nsurf (long eid)
strastrestate give_ssst (long eid, long bi)
long give_tncomp (long eid)
long give_tnip (long eid)
long give_totnip (long eid)
double give_volume (long eid)
void init_from_siftop (siftop *Top)
void initial_displ (long lcid)
void initial_displ_nodes (long lcid)
long locsystems (ivector &nod)
 mechtop (void)
long mesh_check (void)
void other_nodal_values (ivector &nod, vector &nx, vector &ny, vector &nz, double *lhs, long dim, long fi, long ncomp)
void print (FILE *out)
void read (XFILE *in)
void restore_nodforce (double *rhs, long n)
void restore_nodval (double *lhs, long n)
void rhs_restore (double *rhs, long n)
void rhs_save (double *rhs)
void save_elem_inidispl (long lcid, long *ifn)
 function saves initial displacements on elements
void save_node_inidispl (long lcid, double time, double prev_time)
 function saves initial displacements at nodes
void save_nodedispl_bc (long lcid, double time, double prev_time)
void save_nodforce (double *f)
void save_nodval (long lcid)
void searching_hanging_nodes (FILE *Out)
void store_code_num_elem (void)
void strain_nodal_values (ivector &nod, vector &nx, vector &ny, vector &nz, double *lhs, long dim, long fi, long ncomp, long lcid)
void stress_nodal_values (ivector &nod, vector &nx, vector &ny, vector &nz, double *lhs, long dim, long fi, long ncomp, long lcid)
 ~mechtop (void)

Public Attributes

long ** adjip
 array of adjacent integration points
double ** dist
 array of distances of adjacent integration points
double domvol
 domain volume
edgemedges
 array of instances of the class edgem
elementelements
 array of instances of the class element
endnodemenodes
 array of instances of the class endnodem
long max_ndofn
 maximum number of dofs at node
long * nadjip
long ncn
 number of constrained nodes
long ne
 number of elements
long nln
 number of layered elements
long nn
 number of nodes
long * nodebcid
 adjacent elements for each edge on given domain
double ** nodedispl
 array containing nodal displacements - used in growing problems
double ** nodeforce
 array containing nodal forces - used in growing problems
nodenodes
 array of instances of the class node
long tned
 array of adjacent elements for each element

Detailed Description

Class mechtop:

It is one of the 5 most important classes of the program. (probdesc, mechtop, mechmat, mechbclc, mechcrsec)

Class mechtop contains topology data of problem.

Created by JK, TKo

Definition at line 29 of file mechtop.h.


Constructor & Destructor Documentation

mechtop ( void   ) 

Constructor initializes data members to zero values.

Created by JK,

Definition at line 32 of file mechtop.cpp.

References adjip, dist, domvol, elements, max_ndofn, nadjip, ncn, ne, nln, nn, nodedispl, nodeforce, and nodes.

~mechtop ( void   ) 

Destructor deallocates used memory.

Created by JK Modified by TKo

Definition at line 67 of file mechtop.cpp.

References adjip, dist, elements, Mm, nadjip, nn, nodedispl, nodeforce, nodes, and mechmat::tnip.


Member Function Documentation

void alloc_edges (  ) 

Functions allocates edges. Edges are allocated in problems with hemivariational inequalities.

Returns:
The function does not return anything.

Created by JK, 1.3.2009

Definition at line 2990 of file mechtop.cpp.

References edges, Gtm, and gtopology::nged.

Referenced by mefel_init().

void alloc_enodes (  ) 

Function allocates end nodes. End nodes are allocated in problems with hemivariational inequalities.

Returns:
The function does not return anything.

Created by JK, 1.3.2009

Definition at line 2973 of file mechtop.cpp.

References enodes, Gtm, and gtopology::nen.

Referenced by mefel_init().

void alloc_growstr (  ) 

Function allocates all necessary arrays for problems with changing number of nodes, elements and DOFs.

Returns:
The function does not return anything.

Created by JK, 7.11.2006

Definition at line 3046 of file mechtop.cpp.

References element::alloc_growstr(), node::alloc_growstr(), elements, give_ndofn(), memset(), ne, nn, nodeforce, and nodes.

Referenced by mefel_init(), metr_init(), pmefel_init(), and pmetr_init().

void alloc_meaning (  ) 

Function allocates array for meaning of DOFs.

Returns:
The function does not return anything.

Created by JK, 1.2.2005

Definition at line 3027 of file mechtop.cpp.

References node::alloc_meaning(), nn, and nodes.

Referenced by seismtool::seisminit().

void alloc_nodes_arrays ( void   ) 

Function allocates arrays defined on nodes. Arrays strain, stress, other, ncontr_strain, ncontr_stress, ncontr_other are allocated on each node.

Returns:
The function does not return anything.

Created by JK, 28.11.2006

Definition at line 2914 of file mechtop.cpp.

References node::alloc_other(), node::alloc_strain(), node::alloc_stress(), elements, give_elem_type(), give_elemnodes(), give_nne(), give_ssst(), give_tncomp(), Gtm, mechmat::ip, element::ipp, gtopology::leso, Mb, Mm, Mp, Mt, intpoints::ncompeqother, ne, mechbclc::nlc, nod, nodes, probdesc::otherpos, planestrain, planestress, reallocv(), shellqelem, shelltrelem, probdesc::strainpos, and probdesc::stresspos.

Referenced by mefel_init(), metr_init(), pmefel_init(), and pmetr_init().

void alloc_prep ( long  nn,
long  ne,
elemtype el_type 
)

Function allocates nodes and elements for preprocessor

Parameters:
nn - number of nodes
ne - number of elements
Returns:
The function does not return anything.

Created by Tomas Koudelka, 13.3.2002

Definition at line 3009 of file mechtop.cpp.

References elements, and nodes.

Referenced by input_elemprop(), and main().

void clean_ip_new_elem (  ) 

function cleans array of stresses, strains and internal variables on new elements

The function sets stress arrays to zeor on all integration points of new elements. It is intended to be used for the growing structures.

Returns:
The function does not return anything but it changes stress array on all integration points.

Created by Tomas Koudelka, 7.6.2013

Definition at line 3566 of file mechtop.cpp.

References gelement::auxinf, intpoints::clean_strains(), intpoints::clean_stresses(), gtopology::gelements, give_nip(), give_tnip(), Gtm, mechmat::ip, gtopology::leso, Mm, and ne.

Referenced by newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_prob_constr_phases(), and solve_prob_constr_phases().

void clean_nodes (  ) 

Function cleans strains, stresses and other quantities defined at nodes. The function is used especially in stochastic or fuzzy computations.

Returns:
The function does not return anything.

Created by JK, 23.8.2005

Definition at line 3782 of file mechtop.cpp.

References node::clean(), Mb, mechbclc::nlc, nn, and nodes.

Referenced by par_solve_stochastic_problem(), and solve_mefel_stochastic_problem().

long compare_edges ( long *  enod,
long *  enodc,
long  nned 
)

The function searches adjacenet elements.

Returns:
The function does not return anything.

Created by JK, The function compares nodal numbers of two edges.

Parameters:
enod - array with node numbers of the first compared edge
enodc - array with node numbers of the second compared edge
nned - number of components of enod and enodc (i.e. number of edge nodes)
Return values:
0 - edges are different
1 - edges are identical

Created by JK,

Definition at line 3312 of file mechtop.cpp.

void comreac ( void   ) 

Function marks elements necessary for reaction evaluation and alocates array containing reactions.

Returns:
The function does not return anything.

Created by JK,

Definition at line 2484 of file mechtop.cpp.

References comreacelem(), and comreacnod().

Referenced by mefel_init(), metr_init(), newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_prob_constr_phases(), pmefel_init(), pmetr_init(), and solve_prob_constr_phases().

void comreacelem ( void   ) 

Function marks elements necessary for reaction evaluation.

Returns:
The function does not return anything.

Created by JK,

Definition at line 2447 of file mechtop.cpp.

References elements, give_elemnodes(), give_nne(), Gtm, gtopology::leso, ne, nod, nodes, element::react, and reallocv().

Referenced by comreac().

void comreacnod ( void   ) 

Function alocates array containing reactions.

Returns:
The function does not return anything.

Created by JK,

Definition at line 2383 of file mechtop.cpp.

References gtopology::give_dof(), gtopology::give_ndofn(), gtopology::gnodes, Gtm, memset(), gnode::mnodes, nn, nodes, node::r, and node::react.

Referenced by comreac().

void define_meaning (  ) 

Function defines meaning of DOFs.

Returns:
The function does not return anything.

Created by JK, 1.2.2005

Definition at line 3074 of file mechtop.cpp.

References Beam2d, beam2d, Beam3d, beam3d, planeelemlq::define_meaning(), beamel3d::define_meaning(), beamel2d::define_meaning(), give_elem_type(), Gtm, gtopology::leso, ne, Pelq, planeelementlq, and print_err().

Referenced by seismtool::seisminit().

void elemprescdisp ( void   ) 

Function investigates presence of prescribed displacements on elements.

Returns:
The function does not return anything.

Created by JK, 25.7.2001 Updated by TKo, 5.2013

Definition at line 514 of file mechtop.cpp.

References ivector::a, elements, give_code_numbers(), give_elemnodes(), gtopology::give_ndofe(), give_ndofn(), give_nne(), growing_mech_structure, Gtm, gtopology::leso, Mp, ne, nodedispl, element::prescdispl, reallocv(), and probdesc::tprob.

Referenced by mefel_init(), metr_init(), newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_prob_constr_phases(), pmefel_init(), pmetr_init(), and solve_prob_constr_phases().

void elempresctemp ( long  lcid  ) 

Function investigates presence of temperature changes on elements.

Parameters:
lcid - load case id
Returns:
The function does not return anything.

Created by JK, 30.11.2002

Definition at line 576 of file mechtop.cpp.

References elements, Gtm, gtopology::leso, Mp, ne, nod, element::presctemp, and probdesc::temperature.

Referenced by mefel_init(), and pmefel_init().

void gencodnumlagrmult ( long &  n  ) 

Function generates code numbers of Lagrange multipliers.

Parameters:
n - on input: number of DOFs without multipliers on output: number of DOFs with multipliers
Returns:
The function returns number of DOFs with multipliers in the parameter n.

Created by JK, 7.12.2002

Definition at line 3117 of file mechtop.cpp.

References lgnode::cn, give_node_code_numbers(), gtopology::gnodes, Gtm, gtopology::lgnodes, Mp, lgnode::ndofn, gnode::ndofn, lgnode::nl, nln, lgnode::nmult, lgnode::nodes, and probdesc::tlm.

Referenced by mefel_init().

double give_area ( long  eid  ) 
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 (output)
Returns:
The function returns code numbers in the parameter cn.

Created by JK, 25.6.2001

Definition at line 1997 of file mechtop.cpp.

References gtopology::give_code_numbers(), and Gtm.

Referenced by arclengthrv(), loadcase::assemble(), dloadcase::assemble(), assemble_coup(), planeelemlq::define_meaning(), beamel3d::define_meaning(), beamel2d::define_meaning(), eldispl(), elemprescdisp(), elprdispl(), incr_internal_forces(), initial_stiffness_matrix(), loc_internal_forces(), mass_matrix(), nodal_eigstrain_forces(), nodal_pore_press_forces(), nonloc_internal_forces(), quadrilatc::res_mainip_strains(), barelc::res_mainip_strains(), and stiffness_matrix().

long give_degree ( long  eid  ) 
long give_dimension ( long  eid  ) 
long give_dof ( long  nid,
long  n 
)

Function returns appropriate DOF of node.

Parameters:
nid - node id
n - number of required DOF
Returns:
The function returns DOF of the required node.

Created by JK,

Definition at line 735 of file mechtop.cpp.

References gtopology::give_dof(), and Gtm.

Referenced by arclengthrv(), loadcase::assemble(), dloadcase::assemble(), mechbclc::comp_sum(), mechbclc::comp_sum_pdreact(), mechbclc::comp_sum_react(), stochdriver::extractor(), parseldofinit(), outdiagm::print_forces(), seldofinit(), select_noddispl(), select_nodforce(), and write_nforces().

double give_domain_vol (  ) 

The function returns volume of the whole domain described by topology stored in the given instance of mechtop.

Returns:
The function returns volume of all 3D elements in the topology.

Created by Tomas Koudelka, 20.3.2014

Definition at line 4012 of file mechtop.cpp.

References give_volume(), and ne.

Referenced by mefel_init().

void give_edge_nodes ( long  eid,
long  edid,
long *  nodes 
)

Function returns node numbers on required element edge.

Parameters:
eid - element id
edid - edge id
nodes - array containing edge nodes (output)
Returns:
The function returns edge nodes in the parameter nodes.

Created by JK, 5.3.2002

Definition at line 1872 of file mechtop.cpp.

References allocv(), axisymmlt, destrv(), give_elem_type(), give_elemnodes(), give_nne(), linearhex, nod, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, and print_err().

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

Function returns numbers of nodes defining appropriate element.

there are two arrays for node numbers of elements in the code if there is no hanging node in the problem solved, nodes of elements are stored only in the objects Gtm->gelements if there are hanging nodes, the elements attached to the hanging nodes contain the original slave nodes in the array Mt->elements.nodes while the array Gtm->gelements.nodes stores master nodes

this function returns the original node numbers i.e. the slave node numbers, it is used e.g. in graphic output

Parameters:
eid - element id
nodes - array containing nodes (output)
Returns:
The function returns node numbers in the parameter nodes.

Created by JK, 22.7.2001

Definition at line 1980 of file mechtop.cpp.

References gtopology::give_original_nodes(), and Gtm.

Referenced by soilplatetr::allip_stresses(), soilplateq::allip_stresses(), alloc_nodes_arrays(), soilplateq::appstrain(), planeelemsubqt::appstrain(), planeelemrotlt::appstrain(), planeelemqt::appstrain(), linhexrot::appstrain(), linhex::appstrain(), axisymqq::appstrain(), axisymlq::appstrain(), planeelemsubqt::appstress(), planeelemrotlt::appstress(), planeelemqt::appstress(), linhexrot::appstress(), linhex::appstress(), axisymqq::appstress(), axisymlt::appstress(), axisymlq::appstress(), q4plate::areaforces(), dstelem::areaforces(), dktelem::areaforces(), planeelemqt::compute_error(), planeelemqq::compute_error(), planeelemlt::compute_error(), planeelemlq::compute_error(), lintet::compute_error(), q4plate::compute_nlstress(), dstelem::compute_nlstress(), dktelem::compute_nlstress(), cctelem::compute_nlstress(), ArgyrisTriangle::compute_nlstress(), loadcase::compute_reactions(), dloadcase::compute_reactions(), comreacelem(), planeelemlq::define_meaning(), beamel3d::define_meaning(), beamel2d::define_meaning(), soilplatetr::elem_integration(), soilplateq::elem_integration(), q4plate::elem_integration(), plquadcontact::elem_integration(), planeelemsubqt::elem_integration(), planeelemrotlt::elem_integration(), planeelemrotlq::elem_integration(), planeelemqt::elem_integration(), planeelemlq::elem_integration(), dstelem::elem_integration(), dktelem::elem_integration(), cctelem::elem_integration(), ArgyrisTriangle::elem_integration(), soilplateq::elem_strains(), planeelemsubqt::elem_strains(), planeelemrotlt::elem_strains(), planeelemsubqt::elem_stresses(), planeelemrotlt::elem_stresses(), elemprescdisp(), planeelemlt::error(), dstelem::geom_matrix_shear(), z2_smoothing::give_adapt_code_numbers(), give_edge_nodes(), springel::give_ndofe(), linhex::gl_internal_forces(), planeelemlq::gl_stiffness_matrix(), planeelemlq::gnl_internal_forces(), planeelemlq::gnl_stiffness_matrix(), mechbclc::inicipval(), q4plate::initstr_matrix(), beamel3d::initstr_matrix(), beamel2d::initstr_matrix(), beamel2d::initstr_matrix_expl(), elemparticle::inter_forces_1d(), elemparticle::inter_forces_2d(), elemparticle::inter_forces_3d(), soilbeam::internal_forces(), beamgen3d::internal_forces(), beamel3d::internal_forces(), axisymqq::internal_forces(), axisymlq::internal_forces(), soilbeam::internal_forces1(), beamgen3d::internal_forces1(), intpointval(), intpointval2(), lintet::ip_strains(), planeelemrotlt::ipvolume(), planeelemrotlq::ipvolume(), planeelemqt::ipvolume(), planeelemqq::ipvolume(), planeelemlt::ipvolume(), planeelemlq::ipvolume(), quadtet::load_matrix(), quadhex::load_matrix(), q4plate::load_matrix(), planeelemsubqt::load_matrix(), planeelemrotlt::load_matrix(), planeelemrotlq::load_matrix(), planeelemqt::load_matrix(), planeelemqq::load_matrix(), planeelemlt::load_matrix(), planeelemlq::load_matrix(), lintetrot::load_matrix(), lintet::load_matrix(), linhexrot::load_matrix(), linhex::load_matrix(), cctelem::load_matrix(), beamgen3d::load_matrix(), beamel3d::load_matrix(), axisymqq::load_matrix(), axisymlt::load_matrix(), axisymlq::load_matrix(), ArgyrisTriangle::load_matrix(), plquadcontact::mainip_strains(), planeelemsubqt::mainip_strains(), linhex::mainip_strains(), axisymqq::mainip_strains(), quadtet::mass_matrix(), quadhex::mass_matrix(), planeelemsubqt::mass_matrix(), planeelemrotlt::mass_matrix(), planeelemrotlq::mass_matrix(), planeelemqt::mass_matrix(), planeelemqq::mass_matrix(), planeelemlt::mass_matrix(), planeelemlq::mass_matrix(), lintetrot::mass_matrix(), lintet::mass_matrix(), linhexrot::mass_matrix(), linhex::mass_matrix(), cctelem::mass_matrix(), beamel3d::mass_matrix(), beamel2d::mass_matrix(), axisymqq::mass_matrix(), axisymlt::mass_matrix(), axisymlq::mass_matrix(), ArgyrisTriangle::mass_matrix(), beamel2d::mass_matrix_expl(), beam2dspec::mass_matrix_expl(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), planeelemqq::midpoints(), quadtet::nod_eqother_ip(), quadhex::nod_eqother_ip(), planeelemqq::nod_eqother_ip(), planeelemlq::nod_eqother_ip(), lintetrot::nod_eqother_ip(), lintet::nod_eqother_ip(), linhexrot::nod_eqother_ip(), linhex::nod_eqother_ip(), barelq3d::nod_eqother_ip(), barelq2d::nod_eqother_ip(), barel3d::nod_eqother_ip(), barel2d::nod_eqother_ip(), axisymqq::nod_eqother_ip(), axisymlt::nod_eqother_ip(), axisymlq::nod_eqother_ip(), planeelemrotlt::nod_others(), planeelemlt::nod_others(), linhex::nod_others(), soilplateq::nod_strains(), planeelemsubqt::nod_strains(), planeelemrotlt::nod_strains(), planeelemqt::nod_strains(), linhex::nod_strains(), axisymqq::nod_strains(), axisymlq::nod_strains(), quadtet::nod_strains_comp(), quadhex::nod_strains_comp(), planeelemrotlq::nod_strains_comp(), planeelemlt::nod_strains_comp(), planeelemlq::nod_strains_comp(), linhexrot::nod_strains_comp(), linhex::nod_strains_comp(), barelq3d::nod_strains_comp(), barelq2d::nod_strains_comp(), barel2d::nod_strains_comp(), axisymqq::nod_strains_comp(), axisymlt::nod_strains_comp(), shelltr::nod_strains_ip(), quadtet::nod_strains_ip(), quadhex::nod_strains_ip(), q4plate::nod_strains_ip(), planeelemrotlt::nod_strains_ip(), planeelemrotlq::nod_strains_ip(), planeelemqq::nod_strains_ip(), planeelemlt::nod_strains_ip(), planeelemlq::nod_strains_ip(), lintetrot::nod_strains_ip(), lintet::nod_strains_ip(), linhexrot::nod_strains_ip(), linhex::nod_strains_ip(), cctelem::nod_strains_ip(), barelq3d::nod_strains_ip(), barelq2d::nod_strains_ip(), barel3d::nod_strains_ip(), barel2d::nod_strains_ip(), axisymqq::nod_strains_ip(), axisymlt::nod_strains_ip(), axisymlq::nod_strains_ip(), ArgyrisTriangle::nod_strains_ip(), axisymqq::nod_strains_old(), planeelemsubqt::nod_stresses(), planeelemrotlt::nod_stresses(), planeelemqt::nod_stresses(), linhex::nod_stresses(), axisymqq::nod_stresses(), axisymlq::nod_stresses(), axisymqq::nod_stresses_comp(), quadtet::nod_stresses_ip(), quadhex::nod_stresses_ip(), q4plate::nod_stresses_ip(), planeelemrotlt::nod_stresses_ip(), planeelemrotlq::nod_stresses_ip(), planeelemqq::nod_stresses_ip(), planeelemlt::nod_stresses_ip(), planeelemlq::nod_stresses_ip(), lintetrot::nod_stresses_ip(), lintet::nod_stresses_ip(), linhexrot::nod_stresses_ip(), linhex::nod_stresses_ip(), cctelem::nod_stresses_ip(), barelq3d::nod_stresses_ip(), barelq2d::nod_stresses_ip(), barel3d::nod_stresses_ip(), barel2d::nod_stresses_ip(), axisymqq::nod_stresses_ip(), axisymlt::nod_stresses_ip(), axisymlq::nod_stresses_ip(), ArgyrisTriangle::nod_stresses_ip(), axisymqq::nod_stresses_old(), beamgen3d::nodal_displ(), beamel3d::nodal_displ(), beamel2d::nodal_displ(), beamgen3d::nodal_forces(), beamel3d::nodal_forces(), beamel2d::nodal_forces(), quadtet::node_forces_surf(), quadhex::node_forces_surf(), lintet::node_forces_surf(), linhex::node_forces_surf(), linhexrot::node_forces_surf_old(), linhex::node_forces_surf_old(), dstelem::nodeforces(), dktelem::nodeforces(), planeelemqt::ntdbr_vector(), planeelemqq::ntdbr_vector(), planeelemlt::ntdbr_vector(), planeelemlq::ntdbr_vector(), planeelemqt::ntn_matrix(), planeelemqq::ntn_matrix(), planeelemlt::ntn_matrix(), planeelemlq::ntn_matrix(), quadtet::res_eigstrain_forces(), quadhex::res_eigstrain_forces(), planeelemsubqt::res_eigstrain_forces(), planeelemrotlt::res_eigstrain_forces(), planeelemrotlq::res_eigstrain_forces(), planeelemqt::res_eigstrain_forces(), planeelemqq::res_eigstrain_forces(), planeelemlt::res_eigstrain_forces(), planeelemlq::res_eigstrain_forces(), lintetrot::res_eigstrain_forces(), lintet::res_eigstrain_forces(), linhexrot::res_eigstrain_forces(), linhex::res_eigstrain_forces(), cctelem::res_eigstrain_forces(), barelq3d::res_eigstrain_forces(), barelq2d::res_eigstrain_forces(), barel3d::res_eigstrain_forces(), barel2d::res_eigstrain_forces(), axisymqq::res_eigstrain_forces(), axisymlt::res_eigstrain_forces(), axisymlq::res_eigstrain_forces(), ArgyrisTriangle::res_eigstrain_forces(), soilplatetr::res_incr_internal_forces(), quadtet::res_incr_internal_forces(), quadhex::res_incr_internal_forces(), planeelemsubqt::res_incr_internal_forces(), planeelemrotlt::res_incr_internal_forces(), planeelemrotlq::res_incr_internal_forces(), planeelemqt::res_incr_internal_forces(), planeelemqq::res_incr_internal_forces(), planeelemlt::res_incr_internal_forces(), planeelemlq::res_incr_internal_forces(), lintetrot::res_incr_internal_forces(), lintet::res_incr_internal_forces(), linhexrot::res_incr_internal_forces(), linhex::res_incr_internal_forces(), dstelem::res_incr_internal_forces(), dktelem::res_incr_internal_forces(), cctelem::res_incr_internal_forces(), barelq3d::res_incr_internal_forces(), barelq2d::res_incr_internal_forces(), barel3d::res_incr_internal_forces(), barel2d::res_incr_internal_forces(), axisymqq::res_incr_internal_forces(), axisymlt::res_incr_internal_forces(), axisymlq::res_incr_internal_forces(), ArgyrisTriangle::res_incr_internal_forces(), soilplatetr::res_internal_forces(), shelltr::res_internal_forces(), quadtet::res_internal_forces(), quadhex::res_internal_forces(), plquadcontact::res_internal_forces(), planeelemsubqt::res_internal_forces(), planeelemrotlt::res_internal_forces(), planeelemrotlq::res_internal_forces(), planeelemqt::res_internal_forces(), planeelemqq::res_internal_forces(), planeelemlt::res_internal_forces(), planeelemlq::res_internal_forces(), lintetrot::res_internal_forces(), lintet::res_internal_forces(), linhexrot::res_internal_forces(), dstelem::res_internal_forces(), dktelem::res_internal_forces(), cctelem::res_internal_forces(), barelq3d::res_internal_forces(), barelq2d::res_internal_forces(), barel3d::res_internal_forces(), barel2d::res_internal_forces(), axisymqq::res_internal_forces(), axisymlt::res_internal_forces(), ArgyrisTriangle::res_internal_forces(), shelltr::res_ip_strains(), shellq::res_ip_strains(), quadtet::res_ip_strains(), quadhex::res_ip_strains(), q4plate::res_ip_strains(), planeelemrotlt::res_ip_strains(), planeelemrotlq::res_ip_strains(), planeelemqq::res_ip_strains(), planeelemlt::res_ip_strains(), planeelemlq::res_ip_strains(), lintetrot::res_ip_strains(), linhexrot::res_ip_strains(), linhex::res_ip_strains(), dstelem::res_ip_strains(), dktelem::res_ip_strains(), cctelem::res_ip_strains(), barel3d::res_ip_strains(), barel2d::res_ip_strains(), ArgyrisTriangle::res_ip_strains(), quadtet::res_load_matrix(), quadhex::res_load_matrix(), planeelemqq::res_load_matrix(), planeelemlt::res_load_matrix(), planeelemlq::res_load_matrix(), linhexrot::res_load_matrix(), linhex::res_load_matrix(), barel2d::res_load_matrix(), soilplatetr::res_mainip_strains(), soilplateq::res_mainip_strains(), planeelemrotlt::res_mainip_strains(), planeelemqt::res_mainip_strains(), barelq3d::res_mainip_strains(), barelq2d::res_mainip_strains(), axisymlt::res_mainip_strains(), axisymlq::res_mainip_strains(), beam2dspec::res_mainip_stresses(), quadtet::res_mass_matrix(), quadhex::res_mass_matrix(), planeelemqq::res_mass_matrix(), planeelemlt::res_mass_matrix(), planeelemlq::res_mass_matrix(), linhexrot::res_mass_matrix(), linhex::res_mass_matrix(), barel3d::res_mass_matrix(), barel2d::res_mass_matrix(), quadtet::res_nonloc_internal_forces(), quadhex::res_nonloc_internal_forces(), planeelemsubqt::res_nonloc_internal_forces(), planeelemrotlt::res_nonloc_internal_forces(), planeelemrotlq::res_nonloc_internal_forces(), planeelemqt::res_nonloc_internal_forces(), planeelemqq::res_nonloc_internal_forces(), planeelemlt::res_nonloc_internal_forces(), planeelemlq::res_nonloc_internal_forces(), lintetrot::res_nonloc_internal_forces(), lintet::res_nonloc_internal_forces(), linhexrot::res_nonloc_internal_forces(), linhex::res_nonloc_internal_forces(), cctelem::res_nonloc_internal_forces(), barelq3d::res_nonloc_internal_forces(), barelq2d::res_nonloc_internal_forces(), barel3d::res_nonloc_internal_forces(), barel2d::res_nonloc_internal_forces(), axisymqq::res_nonloc_internal_forces(), axisymlt::res_nonloc_internal_forces(), axisymlq::res_nonloc_internal_forces(), ArgyrisTriangle::res_nonloc_internal_forces(), shelltr::res_stiffness_matrix(), shellq::res_stiffness_matrix(), quadtet::res_stiffness_matrix(), quadhex::res_stiffness_matrix(), q4plate::res_stiffness_matrix(), plquadcontact::res_stiffness_matrix(), planeelemsubqt::res_stiffness_matrix(), planeelemrotlt::res_stiffness_matrix(), planeelemrotlq::res_stiffness_matrix(), planeelemqt::res_stiffness_matrix(), planeelemqq::res_stiffness_matrix(), planeelemlt::res_stiffness_matrix(), planeelemlq::res_stiffness_matrix(), lintetrot::res_stiffness_matrix(), lintet::res_stiffness_matrix(), linhexrot::res_stiffness_matrix(), linhex::res_stiffness_matrix(), dstelem::res_stiffness_matrix(), dktelem::res_stiffness_matrix(), cctelem::res_stiffness_matrix(), barelq3d::res_stiffness_matrix(), barelq2d::res_stiffness_matrix(), barel3d::res_stiffness_matrix(), barel2d::res_stiffness_matrix(), axisymlt::res_stiffness_matrix(), ArgyrisTriangle::res_stiffness_matrix(), save_elem_inidispl(), argyrisplate::shapefunctions(), soilplatetr::stiffness_matrix(), soilplateq::stiffness_matrix(), soilbeam::stiffness_matrix(), quadwedge::stiffness_matrix(), q4plate::stiffness_matrix(), plquadcontact::stiffness_matrix(), planeelemsubqt::stiffness_matrix(), planeelemrotlt::stiffness_matrix(), planeelemrotlq::stiffness_matrix(), planeelemqt::stiffness_matrix(), planeelemqq::stiffness_matrix(), planeelemlt::stiffness_matrix(), linwedge::stiffness_matrix(), linhex::stiffness_matrix(), dstelem::stiffness_matrix(), dktelem::stiffness_matrix(), cctelem::stiffness_matrix(), beamgen3d::stiffness_matrix(), beamel3d::stiffness_matrix(), beamel2d::stiffness_matrix(), barelq2d::stiffness_matrix(), axisymqq::stiffness_matrix(), axisymlq::stiffness_matrix(), ArgyrisTriangle::stiffness_matrix(), argyrisplate::stiffness_matrix(), elemparticle::stiffness_matrix_1d(), elemparticle::stiffness_matrix_2d(), elemparticle::stiffness_matrix_3d(), beamel2d::stiffness_matrix_expl(), beam2dspec::stiffness_matrix_expl(), beamel3d::stiffness_matrix_local(), beamel3d::stiffness_matrix_local2(), store_code_num_elem(), soilbeam::strains(), beam2dspec::strains(), linhex::temp_forces(), linhex::tempstrains(), axisymqq::tempstrains(), axisymlq::tempstrains(), dstelem::tran_matrix(), and trfel_mefel_by_nodes().

long give_intordsm ( long  eid,
long  ri,
long  ci 
)

Function returns integration order of stiffness matrix for the given element id and block ids.

Parameters:
eid - element id
ri,ci - row and column indices
Returns:
The function returns number of integration order of the given element block.

Created by TKo, 11.11.2013

Definition at line 916 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), linhexrot::intordsm, lintetrot::intordsm, quadhex::intordsm, linhex::intordsm, quadtet::intordsm, lintet::intordsm, shellq::intordsm, shelltr::intordsm, axisymqq::intordsm, axisymlq::intordsm, axisymlt::intordsm, soilplateq::intordsm, soilplatetr::intordsm, argyrisplate::intordsm, q4plate::intordsm, dstelem::intordsm, dktelem::intordsm, cctelem::intordsm, plquadcontact::intordsm, planeelemsubqt::intordsm, planeelemrotlq::intordsm, planeelemqq::intordsm, planeelemlq::intordsm, planeelemrotlt::intordsm, planeelemqt::intordsm, planeelemlt::intordsm, springel::intordsm, soilbeam::intordsm, beamgen3d::intordsm, beamel3d::intordsm, beamel2d::intordsm, barelq3d::intordsm, barelq2d::intordsm, barel3d::intordsm, barel2d::intordsm, Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, Ltet, Ltetrot, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

void give_ipcoord_elem ( long  eid,
matrix coord 
)

The function computes coordinates of all element integration points.

Parameters:
eid - element id
coord - matrix with coordinates x,y,z of integration points stored in rows, dimensions of matrix have to be (tnip, 3), coord[i][1] means y coordinate of the i-th integration point of the given element
Returns:
The function returns ip coordinates in the parameter coord.

Created by Tomas Koudelka, 11.2011

Definition at line 2119 of file mechtop.cpp.

References elements, fillv(), give_nb(), give_nip(), ipcoord(), and element::ipp.

Referenced by approx_slip_surf().

double give_length ( long  eid  ) 
void give_maxncompo ( long &  max_nncompo,
long &  max_encompo 
)

Function returns maximum number of components of other array at nodes in the parameter max_nncompo and maximum number of components of eqother array on elements in the parameter max_encompo

Parameters:
max_encompo - maximum number of components of other array at nodes
max_nncompo - maximum number of components of eqother array on elements
Returns:
The function returns maximum number other array components in the parameters max_nncompo and max_encompo.

Created by Tomas Koudelka,

Definition at line 2308 of file mechtop.cpp.

References elements, mechmat::ip, element::ipp, Mm, intpoints::ncompeqother, node::ncompother, ne, nn, and nodes.

Referenced by mefel_init(), metr_init(), pmefel_init(), and pmetr_init().

void give_maxncompstr ( long &  max_ncompstrn,
long &  max_ncompstre 
)

Function returns maximum number of components of strain/stress array at nodes in the parameter max_ncompstrn and maximum number of components of strain/stress array on elements in the parameter max_ncompstre

Parameters:
max_ncompstrn - maximum number of components of strain/stress array at nodes (output)
max_ncompstre - maximum number of components of strain/stress array on elements (output)
Returns:
The function returns maximum number stress/strain components in the parameters max_ncompstrn and max_ncompstre.

Created by Tomas Koudelka,

Definition at line 2276 of file mechtop.cpp.

References elements, mechmat::ip, element::ipp, Mm, node::ncompstr, intpoints::ncompstr, ne, nn, and nodes.

Referenced by mefel_init(), metr_init(), pmefel_init(), and pmetr_init().

long give_maxndofn (  ) 

The function returns the maximum number of dofs from all nodes in the problem. This value is either detected and stored in the max_ndofn or it returns the max_ndofn. It is used in the mechprint.cpp due to GiD output.

Returns:
The function returns max_ndofn value.

Created by Tomas Koudelka 03.2013

Definition at line 2337 of file mechtop.cpp.

References give_ndofn(), max_ndofn, and nn.

Referenced by write_gid_displ().

void give_mult_code_numbers ( long  nid,
long  lid,
long *  cn 
)

Function extracts code numbers of multipliers on actual node

Parameters:
nid - node id
lid - layer id
cn - array containing all code numbers on node (output)
Returns:
The function returns code numbers of multipliers in the parameter cn.

Created by JK, 7.12.2002

Definition at line 2032 of file mechtop.cpp.

References gtopology::give_mult_code_numbers(), and Gtm.

Referenced by stiffness_matrix().

long give_napfun ( long  eid  ) 

Function returns number of approximated functions.

Parameters:
eid - number of element
Returns:
The function returns number of approximation functions.

Created by JK, 30.12.2001

Definition at line 1415 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, quadwedge::napfun, linwedge::napfun, linhexrot::napfun, lintetrot::napfun, quadhex::napfun, linhex::napfun, quadtet::napfun, lintet::napfun, shellq::napfun, shelltr::napfun, axisymqq::napfun, axisymlq::napfun, axisymlt::napfun, soilplateq::napfun, soilplatetr::napfun, argyrisplate::napfun, q4plate::napfun, dstelem::napfun, dktelem::napfun, cctelem::napfun, planeelemsubqt::napfun, planeelemrotlq::napfun, planeelemqq::napfun, planeelemlq::napfun, planeelemrotlt::napfun, planeelemqt::napfun, planeelemlt::napfun, springel::napfun, beam2dspec::napfun, soilbeam::napfun, beamgen3d::napfun, beamel3d::napfun, beamel2d::napfun, barelq3d::napfun, barelq2d::napfun, barel3d::napfun, barel2d::napfun, particleelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by loadel::readedgeload(), and loadel::readsurfaceload().

long give_nb ( long  eid  ) 

Function returns number of blocks in characteristic matrices.

Parameters:
eid - element id
Returns:
The function returns number of blocks.

Created by JK, 8.5.2002

Definition at line 1556 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::nb, quadwedge::nb, linwedge::nb, linhexrot::nb, lintetrot::nb, quadhex::nb, linhex::nb, quadtet::nb, lintet::nb, shellq::nb, shelltr::nb, axisymqq::nb, axisymlq::nb, axisymlt::nb, soilplateq::nb, soilplatetr::nb, argyrisplate::nb, q4plate::nb, dstelem::nb, dktelem::nb, cctelem::nb, plquadcontact::nb, planeelemsubqt::nb, planeelemrotlq::nb, planeelemqq::nb, planeelemlq::nb, planeelemrotlt::nb, planeelemqt::nb, planeelemlt::nb, springel::nb, beam2dspec::nb, soilbeam::nb, beamgen3d::nb, beamel3d::nb, beamel2d::nb, barelq3d::nb, barelq2d::nb, barel3d::nb, barel2d::nb, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by adjacip(), give_ipcoord_elem(), mechmat::init_ip_1(), coupmatu::intpnum(), coupmatl::intpnum(), mechmat::intpnum(), coupmatu::intpointinit(), coupmatl::intpointinit(), and mechmat::intpointinit().

long give_nb_te ( elemtype  te  ) 

Function returns number of blocks in characteristic matrices.

Parameters:
eid - element id
Returns:
The function returns number of blocks.

Created by JK, 8.5.2002

Definition at line 1627 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::nb, quadwedge::nb, linwedge::nb, linhexrot::nb, lintetrot::nb, quadhex::nb, linhex::nb, quadtet::nb, lintet::nb, shellq::nb, shelltr::nb, axisymqq::nb, axisymlq::nb, axisymlt::nb, soilplateq::nb, soilplatetr::nb, argyrisplate::nb, q4plate::nb, dstelem::nb, dktelem::nb, cctelem::nb, plquadcontact::nb, planeelemsubqt::nb, planeelemrotlq::nb, planeelemqq::nb, planeelemlq::nb, planeelemrotlt::nb, planeelemqt::nb, planeelemlt::nb, springel::nb, beam2dspec::nb, soilbeam::nb, beamgen3d::nb, beamel3d::nb, beamel2d::nb, barelq3d::nb, barelq2d::nb, barel3d::nb, barel2d::nb, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by element::~element().

long give_ncomp ( long  eid,
long  bid 
)

Function returns number of strain/stress components.

Parameters:
eid - element id
bid - block id
Returns:
The function returns number of stress/strain components

Created by JK, 30.12.2001

Definition at line 1075 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::ndofe, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, quadwedge::tncomp, linwedge::tncomp, linhexrot::tncomp, lintetrot::tncomp, quadhex::tncomp, linhex::tncomp, quadtet::tncomp, lintet::tncomp, axisymqq::tncomp, axisymlq::tncomp, axisymlt::tncomp, soilplateq::tncomp, soilplatetr::tncomp, argyrisplate::tncomp, q4plate::tncomp, dstelem::tncomp, dktelem::tncomp, cctelem::tncomp, plquadcontact::tncomp, planeelemsubqt::tncomp, planeelemrotlq::tncomp, planeelemqq::tncomp, planeelemlq::tncomp, planeelemrotlt::tncomp, planeelemqt::tncomp, planeelemlt::tncomp, springel::tncomp, soilbeam::tncomp, beam2dspec::tncomp, beamgen3d::tncomp, beamel3d::tncomp, beamel2d::tncomp, barelq3d::tncomp, barelq2d::tncomp, barel3d::tncomp, and barel2d::tncomp.

Referenced by compute_ipstrains(), mechmat::init_ip_1(), mefel_init(), outdiagm::print_macrostr(), nodeoutm::print_out(), element::read(), and adaptivity::run().

long give_ndofe ( long  eid  ) 

Function returns the number of DOFs of element.

Parameters:
eid - element id
Returns:
The function returns the number of DOFs of the required element.

Created by JK,

Definition at line 637 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), springel::give_ndofe(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::ndofe, quadwedge::ndofe, linwedge::ndofe, linhexrot::ndofe, lintetrot::ndofe, quadhex::ndofe, linhex::ndofe, quadtet::ndofe, lintet::ndofe, shellq::ndofe, shelltr::ndofe, axisymqq::ndofe, axisymlq::ndofe, axisymlt::ndofe, soilplateq::ndofe, soilplatetr::ndofe, argyrisplate::ndofe, q4plate::ndofe, dstelem::ndofe, dktelem::ndofe, cctelem::ndofe, plquadcontact::ndofe, planeelemsubqt::ndofe, planeelemrotlq::ndofe, planeelemqq::ndofe, planeelemlq::ndofe, planeelemrotlt::ndofe, planeelemqt::ndofe, planeelemlt::ndofe, beam2dspec::ndofe, soilbeam::ndofe, beamgen3d::ndofe, beamel3d::ndofe, beamel2d::ndofe, barelq3d::ndofe, barelq2d::ndofe, barel3d::ndofe, barel2d::ndofe, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by element::alloc_growstr(), loadcase::assemble(), dloadcase::assemble(), loadcase::compute_reactions(), dloadcase::compute_reactions(), loadel::edgeload(), eldispl(), elprdispl(), incr_internal_forces(), initial_displ(), initial_stiffness_matrix(), loc_internal_forces(), mass_matrix(), nodal_eigstrain_forces(), nodal_pore_press_forces(), nonloc_internal_forces(), element::print(), element::read(), loadel::readvolumeload(), save_elem_inidispl(), searching_hanging_nodes(), solver_restore_binary_multiple(), solver_restore_binary_single(), solver_restore_text_multiple(), solver_restore_text_single(), solver_save_binary_multiple(), solver_save_binary_single(), solver_save_text_multiple(), solver_save_text_single(), stiffness_matrix(), store_code_num_elem(), springel::strains(), springel::stresses(), loadel::surfaceload(), and loadel::volumeload().

long give_ndofn ( long  nid  ) 
long give_ned ( long  eid  ) 
long give_nip ( long  eid,
long  ri,
long  ci 
)

Function returns number of integration points.

Parameters:
eid - element id
ri,ci - row and column indices
Returns:
The function returns number of integration points of the given element block.

Created by JK, 30.12.2001

Definition at line 843 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::nip, quadwedge::nip, linwedge::nip, linhexrot::nip, lintetrot::nip, quadhex::nip, linhex::nip, quadtet::nip, lintet::nip, shellq::nip, shelltr::nip, axisymqq::nip, axisymlq::nip, axisymlt::nip, soilplateq::nip, soilplatetr::nip, argyrisplate::nip, q4plate::nip, dstelem::nip, dktelem::nip, cctelem::nip, plquadcontact::nip, planeelemsubqt::nip, planeelemrotlq::nip, planeelemqq::nip, planeelemlq::nip, planeelemrotlt::nip, planeelemqt::nip, planeelemlt::nip, springel::nip, beam2dspec::nip, soilbeam::nip, beamgen3d::nip, beamel3d::nip, beamel2d::nip, barelq3d::nip, barelq2d::nip, barel3d::nip, barel2d::nip, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by adjacip(), clean_ip_new_elem(), dist(), give_ipcoord_elem(), in_dist(), mechmat::init_ip_1(), mechmat::intpnum(), mechmat::intpointinit(), and mefel_trfel_ip_mapping().

long give_nne ( long  eid  ) 

Function returns number of nodes of the element.

Parameters:
eid - element id
Returns:
The function returns number of nodes of the required element.

Created by JK,

Definition at line 771 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::nne, quadwedge::nne, linwedge::nne, linhexrot::nne, lintetrot::nne, quadhex::nne, linhex::nne, quadtet::nne, lintet::nne, shellq::nne, shelltr::nne, axisymqq::nne, axisymlq::nne, axisymlt::nne, soilplateq::nne, soilplatetr::nne, argyrisplate::nne, q4plate::nne, dstelem::nne, dktelem::nne, cctelem::nne, plquadcontact::nne, planeelemsubqt::nne, planeelemrotlq::nne, planeelemqq::nne, planeelemlq::nne, planeelemrotlt::nne, planeelemqt::nne, planeelemlt::nne, springel::nne, beam2dspec::nne, soilbeam::nne, beamgen3d::nne, beamel3d::nne, beamel2d::nne, barelq3d::nne, barelq2d::nne, barel3d::nne, barel2d::nne, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by alloc_nodes_arrays(), z2_smoothing::column_lengths_nn(), z2_smoothing::compute_ainv(), z2_smoothing::compute_ntdbr(), z2_smoothing::compute_ntn_sky(), loadcase::compute_reactions(), dloadcase::compute_reactions(), comreacelem(), elemprescdisp(), give_area(), mechcrsec::give_density(), give_edge_nodes(), give_length(), mechcrsec::give_thickness(), give_volume(), mechbclc::inicipval(), interpolate(), intpointval(), intpointval2(), mefel_trfel_by_nodes(), element::print(), outdriverm::print_default_vtk(), element::read(), adaptivity::run(), save_elem_inidispl(), searching_hanging_nodes(), store_code_num_elem(), and trfel_mefel_by_nodes().

long give_nned ( long  eid  ) 
long give_nnsurf ( long  eid  ) 

Function returns number of surfaces of the element.

Parameters:
eid - element id
Returns:
The function returns number of nodes on element surfaces

Created by JK, 29.4.2004

Definition at line 1380 of file mechtop.cpp.

References Dkt, dktel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, quadwedge::nnsurf, linwedge::nnsurf, linhexrot::nnsurf, lintetrot::nnsurf, quadhex::nnsurf, linhex::nnsurf, quadtet::nnsurf, lintet::nnsurf, dktelem::nnsurf, print_err(), Qhex, Qtet, quadrhex, quadrtet, quadrwed, and Qwed.

Referenced by loadel::readsurfaceload().

void give_nodal_coord ( long  nid,
vector c 
)

The function returns nodal coordinates for the nid-th node.

Parameters:
nid - node id
c - vector of coordinate (output)
Returns:
The function returns nodal coordinates via parameter c.

Created by Tomas Koudelka, 11.2011

Definition at line 752 of file mechtop.cpp.

References gtopology::gnodes, Gtm, gnode::x, gnode::y, and gnode::z.

Referenced by nodeoutm::print_stra(), nodeoutm::print_stre(), write_gid_nodscalar(), and write_gid_nodtensor().

void give_nodal_other ( long  nid,
vector othv 
)

The function returns the averaged vector of other values in the given node.

Parameters:
nid - node id
stra - output parameter for the vector of other values
Returns:
The function returns averaged nodal other values in the parameter stra.

Created by Tomas Koudelka, 11.2011

Definition at line 2720 of file mechtop.cpp.

References node::ncompother, nodes, and node::other.

void give_nodal_strain ( long  nid,
vector stra 
)

The function returns the averaged strain vector in the given node.

Parameters:
nid - node id
stra - output parameter for the strain vector
Returns:
The function returns averaged nodal strains in the parameter stra.

Created by Tomas Koudelka, 11.2011

Definition at line 2652 of file mechtop.cpp.

References guess_ssst(), node::ncompstr, nodes, strain, node::strain, and vector_tensor().

void give_nodal_stress ( long  nid,
vector stre 
)

The function returns the averaged stress vector in the given node.

Parameters:
nid - node id
stra - output parameter for the stress vector
Returns:
The function returns averaged nodal stresses in the parameter stra.

Created by Tomas Koudelka, 11.2011

Definition at line 2686 of file mechtop.cpp.

References guess_ssst(), node::ncompstr, nodes, stress, node::stress, and vector_tensor().

void give_noddispl_1d ( ivector nodes,
vector u 
)

The function returns the first component of nodal displacements for the selected nodes given by parameter nodes.

Parameters:
nodes - vector of selected nodes
u - vector of displacements (output)
Returns:
The function returns the first displacement component of selected nodes in the parameter u.

Created by JK, 23.6.2005

Definition at line 3601 of file mechtop.cpp.

References ivector::n, and nodedispl.

Referenced by elemparticle::inter_forces_1d(), and elemparticle::stiffness_matrix_1d().

void give_noddispl_2d ( ivector nodes,
vector u,
vector v 
)

The function returns the first two components of nodal displacements for the selected nodes given by parameter nodes.

Parameters:
nodes - vector of selected nodes
u - vector of the first displacement component (output)
v - vector of the second displacement component (output)
Returns:
The function returns displacement components at selected nodes in parameters u and v.

Created by JK, 23.6.2005

Definition at line 3626 of file mechtop.cpp.

References ivector::n, and nodedispl.

Referenced by elemparticle::inter_forces_2d(), elemparticle::stiffness_matrix_2d(), and elemparticle::stiffness_matrix_3d().

void give_noddispl_3d ( ivector nodes,
vector u,
vector v,
vector w 
)

The function returns first three components of nodal displacements for the selected nodes given by parameter nodes.

Parameters:
nodes - vector of selected nodes
u - vector of the first displacement component (output)
v - vector of the second displacement component (output)
w - vector of the third displacement component (output)
Returns:
The function returns displacement components at selected nodes in parameters u, v and w.

Created by JK, 23.6.2005

Definition at line 3652 of file mechtop.cpp.

References ivector::n, and nodedispl.

Referenced by elemparticle::inter_forces_3d().

void give_node_code_numbers ( long  nid,
long *  cn 
)

Function extracts code numbers of actual node

Parameters:
nid - node id
cn - array containing code numbers on node (output)
Returns:
The function returns code numbers in the parameter cn.

Created by JK, 7.12.2002

Definition at line 2014 of file mechtop.cpp.

References gtopology::give_node_code_numbers(), and Gtm.

Referenced by femplast_epressure(), gencodnumlagrmult(), local_global_displ_transf(), restore_nodforce(), restore_nodval(), seismtool::seisminit(), stiffness_matrix(), and store_code_num_elem().

void give_node_coord1d ( vector x,
long  eid 
)

Function returns node coordinates of the appropriate element.

Parameters:
x - vector containing node coordinates (output)
eid - element id
Returns:
The function returns x-coordinates in the parameter x.

Created by JK, 19.7.2001

Definition at line 2049 of file mechtop.cpp.

References gtopology::give_node_coord1d(), and Gtm.

Referenced by elemparticle::inter_forces_1d(), elemparticle::stiffness_matrix_1d(), and barelc::volume_rhs_vector().

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 (output)
eid - element id
Returns:
The function returns 2D(x,y) coordinates in parameters x and y.

Created by JK, 19.7.2001

Definition at line 2066 of file mechtop.cpp.

References gtopology::give_node_coord2d(), and Gtm.

Referenced by q4plate::areaforces(), dstelem::areaforces(), dktelem::areaforces(), planeelemqt::compute_error(), planeelemqq::compute_error(), planeelemlt::compute_error(), planeelemlq::compute_error(), axisymlt::edgeload(), axisymlq::edgeload(), barel2d::eigstrain_forces(), planeelemlq::elchar(), planeelemlt::error(), dstelem::geom_matrix_shear(), barel2d::incr_internal_forces(), elemparticle::inter_forces_2d(), barel2d::internal_forces(), axisymqq::internal_forces(), axisymlq::internal_forces(), barel2d::ip_strains(), planeelemsubqt::ipcoord(), planeelemrotlt::ipcoord(), planeelemrotlq::ipcoord(), planeelemqt::ipcoord(), planeelemqq::ipcoord(), planeelemlt::ipcoord(), planeelemlq::ipcoord(), barelq2d::ipcoord(), barel2d::ipcoord(), axisymqq::ipcoord(), axisymlt::ipcoord(), axisymlq::ipcoord(), planeelemqt::ipcoordblock(), planeelemqq::ipcoordblock(), planeelemlt::ipcoordblock(), planeelemlq::ipcoordblock(), planeelemrotlt::ipvolume(), planeelemrotlq::ipvolume(), planeelemqt::ipvolume(), planeelemqq::ipvolume(), planeelemlt::ipvolume(), planeelemlq::ipvolume(), barel2d::ipvolume(), q4plate::load_matrix(), planeelemsubqt::load_matrix(), planeelemrotlt::load_matrix(), planeelemrotlq::load_matrix(), planeelemqt::load_matrix(), cctelem::load_matrix(), axisymqq::load_matrix(), axisymlt::load_matrix(), axisymlq::load_matrix(), ArgyrisTriangle::load_matrix(), quadrilatc::lower_cap_coup_matrix(), barelc::lower_cap_coup_matrix(), axiquadc::lower_cap_coup_matrix(), quadrilatc::lower_cond_coup_matrix(), barelc::lower_cond_coup_matrix(), axiquadc::lower_cond_coup_matrix(), plquadcontact::mainip_strains(), axisymqq::mainip_strains(), planeelemrotlt::mass_matrix(), planeelemqt::mass_matrix(), barel2d::mass_matrix(), axisymqq::mass_matrix(), axisymlt::mass_matrix(), axisymlq::mass_matrix(), axisymqq::nod_strains(), axisymlq::nod_strains(), planeelemrotlq::nod_strains_comp(), planeelemlt::nod_strains_comp(), planeelemlq::nod_strains_comp(), barelq2d::nod_strains_comp(), barel2d::nod_strains_comp(), axisymqq::nod_strains_comp(), axisymlt::nod_strains_comp(), axisymqq::nod_strains_old(), axisymqq::nod_stresses(), axisymqq::nod_stresses_comp(), planeelemsubqt::nodeforces(), planeelemqt::nodeforces(), planeelemlt::nodeforces(), planeelemlq::nodeforces(), dstelem::nodeforces(), dktelem::nodeforces(), axisymqq::nodeforces(), axisymlq::nodeforces(), barel2d::nonloc_internal_forces(), planeelemqt::ntdbr_vector(), planeelemqq::ntdbr_vector(), planeelemlt::ntdbr_vector(), planeelemlq::ntdbr_vector(), planeelemqt::ntn_matrix(), planeelemqq::ntn_matrix(), planeelemlt::ntn_matrix(), planeelemlq::ntn_matrix(), q4plate::res_eigstrain_forces(), planeelemsubqt::res_eigstrain_forces(), planeelemrotlt::res_eigstrain_forces(), planeelemrotlq::res_eigstrain_forces(), planeelemqt::res_eigstrain_forces(), planeelemqq::res_eigstrain_forces(), planeelemlt::res_eigstrain_forces(), planeelemlq::res_eigstrain_forces(), cctelem::res_eigstrain_forces(), barelq2d::res_eigstrain_forces(), axisymqq::res_eigstrain_forces(), axisymlt::res_eigstrain_forces(), axisymlq::res_eigstrain_forces(), ArgyrisTriangle::res_eigstrain_forces(), soilplatetr::res_incr_internal_forces(), q4plate::res_incr_internal_forces(), planeelemsubqt::res_incr_internal_forces(), planeelemrotlt::res_incr_internal_forces(), planeelemrotlq::res_incr_internal_forces(), planeelemqt::res_incr_internal_forces(), planeelemqq::res_incr_internal_forces(), planeelemlt::res_incr_internal_forces(), planeelemlq::res_incr_internal_forces(), dstelem::res_incr_internal_forces(), dktelem::res_incr_internal_forces(), cctelem::res_incr_internal_forces(), barelq2d::res_incr_internal_forces(), axisymqq::res_incr_internal_forces(), axisymlt::res_incr_internal_forces(), axisymlq::res_incr_internal_forces(), ArgyrisTriangle::res_incr_internal_forces(), soilplatetr::res_internal_forces(), q4plate::res_internal_forces(), plquadcontact::res_internal_forces(), planeelemsubqt::res_internal_forces(), planeelemrotlt::res_internal_forces(), planeelemrotlq::res_internal_forces(), planeelemqt::res_internal_forces(), planeelemqq::res_internal_forces(), planeelemlt::res_internal_forces(), planeelemlq::res_internal_forces(), dstelem::res_internal_forces(), dktelem::res_internal_forces(), cctelem::res_internal_forces(), barelq2d::res_internal_forces(), axisymqq::res_internal_forces(), axisymlt::res_internal_forces(), ArgyrisTriangle::res_internal_forces(), q4plate::res_ip_strains(), planeelemrotlt::res_ip_strains(), planeelemrotlq::res_ip_strains(), planeelemqq::res_ip_strains(), planeelemlt::res_ip_strains(), planeelemlq::res_ip_strains(), dstelem::res_ip_strains(), dktelem::res_ip_strains(), cctelem::res_ip_strains(), ArgyrisTriangle::res_ip_strains(), planeelemqq::res_load_matrix(), planeelemlt::res_load_matrix(), planeelemlq::res_load_matrix(), barel2d::res_load_matrix(), soilplatetr::res_mainip_strains(), soilplateq::res_mainip_strains(), planeelemsubqt::res_mainip_strains(), planeelemrotlt::res_mainip_strains(), planeelemqt::res_mainip_strains(), barelq2d::res_mainip_strains(), axisymlt::res_mainip_strains(), axisymlq::res_mainip_strains(), planeelemsubqt::res_mass_matrix(), planeelemrotlt::res_mass_matrix(), planeelemrotlq::res_mass_matrix(), planeelemqq::res_mass_matrix(), planeelemlt::res_mass_matrix(), planeelemlq::res_mass_matrix(), cctelem::res_mass_matrix(), barelq3d::res_mass_matrix(), barelq2d::res_mass_matrix(), barel3d::res_mass_matrix(), barel2d::res_mass_matrix(), ArgyrisTriangle::res_mass_matrix(), planeelemqq::res_nodeforces(), q4plate::res_nonloc_internal_forces(), planeelemsubqt::res_nonloc_internal_forces(), planeelemrotlt::res_nonloc_internal_forces(), planeelemrotlq::res_nonloc_internal_forces(), planeelemqt::res_nonloc_internal_forces(), planeelemqq::res_nonloc_internal_forces(), planeelemlt::res_nonloc_internal_forces(), planeelemlq::res_nonloc_internal_forces(), cctelem::res_nonloc_internal_forces(), barelq2d::res_nonloc_internal_forces(), axisymqq::res_nonloc_internal_forces(), axisymlt::res_nonloc_internal_forces(), axisymlq::res_nonloc_internal_forces(), ArgyrisTriangle::res_nonloc_internal_forces(), soilplatetr::res_stiffness_matrix(), soilplateq::res_stiffness_matrix(), q4plate::res_stiffness_matrix(), planeelemsubqt::res_stiffness_matrix(), planeelemrotlt::res_stiffness_matrix(), planeelemrotlq::res_stiffness_matrix(), planeelemqt::res_stiffness_matrix(), planeelemqq::res_stiffness_matrix(), planeelemlt::res_stiffness_matrix(), planeelemlq::res_stiffness_matrix(), dstelem::res_stiffness_matrix(), dktelem::res_stiffness_matrix(), cctelem::res_stiffness_matrix(), barelq2d::res_stiffness_matrix(), ArgyrisTriangle::res_stiffness_matrix(), argyrisplate::res_stiffness_matrix(), axisymqq::res_temp_forces(), axisymlq::res_temp_forces(), argyrisplate::shapefunctions(), plquadcontact::stiffness_matrix(), barel2d::stiffness_matrix(), axisymqq::stiffness_matrix(), axisymlt::stiffness_matrix(), axisymlq::stiffness_matrix(), elemparticle::stiffness_matrix_2d(), elemparticle::stiffness_matrix_3d(), axisymlt::stiffness_matrix_block(), axisymlq::stiffness_matrix_blocks(), dstelem::tran_matrix(), quadrilatc::upper_cap_coup_matrix(), barelc::upper_cap_coup_matrix(), axiquadc::upper_cap_coup_matrix(), quadrilatc::upper_cond_coup_matrix(), barelc::upper_cond_coup_matrix(), axiquadc::upper_cond_coup_matrix(), quadrilatc::upper_cond_coup_vector(), barelc::upper_cond_coup_vector(), axiquadc::upper_cond_coup_vector(), and barelc::upper_internal_forces().

void give_node_coord2dxz ( vector x,
vector z,
long  eid 
)
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 (output)
eid - element id
Returns:
The function returns 3D(x,y,z) coordinates in parameters x, y and z.

Created by JK, 19.7.2001

Definition at line 2100 of file mechtop.cpp.

References gtopology::give_node_coord3d(), and Gtm.

Referenced by quadtet::aver_strains(), quadhex::aver_strains(), linhexrot::aver_strains(), linhex::aver_strains(), lintet::bd_matrix(), lintet::compute_error(), lintet::dd_matrix(), lintetrot::eigstrain_forces(), lintet::eigstrain_forces(), linhex::eigstrain_forces(), barel3d::eigstrain_forces(), soilplateq::elem_integration(), lintet::elem_integration_quant(), linhex::gl_internal_forces(), linhexrot::gl_stiffness_matrix(), linhex::gl_stiffness_matrix(), linhexrot::gnl_internal_forces(), linhex::gnl_internal_forces(), linhexrot::gnl_stiffness_matrix(), linhex::gnl_stiffness_matrix(), barel3d::incr_internal_forces(), beamel3d::initstr_matrix(), elemparticle::inter_forces_3d(), soilbeam::internal_forces(), linhex::internal_forces(), beamgen3d::internal_forces(), beamel3d::internal_forces(), barel3d::internal_forces(), soilbeam::internal_forces1(), beamgen3d::internal_forces1(), linhex::internal_forces2(), lintet::ip_strains(), quadtet::ipcoord(), quadhex::ipcoord(), lintetrot::ipcoord(), lintet::ipcoord(), linhexrot::ipcoord(), linhex::ipcoord(), barelq3d::ipcoord(), barel3d::ipcoord(), quadtet::ipvolume(), quadhex::ipvolume(), lintetrot::ipvolume(), lintet::ipvolume(), linhexrot::ipvolume(), linhex::ipvolume(), barel3d::ipvolume(), quadtet::load_matrix(), quadhex::load_matrix(), lintetrot::load_matrix(), lintet::load_matrix(), linhexrot::load_matrix(), linhex::load_matrix(), beamgen3d::load_matrix(), beamel3d::load_matrix(), hexahedc::lower_cap_coup_matrix(), hexahedc::lower_cond_coup_matrix(), linhex::mainip_strains(), quadtet::mass_matrix(), quadhex::mass_matrix(), lintetrot::mass_matrix(), lintet::mass_matrix(), linhexrot::mass_matrix(), linhex::mass_matrix(), beamel3d::mass_matrix(), barel3d::mass_matrix(), quadtet::nod_strains_comp(), quadhex::nod_strains_comp(), linhexrot::nod_strains_comp(), linhex::nod_strains_comp(), barelq3d::nod_strains_comp(), shelltr::nod_strains_ip(), beamgen3d::nodal_displ(), beamel3d::nodal_displ(), beamgen3d::nodal_forces(), beamel3d::nodal_forces(), quadtet::node_forces_surf(), quadhex::node_forces_surf(), lintetrot::node_forces_surf(), lintet::node_forces_surf(), linhexrot::node_forces_surf(), linhex::node_forces_surf(), lintetrot::node_forces_surf_old(), lintet::node_forces_surf_old(), linhexrot::node_forces_surf_old(), linhex::node_forces_surf_old(), beamel3d::nodeforces(), linhex::nonloc_internal_forces(), barel3d::nonloc_internal_forces(), lintet::ntdbr_vector(), lintet::ntn_matrix(), soilplateq::res_eigstrain_forces(), quadtet::res_eigstrain_forces(), quadhex::res_eigstrain_forces(), lintetrot::res_eigstrain_forces(), lintet::res_eigstrain_forces(), linhexrot::res_eigstrain_forces(), linhex::res_eigstrain_forces(), barelq3d::res_eigstrain_forces(), soilplateq::res_incr_internal_forces(), quadtet::res_incr_internal_forces(), quadhex::res_incr_internal_forces(), lintetrot::res_incr_internal_forces(), lintet::res_incr_internal_forces(), linhexrot::res_incr_internal_forces(), linhex::res_incr_internal_forces(), barelq3d::res_incr_internal_forces(), soilplateq::res_internal_forces(), shelltr::res_internal_forces(), quadtet::res_internal_forces(), quadhex::res_internal_forces(), lintetrot::res_internal_forces(), lintet::res_internal_forces(), linhexrot::res_internal_forces(), barelq3d::res_internal_forces(), shelltr::res_ip_strains(), shellq::res_ip_strains(), quadtet::res_ip_strains(), quadhex::res_ip_strains(), lintetrot::res_ip_strains(), linhexrot::res_ip_strains(), linhex::res_ip_strains(), barel3d::res_ip_strains(), barelq3d::res_mainip_strains(), soilplateq::res_nonloc_internal_forces(), quadtet::res_nonloc_internal_forces(), quadhex::res_nonloc_internal_forces(), lintetrot::res_nonloc_internal_forces(), lintet::res_nonloc_internal_forces(), linhexrot::res_nonloc_internal_forces(), linhex::res_nonloc_internal_forces(), barelq3d::res_nonloc_internal_forces(), shelltr::res_stiffness_matrix(), shellq::res_stiffness_matrix(), barelq3d::res_stiffness_matrix(), barel3d::res_stiffness_matrix(), soilbeam::stiffness_matrix(), quadwedge::stiffness_matrix(), quadtet::stiffness_matrix(), quadhex::stiffness_matrix(), linwedge::stiffness_matrix(), lintetrot::stiffness_matrix(), lintet::stiffness_matrix(), linhex::stiffness_matrix(), beamgen3d::stiffness_matrix(), beamel3d::stiffness_matrix(), barel3d::stiffness_matrix(), beamel3d::stiffness_matrix_local(), beamel3d::stiffness_matrix_local2(), soilbeam::strains(), linhex::temp_forces(), hexahedc::upper_cap_coup_matrix(), hexahedc::upper_cond_coup_matrix(), hexahedc::upper_cond_coup_vector(), lintetrot::volumeip(), and lintet::volumeip().

long give_nsurf ( long  eid  ) 

Function returns number of surfaces of the element.

Parameters:
eid - element id
Returns:
The function returns number of element surfaces.

Created by JK, 29.4.2004

Definition at line 1345 of file mechtop.cpp.

References Dkt, dktel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, quadwedge::nsurf, linwedge::nsurf, linhexrot::nsurf, lintetrot::nsurf, quadhex::nsurf, linhex::nsurf, quadtet::nsurf, lintet::nsurf, dktelem::nsurf, print_err(), Qhex, Qtet, quadrhex, quadrtet, quadrwed, and Qwed.

Referenced by loadel::readsurfaceload().

strastrestate give_ssst ( long  eid,
long  bi 
)

Function returns number of layeres of layered element.

Parameters:
eid - element id
Returns:
The function returns number of layers,

Created by JK, 7.12.2002 The function returns stress/strain state indicator.

Parameters:
eid - element id
bi - block id
Return values:
bar - for 1D stress state
plbeam - for 2D beam stress state
spacebeam - for 3D beam stress state
planestress - for 2D plane stress state
planestrain - for 2D plane strain state
platek - plate stress state
plates - plate stress state
axisymm - for 2D axisymmetric stress state
shell - for 3D shell stress state
spacestress - for fully 3D space stress state

Created by JK, 7.12.2002

Definition at line 1723 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, elements, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, particleelem, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, planestress, platek, plates, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shell, shellqelem, shelltrelem, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, quadwedge::ssst, linwedge::ssst, linhexrot::ssst, lintetrot::ssst, quadhex::ssst, linhex::ssst, quadtet::ssst, lintet::ssst, axisymqq::ssst, axisymlq::ssst, axisymlt::ssst, soilplateq::ssst, soilplatetr::ssst, argyrisplate::ssst, q4plate::ssst, dstelem::ssst, dktelem::ssst, cctelem::ssst, plquadcontact::ssst, element::ssst, springel::ssst, beam2dspec::ssst, soilbeam::ssst, beamgen3d::ssst, beamel3d::ssst, beamel2d::ssst, barelq3d::ssst, barelq2d::ssst, barel3d::ssst, barel2d::ssst, subsoilbeam, subsoilplateq, and subsoilplatetr.

Referenced by alloc_nodes_arrays(), couptop::give_mssst(), mechmat::init_ip_1(), mechbclc::print_eigenstrains(), and mechbclc::read_eigenstrains().

long give_tncomp ( long  eid  ) 

Function returns number of strain/stress components. ???!!! candidate for removal, above function seems identical

Parameters:
eid - element id
Returns:
The function returns number of stress/strain components

Created by JK, 1.10.2008

Definition at line 1158 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, elemparticle::ndofe, particleelem, Pelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, quadwedge::tncomp, linwedge::tncomp, linhexrot::tncomp, lintetrot::tncomp, quadhex::tncomp, linhex::tncomp, quadtet::tncomp, lintet::tncomp, shellq::tncomp, shelltr::tncomp, axisymqq::tncomp, axisymlq::tncomp, axisymlt::tncomp, soilplateq::tncomp, soilplatetr::tncomp, argyrisplate::tncomp, q4plate::tncomp, dstelem::tncomp, dktelem::tncomp, cctelem::tncomp, plquadcontact::tncomp, planeelemsubqt::tncomp, planeelemrotlq::tncomp, planeelemqq::tncomp, planeelemlq::tncomp, planeelemrotlt::tncomp, planeelemqt::tncomp, planeelemlt::tncomp, springel::tncomp, soilbeam::tncomp, beam2dspec::tncomp, beamgen3d::tncomp, beamel3d::tncomp, beamel2d::tncomp, barelq3d::tncomp, barelq2d::tncomp, barel3d::tncomp, and barel2d::tncomp.

Referenced by aepoints::alloc(), alloc_nodes_arrays(), loadcase::assemble(), input_elem_eigstr(), loadcase::print(), print_default_dx(), pointoutm::print_stra(), print_strains_udp(), pointoutm::print_stre(), print_stresses_udp(), loadcase::read(), and wr_eigenstrains().

long give_tnip ( long  eid  ) 

Function returns total number of integration points of the given element.

Parameters:
eid - element id
Returns:
The function returns total number of integration points.

Created by JK, 21.6.2004

Definition at line 984 of file mechtop.cpp.

References Argtrpl, argyristr, Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, Bar2d, bar2d, Bar3d, bar3d, Barq2d, barq2d, Barq3d, barq3d, Beam2d, beam2d, beam2dsp, Beam3d, beam3d, Beam3dg, beamg3d, Cct, cctel, Dkt, dktel, Dst, dstel, give_elem_type(), Lhex, Lhexrot, linearhex, linearhexrot, lineartet, lineartetrot, linearwed, Ltet, Ltetrot, Lwed, particleelem, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, print_err(), Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Spbeam2d, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, quadwedge::tnip, linwedge::tnip, linhexrot::tnip, lintetrot::tnip, quadhex::tnip, linhex::tnip, quadtet::tnip, lintet::tnip, shellq::tnip, shelltr::tnip, axisymqq::tnip, axisymlq::tnip, axisymlt::tnip, soilplateq::tnip, soilplatetr::tnip, argyrisplate::tnip, q4plate::tnip, dstelem::tnip, dktelem::tnip, cctelem::tnip, plquadcontact::tnip, planeelemsubqt::tnip, planeelemrotlq::tnip, planeelemqq::tnip, planeelemlq::tnip, planeelemrotlt::tnip, planeelemqt::tnip, planeelemlt::tnip, springel::tnip, beam2dspec::tnip, beamgen3d::tnip, soilbeam::tnip, beamel3d::tnip, beamel2d::tnip, barelq3d::tnip, barelq2d::tnip, barel3d::tnip, and barel2d::tnip.

Referenced by approx_slip_surf(), clean_ip_new_elem(), detect_max_gamma(), detect_plast_ip(), mechmat::eigstrmod(), give_max_adjacip(), mechmat::initmaterialmodels(), intpointval(), intpointval2(), mefel_trfel_ip_mapping(), outdiagm::printval(), outdiagm::printval_forced(), mechbclc::read_eigenstrains(), stress_initdispl(), mechmat::totstrains(), trfel_mefel_by_nodes(), and mechmat::updateipval().

long give_totnip ( long  eid  ) 

Function returns total number of integration points on element.

Parameters:
eid - element id
Returns:
The function returns total number of integration points on element.

Created by Tomas Koudelka, 30.12.2001

Definition at line 1055 of file mechtop.cpp.

References elements, element::ipp, Mm, ne, and mechmat::tnip.

Referenced by export_gid_gauss_pt(), homogenization(), elemoutm::print_other(), elemoutm::print_stra(), elemoutm::print_stre(), mechmat::save_intpoints_bin(), mechmat::save_intpoints_txt(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), and write_gid_elem_type_vector().

double give_volume ( long  eid  ) 
void init_from_siftop ( siftop *  top  ) 

Function initializes mechtop class from the initialized siftop structure. The function is used in the preprocessors esspecially.

Parameters:
top - initialized siftop structure
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3675 of file mechtop.cpp.

References Bar2d, bar2d, Barq2d, barq2d, elements, gtopology::gelements, gelement::give_nne(), Gtm, element::idm, gtopology::leso, Lhex, linearhex, lineartet, linearwed, Ltet, Lwed, Mespr, ne, nn, gelement::nodes, nodes, Pelq, Pelt, Peqq, Peqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, print_err(), Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, element::te, and element::tm.

void initial_displ ( long  lcid  ) 

Function establishes vector of initial displacements.

Parameters:
lcid - load case id
Returns:
The function does not return anything.

Created by JK, 28.2.2006

Definition at line 3802 of file mechtop.cpp.

References vector::a, gelement::auxinf, eldispl(), elements, gtopology::gelements, give_ndofe(), Gtm, element::initdisplacement(), gtopology::leso, ne, and reallocv().

Referenced by newton_raphson_gparcoupl_lin().

void initial_displ_nodes ( long  lcid  ) 
long locsystems ( ivector nod  ) 

Function returns numbers of local coordinate systems at nodes.

Parameters:
nod - array containing node numbers
Returns:
The function returns id of local coordinate system in the parameter nod.

Created by JK,

Definition at line 2363 of file mechtop.cpp.

References ivector::n, nodes, and node::transf.

Referenced by linhex::gl_internal_forces(), beamel3d::initstr_matrix(), beamel2d::initstr_matrix(), beamel2d::initstr_matrix_expl(), beamgen3d::internal_forces(), beamel3d::internal_forces(), beamgen3d::internal_forces1(), lintet::ip_strains(), beamgen3d::load_matrix(), beamel3d::load_matrix(), planeelemsubqt::mainip_strains(), linhex::mainip_strains(), axisymqq::mainip_strains(), beamel3d::mass_matrix(), beamel2d::mass_matrix(), beamel2d::mass_matrix_expl(), beam2dspec::mass_matrix_expl(), axisymqq::nod_strains(), axisymlq::nod_strains(), quadtet::nod_strains_comp(), quadhex::nod_strains_comp(), planeelemrotlq::nod_strains_comp(), planeelemlt::nod_strains_comp(), planeelemlq::nod_strains_comp(), linhexrot::nod_strains_comp(), linhex::nod_strains_comp(), barelq3d::nod_strains_comp(), barelq2d::nod_strains_comp(), axisymqq::nod_strains_comp(), axisymlt::nod_strains_comp(), axisymqq::nod_strains_old(), axisymqq::nod_stresses(), axisymqq::nod_stresses_comp(), beamgen3d::nodal_displ(), beamel3d::nodal_displ(), beamel2d::nodal_displ(), beamgen3d::nodal_forces(), beamel3d::nodal_forces(), beamel2d::nodal_forces(), quadtet::node_forces_surf(), lintet::node_forces_surf(), linhex::node_forces_surf(), quadtet::res_eigstrain_forces(), quadhex::res_eigstrain_forces(), planeelemsubqt::res_eigstrain_forces(), planeelemrotlt::res_eigstrain_forces(), planeelemrotlq::res_eigstrain_forces(), planeelemqt::res_eigstrain_forces(), planeelemqq::res_eigstrain_forces(), planeelemlt::res_eigstrain_forces(), planeelemlq::res_eigstrain_forces(), lintetrot::res_eigstrain_forces(), lintet::res_eigstrain_forces(), linhexrot::res_eigstrain_forces(), linhex::res_eigstrain_forces(), cctelem::res_eigstrain_forces(), barelq3d::res_eigstrain_forces(), barelq2d::res_eigstrain_forces(), barel3d::res_eigstrain_forces(), barel2d::res_eigstrain_forces(), axisymqq::res_eigstrain_forces(), axisymlt::res_eigstrain_forces(), axisymlq::res_eigstrain_forces(), ArgyrisTriangle::res_eigstrain_forces(), soilplatetr::res_incr_internal_forces(), quadtet::res_incr_internal_forces(), quadhex::res_incr_internal_forces(), planeelemsubqt::res_incr_internal_forces(), planeelemrotlt::res_incr_internal_forces(), planeelemrotlq::res_incr_internal_forces(), planeelemqt::res_incr_internal_forces(), planeelemqq::res_incr_internal_forces(), planeelemlt::res_incr_internal_forces(), planeelemlq::res_incr_internal_forces(), lintetrot::res_incr_internal_forces(), lintet::res_incr_internal_forces(), linhexrot::res_incr_internal_forces(), linhex::res_incr_internal_forces(), dstelem::res_incr_internal_forces(), dktelem::res_incr_internal_forces(), cctelem::res_incr_internal_forces(), barelq3d::res_incr_internal_forces(), barelq2d::res_incr_internal_forces(), barel3d::res_incr_internal_forces(), barel2d::res_incr_internal_forces(), axisymqq::res_incr_internal_forces(), axisymlt::res_incr_internal_forces(), axisymlq::res_incr_internal_forces(), ArgyrisTriangle::res_incr_internal_forces(), soilplatetr::res_internal_forces(), shelltr::res_internal_forces(), quadtet::res_internal_forces(), quadhex::res_internal_forces(), plquadcontact::res_internal_forces(), planeelemsubqt::res_internal_forces(), planeelemrotlt::res_internal_forces(), planeelemrotlq::res_internal_forces(), planeelemqt::res_internal_forces(), planeelemqq::res_internal_forces(), planeelemlt::res_internal_forces(), planeelemlq::res_internal_forces(), lintetrot::res_internal_forces(), lintet::res_internal_forces(), linhexrot::res_internal_forces(), dstelem::res_internal_forces(), dktelem::res_internal_forces(), cctelem::res_internal_forces(), barelq3d::res_internal_forces(), barelq2d::res_internal_forces(), barel3d::res_internal_forces(), barel2d::res_internal_forces(), axisymqq::res_internal_forces(), axisymlt::res_internal_forces(), ArgyrisTriangle::res_internal_forces(), shelltr::res_ip_strains(), shellq::res_ip_strains(), quadtet::res_ip_strains(), quadhex::res_ip_strains(), q4plate::res_ip_strains(), planeelemrotlt::res_ip_strains(), planeelemrotlq::res_ip_strains(), planeelemqq::res_ip_strains(), planeelemlt::res_ip_strains(), planeelemlq::res_ip_strains(), lintetrot::res_ip_strains(), linhexrot::res_ip_strains(), linhex::res_ip_strains(), dstelem::res_ip_strains(), dktelem::res_ip_strains(), cctelem::res_ip_strains(), barel3d::res_ip_strains(), barel2d::res_ip_strains(), ArgyrisTriangle::res_ip_strains(), quadtet::res_load_matrix(), quadhex::res_load_matrix(), planeelemqq::res_load_matrix(), planeelemlt::res_load_matrix(), planeelemlq::res_load_matrix(), linhexrot::res_load_matrix(), linhex::res_load_matrix(), barel2d::res_load_matrix(), quadrilatc::res_mainip_strains(), barelc::res_mainip_strains(), soilplatetr::res_mainip_strains(), soilplateq::res_mainip_strains(), plquadcontact::res_mainip_strains(), planeelemrotlt::res_mainip_strains(), planeelemqt::res_mainip_strains(), beam2dspec::res_mainip_strains(), barelq3d::res_mainip_strains(), barelq2d::res_mainip_strains(), axisymlt::res_mainip_strains(), axisymlq::res_mainip_strains(), beam2dspec::res_mainip_stresses(), quadtet::res_mass_matrix(), quadhex::res_mass_matrix(), planeelemqq::res_mass_matrix(), planeelemlt::res_mass_matrix(), planeelemlq::res_mass_matrix(), linhexrot::res_mass_matrix(), linhex::res_mass_matrix(), barel3d::res_mass_matrix(), barel2d::res_mass_matrix(), quadtet::res_nonloc_internal_forces(), quadhex::res_nonloc_internal_forces(), planeelemsubqt::res_nonloc_internal_forces(), planeelemrotlt::res_nonloc_internal_forces(), planeelemrotlq::res_nonloc_internal_forces(), planeelemqt::res_nonloc_internal_forces(), planeelemqq::res_nonloc_internal_forces(), planeelemlt::res_nonloc_internal_forces(), planeelemlq::res_nonloc_internal_forces(), lintetrot::res_nonloc_internal_forces(), lintet::res_nonloc_internal_forces(), linhexrot::res_nonloc_internal_forces(), linhex::res_nonloc_internal_forces(), cctelem::res_nonloc_internal_forces(), barelq3d::res_nonloc_internal_forces(), barelq2d::res_nonloc_internal_forces(), barel3d::res_nonloc_internal_forces(), barel2d::res_nonloc_internal_forces(), axisymqq::res_nonloc_internal_forces(), axisymlt::res_nonloc_internal_forces(), axisymlq::res_nonloc_internal_forces(), ArgyrisTriangle::res_nonloc_internal_forces(), shelltr::res_stiffness_matrix(), shellq::res_stiffness_matrix(), quadtet::res_stiffness_matrix(), quadhex::res_stiffness_matrix(), q4plate::res_stiffness_matrix(), plquadcontact::res_stiffness_matrix(), planeelemsubqt::res_stiffness_matrix(), planeelemrotlt::res_stiffness_matrix(), planeelemrotlq::res_stiffness_matrix(), planeelemqt::res_stiffness_matrix(), planeelemqq::res_stiffness_matrix(), planeelemlt::res_stiffness_matrix(), planeelemlq::res_stiffness_matrix(), lintetrot::res_stiffness_matrix(), lintet::res_stiffness_matrix(), linhexrot::res_stiffness_matrix(), linhex::res_stiffness_matrix(), dstelem::res_stiffness_matrix(), dktelem::res_stiffness_matrix(), cctelem::res_stiffness_matrix(), barelq3d::res_stiffness_matrix(), barelq2d::res_stiffness_matrix(), barel3d::res_stiffness_matrix(), barel2d::res_stiffness_matrix(), axisymlt::res_stiffness_matrix(), ArgyrisTriangle::res_stiffness_matrix(), soilbeam::stiffness_matrix(), quadwedge::stiffness_matrix(), linwedge::stiffness_matrix(), linhex::stiffness_matrix(), beamgen3d::stiffness_matrix(), beamel3d::stiffness_matrix(), beamel2d::stiffness_matrix(), axisymqq::stiffness_matrix(), axisymlq::stiffness_matrix(), beamel2d::stiffness_matrix_expl(), beam2dspec::stiffness_matrix_expl(), soilbeam::strains(), and beam2dspec::strains().

long mesh_check ( void   ) 

The function checks correct assignment of time functions of particular nodes comparing to assignment of element time functions. It is used for growing structures especially.

Returns:
The function does not return anything.

Created by TKr,

Definition at line 3978 of file mechtop.cpp.

References gtopology::gelements, gtopology::gnodes, Gtm, Mt, gnode::ndofn, ne, gelement::nne, gelement::nodes, print_err(), gnode::tgf, and gelement::tgf.

Referenced by metr_init(), pmefel_init(), and pmetr_init().

void other_nodal_values ( ivector nod,
vector nx,
vector ny,
vector nz,
double *  lhs,
long  dim,
long  fi,
long  ncomp 
)

Function computes nodal values of other quantities with help of least square problem solution.

Parameters:
nodes - array containing nodes of element
nx,ny,nz - arrays containing natural coordinates of nodes
lhs - array of coefficients of linear functions (solution of least square problem)
dim - problem dimension
fi - position of first component in nodal strain array
ncomp - number of stored components
Returns:
The function does not return anything.

Created by JK, 10.5.2002

Definition at line 2605 of file mechtop.cpp.

References allocv(), destrv(), ivector::n, nodes, other, and node::storeother().

Referenced by planeelemrotlt::nod_others(), planeelemlt::nod_others(), and linhex::nod_others().

void print ( FILE *  out  ) 
void read ( XFILE in  ) 
void restore_nodforce ( double *  rhs,
long  n 
)

Function restores load vector from nodes to the array rhs. The function is used in problems with growing number of nodes and elements.

Parameters:
rhs - array of right hand side i.e. load vector (output)
n - total number of DOFs (dimension of array lhs)
Returns:
The function restores saved unknowns at nodes to the vector given by parameter lhs.

Created by TKo, 3.11.2014

Definition at line 3945 of file mechtop.cpp.

References ivector::a, gtopology::give_ndofn(), give_node_code_numbers(), Gtm, nn, nodeforce, nullv(), and reallocv().

Referenced by newton_raphson_gparcoupl_nonlin(), and solve_prob_constr_phases().

void restore_nodval ( double *  lhs,
long  n 
)

Function restores nodal unknowns from nodes to the array lhs. The function is used in problems with growing number of nodes and elements.

Parameters:
lhs - array of left hand side i.e. array of unknowns (output)
n - total number of DOFs (dimension of array lhs)
Returns:
The function restores saved unknowns at nodes to the vector given by parameter lhs.

Created by JK, 2.6.2006 Modified by TKo, 17.6.2013

Definition at line 3873 of file mechtop.cpp.

References ivector::a, gtopology::give_ndofn(), give_node_code_numbers(), Gtm, nn, nodes, node::nodval, nullv(), and reallocv().

Referenced by newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_prob_constr_phases(), and solve_prob_constr_phases().

void rhs_restore ( double *  rhs,
long  n 
)
void rhs_save ( double *  rhs  ) 
void save_elem_inidispl ( long  lcid,
long *  ifn 
)

function saves initial displacements on elements

Function returns nodal displacements. Function is intended for molecular computations.

Created by JK, 19.6.2005 Function establishes vector of initial displacements elements on the new part of structure. It is intended to be used for the growing structures.

Parameters:
lcid - load case id
ifn - array of interface nodes indicators
Returns:
The function does not return anything.

Created by TKo, 7.6.2013

Definition at line 3435 of file mechtop.cpp.

References vector::a, eldispl(), elements, give_elemnodes(), give_ndofe(), give_ndofn(), give_nne(), Gtm, element::initdisplacement(), gtopology::leso, ne, nodes, node::nodval, and reallocv().

Referenced by newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_prob_constr_phases(), and solve_prob_constr_phases().

void save_node_inidispl ( long  lcid,
double  time,
double  prev_time 
)

function saves initial displacements at nodes

The function stores attained nodal displacements at nodes that were free in previous time and they have prescribed displacement in the actual time. Additionally, there are cleaned displacements stored at nodes (nodval) for those nodes that were switched off in the acual time step. The function is intended to be used for the growing structures and it MUST be called BEFORE regeneration of code numbers.

Parameters:
lcid - load case id
time - actual time
prev_time - previous time
Returns:
The function does not return anything but it changes nodedispl array prospectively.

Created by Tomas Koudelka, 5.2013

Definition at line 3502 of file mechtop.cpp.

References vector::a, gfunct::getval_long(), gtopology::gf, give_ndofn(), gtopology::gnodes, Gtm, gtopology::lnso, memset(), nn, noddispl(), nodedispl, nodes, nodval(), reallocv(), and gnode::tgf.

Referenced by newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), and solve_prob_constr_phases().

void save_nodedispl_bc ( long  lcid,
double  time,
double  prev_time 
)
void save_nodforce ( double *  f  ) 

The function saves backup of attained nodal forces (i.e. components of load vector). It is used in problems with growing number of nodes and elements.

Parameters:
f - array of load vector components
Returns:
The function does not return anything but stores attained nodal displacements to nodval arrays at nodes.

Created by TKo, 3.11.2014

Definition at line 3909 of file mechtop.cpp.

References vector::a, give_ndofn(), Gtm, gtopology::lnso, vector::n, nn, nodeforce, and select_nodforce().

Referenced by newton_raphson_gparcoupl_nonlin(), and solve_prob_constr_phases().

void save_nodval ( long  lcid  ) 

The function saves backup of attained nodal values and it is used in problems with growing number of nodes and elements.

Returns:
The function does not return anything but stores attained nodal displacements to nodval arrays at nodes.

Created by Tomas Koudelka, 7.6.2013

Definition at line 3842 of file mechtop.cpp.

References give_ndofn(), Gtm, gtopology::lnso, nn, noddispl(), nodes, and nodval().

Referenced by newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_prob_constr_phases(), and solve_prob_constr_phases().

void searching_hanging_nodes ( FILE *  Out  ) 
void store_code_num_elem ( void   ) 

The function converts code numbers stored at nodes to code numbers stored on elements. It is used for mixed 2D mesh of plane elements, bars and springs.

Returns:
The function does not return anything.

Created by Tomas Koudelka - koudelka@cml.fsv.cvut.cz

Definition at line 2740 of file mechtop.cpp.

References allocv(), bar2d, barq2d, beam2d, gelement::cn, gelement::cne, gtopology::gelements, give_elem_type(), give_elemnodes(), give_ndofe(), gtopology::give_ndofn(), give_ndofn(), give_nne(), give_node_code_numbers(), Gtm, memset(), Mt, ne, nod, planeelementlq, planeelementlt, planeelementqq, planeelementqt, print_err(), spring_1, spring_2, spring_3, spring_4, spring_5, and spring_6.

void strain_nodal_values ( ivector nod,
vector nx,
vector ny,
vector nz,
double *  lhs,
long  dim,
long  fi,
long  ncomp,
long  lcid 
)

Function computes nodal values of strains with help of least square problem solution.

Parameters:
nodes - array containing nodes of element
nx,ny,nz - arrays containing natural coordinates of nodes
lhs - array of coefficients of linear functions (solution of least square problem)
dim - problem dimension
fi - position of first component in nodal strain array
ncomp - number of stored components
lcid - load case id
Returns:
The function does not return anything.

Created by JK, 10.5.2002

Definition at line 2507 of file mechtop.cpp.

References allocv(), destrv(), ivector::n, nodes, and node::storestrain().

Referenced by soilplateq::nod_strains(), planeelemsubqt::nod_strains(), planeelemrotlt::nod_strains(), planeelemqt::nod_strains(), linhex::nod_strains(), axisymlq::nod_strains(), and axisymqq::nod_strains_old().

void stress_nodal_values ( ivector nod,
vector nx,
vector ny,
vector nz,
double *  lhs,
long  dim,
long  fi,
long  ncomp,
long  lcid 
)

Function computes nodal values of stresses with help of least square problem solution.

Parameters:
nodes - array containing nodes of element
nx,ny,nz - arrays containing natural coordinates of nodes
lhs - array of coefficients of linear functions (solution of least square problem)
dim - problem dimension
fi - position of first component in nodal strain array
ncomp - number of stored components
lcid - load case id
Returns:
The function does not return anything.

Created by JK, 10.5.2002

Definition at line 2560 of file mechtop.cpp.

References allocv(), destrv(), ivector::n, nodes, and node::storestress().

Referenced by planeelemsubqt::nod_stresses(), planeelemrotlt::nod_stresses(), planeelemqt::nod_stresses(), linhex::nod_stresses(), axisymlq::nod_stresses(), and axisymqq::nod_stresses_old().


Member Data Documentation

long** adjip
double** dist
double domvol

domain volume

Definition at line 181 of file mechtop.h.

Referenced by loadcase::assemble(), mechtop(), and mefel_init().

array of instances of the class edgem

Definition at line 154 of file mechtop.h.

Referenced by alloc_edges().

array of instances of the class element

Definition at line 150 of file mechtop.h.

Referenced by adjacip(), soilplateq::allip_strains(), planeelemsubqt::allip_strains(), planeelemrotlt::allip_strains(), planeelemqt::allip_strains(), linhex::allip_strains(), axisymlq::allip_strains(), soilplatetr::allip_stresses(), soilplateq::allip_stresses(), planeelemsubqt::allip_stresses(), planeelemrotlt::allip_stresses(), planeelemqt::allip_stresses(), linhex::allip_stresses(), axisymlq::allip_stresses(), alloc_growstr(), alloc_nodes_arrays(), alloc_prep(), approx_slip_surf(), loadcase::assemble(), dloadcase::assemble(), quadtet::aver_strains(), quadhex::aver_strains(), linhexrot::aver_strains(), linhex::aver_strains(), lintet::bd_matrix(), soilplateq::compute_eigstress(), quadtet::compute_eigstress(), quadhex::compute_eigstress(), q4plate::compute_eigstress(), planeelemsubqt::compute_eigstress(), planeelemrotlt::compute_eigstress(), planeelemrotlq::compute_eigstress(), planeelemqt::compute_eigstress(), planeelemqq::compute_eigstress(), planeelemlt::compute_eigstress(), planeelemlq::compute_eigstress(), lintetrot::compute_eigstress(), lintet::compute_eigstress(), linhexrot::compute_eigstress(), linhex::compute_eigstress(), cctelem::compute_eigstress(), barelq3d::compute_eigstress(), barelq2d::compute_eigstress(), barel3d::compute_eigstress(), barel2d::compute_eigstress(), axisymqq::compute_eigstress(), axisymlt::compute_eigstress(), axisymlq::compute_eigstress(), ArgyrisTriangle::compute_eigstress(), planeelemqt::compute_error(), planeelemqq::compute_error(), planeelemlt::compute_error(), planeelemlq::compute_error(), lintet::compute_error(), soilplatetr::compute_nlstress(), soilplateq::compute_nlstress(), quadtet::compute_nlstress(), quadhex::compute_nlstress(), q4plate::compute_nlstress(), plquadcontact::compute_nlstress(), planeelemsubqt::compute_nlstress(), planeelemrotlt::compute_nlstress(), planeelemrotlq::compute_nlstress(), planeelemqt::compute_nlstress(), planeelemqq::compute_nlstress(), planeelemlt::compute_nlstress(), planeelemlq::compute_nlstress(), lintetrot::compute_nlstress(), lintet::compute_nlstress(), linhexrot::compute_nlstress(), linhex::compute_nlstress(), dstelem::compute_nlstress(), dktelem::compute_nlstress(), cctelem::compute_nlstress(), barelq3d::compute_nlstress(), barelq2d::compute_nlstress(), barel3d::compute_nlstress(), barel2d::compute_nlstress(), axisymqq::compute_nlstress(), axisymlt::compute_nlstress(), axisymlq::compute_nlstress(), ArgyrisTriangle::compute_nlstress(), soilplatetr::compute_nlstressincr(), soilplateq::compute_nlstressincr(), quadtet::compute_nlstressincr(), quadhex::compute_nlstressincr(), q4plate::compute_nlstressincr(), planeelemsubqt::compute_nlstressincr(), planeelemrotlt::compute_nlstressincr(), planeelemrotlq::compute_nlstressincr(), planeelemqt::compute_nlstressincr(), planeelemqq::compute_nlstressincr(), planeelemlt::compute_nlstressincr(), planeelemlq::compute_nlstressincr(), lintetrot::compute_nlstressincr(), lintet::compute_nlstressincr(), linhexrot::compute_nlstressincr(), linhex::compute_nlstressincr(), dstelem::compute_nlstressincr(), dktelem::compute_nlstressincr(), cctelem::compute_nlstressincr(), barelq3d::compute_nlstressincr(), barelq2d::compute_nlstressincr(), barel3d::compute_nlstressincr(), barel2d::compute_nlstressincr(), axisymqq::compute_nlstressincr(), axisymlt::compute_nlstressincr(), axisymlq::compute_nlstressincr(), ArgyrisTriangle::compute_nlstressincr(), soilplateq::compute_nonloc_nlstress(), quadtet::compute_nonloc_nlstress(), quadhex::compute_nonloc_nlstress(), q4plate::compute_nonloc_nlstress(), planeelemsubqt::compute_nonloc_nlstress(), planeelemrotlt::compute_nonloc_nlstress(), planeelemrotlq::compute_nonloc_nlstress(), planeelemqt::compute_nonloc_nlstress(), planeelemqq::compute_nonloc_nlstress(), planeelemlt::compute_nonloc_nlstress(), planeelemlq::compute_nonloc_nlstress(), lintetrot::compute_nonloc_nlstress(), lintet::compute_nonloc_nlstress(), linhexrot::compute_nonloc_nlstress(), linhex::compute_nonloc_nlstress(), cctelem::compute_nonloc_nlstress(), barelq3d::compute_nonloc_nlstress(), barelq2d::compute_nonloc_nlstress(), barel3d::compute_nonloc_nlstress(), barel2d::compute_nonloc_nlstress(), axisymqq::compute_nonloc_nlstress(), axisymlt::compute_nonloc_nlstress(), axisymlq::compute_nonloc_nlstress(), ArgyrisTriangle::compute_nonloc_nlstress(), loadcase::compute_reactions(), dloadcase::compute_reactions(), comreacelem(), lintet::dd_matrix(), detect_max_gamma(), detect_plast_ip(), dist(), lintetrot::eigstrain_forces(), lintet::eigstrain_forces(), linhex::eigstrain_forces(), mechmat::eigstrmod(), planeelemqt::elchar(), planeelemqq::elchar(), planeelemlt::elchar(), planeelemlq::elchar(), lintet::elchar(), eldispl(), soilplatetr::elem_integration(), soilplateq::elem_integration(), quadtet::elem_integration(), quadhex::elem_integration(), q4plate::elem_integration(), plquadcontact::elem_integration(), planeelemsubqt::elem_integration(), planeelemrotlt::elem_integration(), planeelemrotlq::elem_integration(), planeelemqt::elem_integration(), planeelemqq::elem_integration(), planeelemlt::elem_integration(), planeelemlq::elem_integration(), lintetrot::elem_integration(), lintet::elem_integration(), linhexrot::elem_integration(), linhex::elem_integration(), dstelem::elem_integration(), dktelem::elem_integration(), cctelem::elem_integration(), barelq3d::elem_integration(), barelq2d::elem_integration(), barel3d::elem_integration(), barel2d::elem_integration(), axisymqq::elem_integration(), axisymlt::elem_integration(), axisymlq::elem_integration(), ArgyrisTriangle::elem_integration(), lintet::elem_integration_quant(), soilplateq::elem_strains(), planeelemsubqt::elem_strains(), planeelemrotlt::elem_strains(), planeelemqt::elem_strains(), linhex::elem_strains(), axisymqq::elem_strains(), axisymlq::elem_strains(), planeelemsubqt::elem_stresses(), planeelemrotlt::elem_stresses(), planeelemqt::elem_stresses(), linhex::elem_stresses(), axisymqq::elem_stresses(), axisymlq::elem_stresses(), linhex::eleminit(), axisymqq::eleminit(), axisymlq::eleminit(), elemprescdisp(), elempresctemp(), elprdispl(), export_gid_2dmesh(), export_gid_gauss_pt(), export_gid_mesh(), linhex::find_extreme_strains(), barel3d::find_extreme_strains(), linhex::find_extreme_stresses(), barel3d::find_extreme_stresses(), argyrisplate::geom_matrix(), dstelem::geom_matrix_shear(), mechcrsec::give_area(), mechcrsec::give_density(), mechcrsec::give_densitye(), give_elem_type(), give_ipcoord_elem(), mechcrsec::give_layer_thicke(), mechcrsec::give_layer_zcoord(), give_max_adjacip(), give_maxncompo(), give_maxncompstr(), mechcrsec::give_mominer(), mechcrsec::give_num_lay(), mechcrsec::give_shearcoeff(), give_ssst(), mechcrsec::give_thicke(), mechcrsec::give_thickness(), give_totnip(), mechcrsec::give_vectorlcs(), linhex::gl_internal_forces(), planeelemlq::gl_ip_strains(), linhexrot::gl_ip_strains(), linhex::gl_ip_strains(), linhex::gl_mainip_strains(), planeelemlq::gl_stiffness_matrix(), linhexrot::gl_stiffness_matrix(), linhex::gl_stiffness_matrix(), planeelemlq::gnl_internal_forces(), linhexrot::gnl_internal_forces(), linhex::gnl_internal_forces(), planeelemlq::gnl_ip_strains(), linhexrot::gnl_ip_strains(), linhex::gnl_ip_strains(), linhex::gnl_mainip_strains(), planeelemlq::gnl_stiffness_matrix(), linhexrot::gnl_stiffness_matrix(), linhex::gnl_stiffness_matrix(), homogenization(), in_dist(), incr_internal_forces(), shelltr::inicipval(), shellq::inicipval(), quadtet::inicipval(), quadhex::inicipval(), q4plate::inicipval(), planeelemsubqt::inicipval(), planeelemrotlt::inicipval(), planeelemrotlq::inicipval(), planeelemqt::inicipval(), planeelemqq::inicipval(), planeelemlt::inicipval(), planeelemlq::inicipval(), lintetrot::inicipval(), lintet::inicipval(), linhexrot::inicipval(), linhex::inicipval(), dstelem::inicipval(), dktelem::inicipval(), cctelem::inicipval(), barelq3d::inicipval(), barelq2d::inicipval(), barel3d::inicipval(), barel2d::inicipval(), axisymqq::inicipval(), axisymlt::inicipval(), axisymlq::inicipval(), ArgyrisTriangle::inicipval(), init_from_siftop(), mechmat::init_ip_1(), initial_displ(), initial_stiffness_matrix(), mechmat::initmaterialmodels(), beamel3d::initstr_matrix(), beamel2d::initstr_matrix(), beamel2d::initstr_matrix_expl(), elemparticle::inter_forces_1d(), elemparticle::inter_forces_2d(), elemparticle::inter_forces_3d(), springel::internal_forces(), soilbeam::internal_forces(), linhex::internal_forces(), beamgen3d::internal_forces(), beamel3d::internal_forces(), beam2dspec::internal_forces(), axisymqq::internal_forces(), axisymlq::internal_forces(), soilbeam::internal_forces1(), beamgen3d::internal_forces1(), linhex::internal_forces2(), mechmat::intpnum(), mechmat::intpointinit(), intpointval(), barelq3d::intpointval(), barelq2d::intpointval(), barel3d::intpointval(), barel2d::intpointval(), intpointval2(), quadtet::ip_elast_stresses(), quadhex::ip_elast_stresses(), planeelemlt::ip_elast_stresses(), linhexrot::ip_elast_stresses(), linhex::ip_elast_stresses(), barel3d::ip_elast_stresses(), barel2d::ip_elast_stresses(), quadtet::ip_strains(), quadhex::ip_strains(), q4plate::ip_strains(), planeelemrotlt::ip_strains(), planeelemrotlq::ip_strains(), planeelemqq::ip_strains(), planeelemlt::ip_strains(), lintetrot::ip_strains(), lintet::ip_strains(), dstelem::ip_strains(), dktelem::ip_strains(), cctelem::ip_strains(), barel3d::ip_strains(), barel2d::ip_strains(), axisymlq::ip_strains(), ArgyrisTriangle::ip_strains(), quadtet::ip_stresses(), quadhex::ip_stresses(), lintet::ip_stresses(), linhexrot::ip_stresses(), linhex::ip_stresses(), barel3d::ip_stresses(), barel2d::ip_stresses(), quadtet::ipcoord(), quadhex::ipcoord(), planeelemsubqt::ipcoord(), planeelemrotlt::ipcoord(), planeelemrotlq::ipcoord(), planeelemqt::ipcoord(), planeelemqq::ipcoord(), planeelemlt::ipcoord(), planeelemlq::ipcoord(), lintetrot::ipcoord(), lintet::ipcoord(), linhexrot::ipcoord(), linhex::ipcoord(), barelq3d::ipcoord(), barelq2d::ipcoord(), barel3d::ipcoord(), barel2d::ipcoord(), axisymqq::ipcoord(), axisymlt::ipcoord(), axisymlq::ipcoord(), quadtet::ipvolume(), quadhex::ipvolume(), planeelemrotlt::ipvolume(), planeelemrotlq::ipvolume(), planeelemqt::ipvolume(), planeelemqq::ipvolume(), planeelemlt::ipvolume(), planeelemlq::ipvolume(), lintetrot::ipvolume(), lintet::ipvolume(), linhexrot::ipvolume(), linhex::ipvolume(), barel3d::ipvolume(), barel2d::ipvolume(), beamgen3d::load_matrix(), beamel3d::load_matrix(), loc_internal_forces(), soilplateq::local_values(), quadtet::local_values(), quadhex::local_values(), q4plate::local_values(), planeelemsubqt::local_values(), planeelemrotlt::local_values(), planeelemrotlq::local_values(), planeelemqt::local_values(), planeelemqq::local_values(), planeelemlt::local_values(), planeelemlq::local_values(), lintetrot::local_values(), lintet::local_values(), linhexrot::local_values(), linhex::local_values(), cctelem::local_values(), barelq3d::local_values(), barelq2d::local_values(), barel3d::local_values(), barel2d::local_values(), axisymqq::local_values(), axisymlt::local_values(), axisymlq::local_values(), ArgyrisTriangle::local_values(), soilplatetr::mainip_strains(), soilplateq::mainip_strains(), plquadcontact::mainip_strains(), planeelemsubqt::mainip_strains(), planeelemrotlt::mainip_strains(), planeelemqt::mainip_strains(), linhex::mainip_strains(), barelq3d::mainip_strains(), barelq2d::mainip_strains(), axisymqq::mainip_strains(), axisymlt::mainip_strains(), axisymlq::mainip_strains(), planeelemsubqt::mainip_stresses(), planeelemrotlt::mainip_stresses(), planeelemqt::mainip_stresses(), linhex::mainip_stresses(), barelq3d::mainip_stresses(), barelq2d::mainip_stresses(), axisymqq::mainip_stresses(), axisymlt::mainip_stresses(), axisymlq::mainip_stresses(), mass_matrix(), beamel2d::mass_matrix(), beamel2d::mass_matrix_expl(), beam2dspec::mass_matrix_expl(), planeelemlq::mechq_nodval(), barel2d::mechq_nodval(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), mechtop(), mefel_init(), hexahedc::mefel_metr(), mefel_trfel_ip_mapping(), quadtet::nod_eqother_ip(), quadhex::nod_eqother_ip(), planeelemlq::nod_eqother_ip(), lintetrot::nod_eqother_ip(), lintet::nod_eqother_ip(), linhexrot::nod_eqother_ip(), linhex::nod_eqother_ip(), barel3d::nod_eqother_ip(), barel2d::nod_eqother_ip(), planeelemrotlt::nod_others(), planeelemlt::nod_others(), linhex::nod_others(), soilplateq::nod_strains(), planeelemsubqt::nod_strains(), planeelemrotlt::nod_strains(), planeelemqt::nod_strains(), linhex::nod_strains(), axisymlq::nod_strains(), shelltr::nod_strains_ip(), quadtet::nod_strains_ip(), quadhex::nod_strains_ip(), q4plate::nod_strains_ip(), planeelemrotlt::nod_strains_ip(), planeelemrotlq::nod_strains_ip(), planeelemlt::nod_strains_ip(), planeelemlq::nod_strains_ip(), lintetrot::nod_strains_ip(), lintet::nod_strains_ip(), linhexrot::nod_strains_ip(), linhex::nod_strains_ip(), cctelem::nod_strains_ip(), barel3d::nod_strains_ip(), barel2d::nod_strains_ip(), ArgyrisTriangle::nod_strains_ip(), axisymqq::nod_strains_old(), planeelemsubqt::nod_stresses(), planeelemrotlt::nod_stresses(), planeelemqt::nod_stresses(), linhex::nod_stresses(), axisymqq::nod_stresses(), axisymlq::nod_stresses(), quadtet::nod_stresses_comp(), quadhex::nod_stresses_comp(), planeelemlq::nod_stresses_comp(), barelq3d::nod_stresses_comp(), barelq2d::nod_stresses_comp(), axisymqq::nod_stresses_comp(), quadtet::nod_stresses_ip(), quadhex::nod_stresses_ip(), q4plate::nod_stresses_ip(), planeelemrotlt::nod_stresses_ip(), planeelemrotlq::nod_stresses_ip(), planeelemlt::nod_stresses_ip(), planeelemlq::nod_stresses_ip(), lintetrot::nod_stresses_ip(), lintet::nod_stresses_ip(), linhexrot::nod_stresses_ip(), linhex::nod_stresses_ip(), cctelem::nod_stresses_ip(), barel3d::nod_stresses_ip(), barel2d::nod_stresses_ip(), ArgyrisTriangle::nod_stresses_ip(), axisymqq::nod_stresses_old(), beamgen3d::nodal_displ(), beamel3d::nodal_displ(), beamel2d::nodal_displ(), nodal_eigstrain_forces(), beamgen3d::nodal_forces(), beamel3d::nodal_forces(), beamel2d::nodal_forces(), nodal_pore_press_forces(), beamel2d::nodeforces(), planeelemqq::nodipnum(), linhex::nodipnum(), barelq3d::nodipnum(), barelq2d::nodipnum(), axisymqq::nodipnum(), axisymlt::nodipnum(), axisymlq::nodipnum(), linhex::nonloc_internal_forces(), nonloc_internal_forces(), planeelemqt::ntdbr_vector(), planeelemqq::ntdbr_vector(), planeelemlt::ntdbr_vector(), planeelemlq::ntdbr_vector(), lintet::ntdbr_vector(), print_default_dx(), outdriverm::print_default_vtk(), mechbclc::print_eigenstrains(), pointoutm::print_other(), elemoutm::print_other(), elemoutm::print_stra(), elemoutm::print_stre(), adaptivity::print_test(), outdiagm::printval(), outdiagm::printval_forced(), read(), mechbclc::read_eigenstrains(), planeelemlt::res_ip_stresses(), beam2dspec::res_mainip_strains(), beam2dspec::res_mainip_stresses(), save_elem_inidispl(), mechmat::save_intpoints_bin(), mechmat::save_intpoints_txt(), searching_hanging_nodes(), argyrisplate::shapefunctions(), solver_restore_binary_multiple(), solver_restore_binary_single(), solver_restore_text_multiple(), solver_restore_text_single(), solver_save_binary_multiple(), solver_save_binary_single(), solver_save_text_multiple(), solver_save_text_single(), adaptivity::spr(), springel::stiffness_matrix(), soilplatetr::stiffness_matrix(), soilplateq::stiffness_matrix(), soilbeam::stiffness_matrix(), quadwedge::stiffness_matrix(), quadtet::stiffness_matrix(), quadhex::stiffness_matrix(), q4plate::stiffness_matrix(), plquadcontact::stiffness_matrix(), planeelemsubqt::stiffness_matrix(), planeelemrotlt::stiffness_matrix(), planeelemrotlq::stiffness_matrix(), planeelemqt::stiffness_matrix(), planeelemqq::stiffness_matrix(), planeelemlt::stiffness_matrix(), linwedge::stiffness_matrix(), lintetrot::stiffness_matrix(), lintet::stiffness_matrix(), linhex::stiffness_matrix(), stiffness_matrix(), dstelem::stiffness_matrix(), dktelem::stiffness_matrix(), cctelem::stiffness_matrix(), beamgen3d::stiffness_matrix(), beamel3d::stiffness_matrix(), beamel2d::stiffness_matrix(), barelq3d::stiffness_matrix(), barelq2d::stiffness_matrix(), barel3d::stiffness_matrix(), barel2d::stiffness_matrix(), axisymqq::stiffness_matrix(), axisymlt::stiffness_matrix(), axisymlq::stiffness_matrix(), ArgyrisTriangle::stiffness_matrix(), argyrisplate::stiffness_matrix(), elemparticle::stiffness_matrix_1d(), elemparticle::stiffness_matrix_2d(), elemparticle::stiffness_matrix_3d(), axisymlt::stiffness_matrix_block(), axisymlq::stiffness_matrix_blocks(), beamel2d::stiffness_matrix_expl(), beam2dspec::stiffness_matrix_expl(), beamel2d::stiffness_matrix_expl_local(), beamel3d::stiffness_matrix_local(), beamel3d::stiffness_matrix_local2(), springel::strains(), soilbeam::strains(), beam2dspec::strains(), stress_initdispl(), springel::stresses(), beam2dspec::stresses(), linhex::temp_forces(), axisymqq::temp_forces(), axisymlq::temp_forces(), linhex::temperaturestrains(), mechmat::totstrains(), dstelem::tran_matrix(), trfel_mefel_by_nodes(), hexahedc::trfel_metr(), mechmat::updateipval(), lintetrot::volumeip(), lintet::volumeip(), write_elements(), write_elemscalar(), write_gid_2delement(), write_gid_contact_element(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), write_gid_elem_type_vector(), write_gid_element(), and ~mechtop().

array of instances of the class endnodem

Definition at line 152 of file mechtop.h.

Referenced by alloc_enodes().

long max_ndofn

maximum number of dofs at node

Definition at line 145 of file mechtop.h.

Referenced by give_maxndofn(), and mechtop().

long* nadjip

array of numbers of adjacent integration points this array must be here, not in gtopology because it requires information about materials which are stored on integration points

Definition at line 159 of file mechtop.h.

Referenced by adjacip(), nonlocplast::average(), nonlocmicroM4::average(), nonlocdamg::average(), dist(), in_dist(), mechtop(), restore_adjacip_bin(), restore_adjacip_txt(), save_adjacip_bin(), save_adjacip_txt(), and ~mechtop().

long ncn

number of constrained nodes

Definition at line 136 of file mechtop.h.

Referenced by mechtop(), and read().

long ne

number of elements

Definition at line 138 of file mechtop.h.

Referenced by aepoints::alloc(), alloc_growstr(), alloc_nodes_arrays(), approx_slip_surf(), arclengthrv(), loadcase::assemble(), dloadcase::assemble(), clean_ip_new_elem(), mechmat::compute_averstrains(), compute_ipstrains(), compute_ipstresses(), compute_nodeothers(), compute_nodestrains(), compute_nodestresses(), loadcase::compute_reactions(), dloadcase::compute_reactions(), computestresses(), comreacelem(), define_meaning(), detect_max_gamma(), detect_plastic_zones(), mechmat::eigstrmod(), elemprescdisp(), elempresctemp(), export_gid_2dmesh(), export_gid_gauss_pt(), export_gid_mesh(), femplast_epressure(), find_extreme_ipstresses(), give_domain_vol(), give_max_adjacip(), give_maxncompo(), give_maxncompstr(), give_totnip(), homogenization(), incr_internal_forces(), mechbclc::inicipval(), aepoints::init(), init_from_siftop(), mechmat::init_ip_1(), initial_displ(), initial_stiffness_matrix(), mechmat::initmaterialmodels(), mechmat::intpnum(), mechmat::intpointinit(), intpointval(), intpointval2(), ipvolume(), loc_internal_forces(), mass_matrix(), mechtop(), mefel_trfel_ip_mapping(), mesh_check(), nodal_eigstrain_forces(), nodal_pore_press_forces(), nodestrains_comp(), nonloc_internal_forces(), outdriverm::print_default_vtk(), mechbclc::print_eigenstrains(), pointoutm::print_other(), elemoutm::print_other(), pointoutm::print_stra(), elemoutm::print_stra(), pointoutm::print_stre(), elemoutm::print_stre(), adaptivity::print_test(), outdiagm::printval(), outdiagm::printval_forced(), read(), loadel::read(), aepoints::read(), mechbclc::read_eigenstrains(), adaptivity::run(), save_elem_inidispl(), mechmat::save_intpoints_bin(), mechmat::save_intpoints_txt(), searching_hanging_nodes(), solver_restore_binary_multiple(), solver_restore_binary_single(), solver_restore_text_multiple(), solver_restore_text_single(), solver_save_binary_multiple(), solver_save_binary_single(), solver_save_text_multiple(), solver_save_text_single(), stiffness_matrix(), store_code_num_elem(), stress_initdispl(), mechmat::totstrains(), trfel_mefel_by_nodes(), mechmat::updateipval(), write_elements(), write_elemscalar(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), write_gid_elem_type_vector(), z2_smoothing::z2_smoothing(), and zero_order_matrix().

long nln

number of layered elements

number of layered nodes

Definition at line 142 of file mechtop.h.

Referenced by gencodnumlagrmult(), mechtop(), print_multipliers(), read(), and stiffness_matrix().

long nn

number of nodes

Definition at line 134 of file mechtop.h.

Referenced by alloc_growstr(), alloc_meaning(), approximation_humid(), approximation_inittemper(), approximation_temper(), arclengthrv(), clean_nodes(), mechbclc::comp_sum(), mechbclc::comp_sum_pdreact(), mechbclc::comp_sum_react(), planeelemqt::compute_error(), planeelemqq::compute_error(), planeelemlt::compute_error(), planeelemlq::compute_error(), lintet::compute_error(), compute_nodeothers(), compute_nodestrains(), compute_nodestresses(), loadcase::compute_reactions(), dloadcase::compute_reactions(), comreacnod(), general_epressure_varsup(), give_area(), give_length(), give_maxncompo(), give_maxncompstr(), give_maxndofn(), give_volume(), homogenization(), init_from_siftop(), init_trfel_mefel(), lhsrhs::initcond(), local_global_displ_transf(), mechtop(), couptop::mesh_check(), newton_raphson_gparcoupl_nonlin(), nodestrains_comp(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_solve_layered_linear_statics(), par_solve_linear_statics(), outdriverm::print_default_vtk(), nodeoutm::print_disp(), print_displacements(), print_eigenvect_martin(), print_intforces(), nodeoutm::print_other(), nodeoutm::print_react(), print_reactions(), nodeoutm::print_stra(), print_strains_nodes(), nodeoutm::print_stre(), print_stresses_nodes(), read(), loadn::read(), loadcase::read(), dloadn::read(), mechbclc::readinic(), restore_nodforce(), restore_nodval(), adaptivity::run(), save_node_inidispl(), save_nodforce(), save_nodval(), seismtool::seisminit(), solve_linear_floating_subdomains_old(), solve_prob_constr_phases(), solver_restore_binary_multiple(), solver_restore_binary_single(), solver_restore_text_multiple(), solver_restore_text_single(), solver_save_binary_multiple(), solver_save_binary_single(), solver_save_text_multiple(), solver_save_text_single(), loadcase::tempercontrib(), trfel_mefel(), write_deflection(), write_displ(), write_elemscalar(), write_gid_displ(), write_gid_nforces(), write_gid_nodes(), write_gid_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), write_nforces(), write_nodscalar(), outdriverm::write_vtk_unkn(), z2_smoothing::z2_smoothing(), and ~mechtop().

long* nodebcid

adjacent elements for each edge on given domain

array of node numbers with prescribed displacements (i.e. supports)

Definition at line 172 of file mechtop.h.

double** nodedispl
double** nodeforce

array containing nodal forces - used in growing problems

Definition at line 178 of file mechtop.h.

Referenced by alloc_growstr(), mechtop(), restore_nodforce(), save_nodforce(), and ~mechtop().

array of instances of the class node

Definition at line 148 of file mechtop.h.

Referenced by alloc_growstr(), alloc_meaning(), alloc_nodes_arrays(), alloc_prep(), soilplateq::appstrain(), planeelemsubqt::appstrain(), planeelemrotlt::appstrain(), planeelemqt::appstrain(), linhexrot::appstrain(), linhex::appstrain(), axisymqq::appstrain(), axisymlq::appstrain(), planeelemsubqt::appstress(), planeelemrotlt::appstress(), planeelemqt::appstress(), linhexrot::appstress(), linhex::appstress(), axisymqq::appstress(), axisymlt::appstress(), axisymlq::appstress(), clean_nodes(), mechbclc::comp_sum_pdreact(), mechbclc::comp_sum_react(), compute_nodeothers(), compute_nodestrains(), compute_nodestresses(), loadcase::compute_reactions(), dloadcase::compute_reactions(), comreacelem(), comreacnod(), constr_matrix(), planeelemlq::define_meaning(), beamel3d::define_meaning(), beamel2d::define_meaning(), mechcrsec::give_densityn(), give_maxncompo(), give_maxncompstr(), give_nodal_other(), give_nodal_strain(), give_nodal_stress(), mechcrsec::give_thickn(), init_from_siftop(), local_global_displ_transf(), locsystems(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), mechtop(), quadtet::nod_eqother_ip(), quadhex::nod_eqother_ip(), planeelemqq::nod_eqother_ip(), planeelemlq::nod_eqother_ip(), lintetrot::nod_eqother_ip(), lintet::nod_eqother_ip(), linhexrot::nod_eqother_ip(), linhex::nod_eqother_ip(), barelq3d::nod_eqother_ip(), barelq2d::nod_eqother_ip(), barel3d::nod_eqother_ip(), barel2d::nod_eqother_ip(), axisymqq::nod_eqother_ip(), axisymlt::nod_eqother_ip(), axisymlq::nod_eqother_ip(), axisymqq::nod_strains(), planeelemlt::nod_strains_comp(), planeelemlq::nod_strains_comp(), barelq2d::nod_strains_comp(), barel2d::nod_strains_comp(), axisymqq::nod_strains_comp(), axisymlt::nod_strains_comp(), shelltr::nod_strains_ip(), quadtet::nod_strains_ip(), quadhex::nod_strains_ip(), q4plate::nod_strains_ip(), planeelemrotlt::nod_strains_ip(), planeelemrotlq::nod_strains_ip(), planeelemqq::nod_strains_ip(), planeelemlt::nod_strains_ip(), planeelemlq::nod_strains_ip(), lintetrot::nod_strains_ip(), lintet::nod_strains_ip(), linhexrot::nod_strains_ip(), linhex::nod_strains_ip(), cctelem::nod_strains_ip(), barelq3d::nod_strains_ip(), barelq2d::nod_strains_ip(), barel3d::nod_strains_ip(), barel2d::nod_strains_ip(), axisymqq::nod_strains_ip(), axisymlt::nod_strains_ip(), axisymlq::nod_strains_ip(), ArgyrisTriangle::nod_strains_ip(), axisymqq::nod_stresses(), axisymqq::nod_stresses_comp(), quadtet::nod_stresses_ip(), quadhex::nod_stresses_ip(), q4plate::nod_stresses_ip(), planeelemrotlt::nod_stresses_ip(), planeelemrotlq::nod_stresses_ip(), planeelemqq::nod_stresses_ip(), planeelemlt::nod_stresses_ip(), planeelemlq::nod_stresses_ip(), lintetrot::nod_stresses_ip(), lintet::nod_stresses_ip(), linhexrot::nod_stresses_ip(), linhex::nod_stresses_ip(), cctelem::nod_stresses_ip(), barelq3d::nod_stresses_ip(), barelq2d::nod_stresses_ip(), barel3d::nod_stresses_ip(), barel2d::nod_stresses_ip(), axisymqq::nod_stresses_ip(), axisymlt::nod_stresses_ip(), axisymlq::nod_stresses_ip(), ArgyrisTriangle::nod_stresses_ip(), nodestrains_comp(), other_nodal_values(), par_solve_layered_linear_statics(), par_solve_linear_statics(), print_default_dx(), nodeoutm::print_other(), outdiagm::print_others(), nodeoutm::print_react(), outdiagm::print_reactions(), print_reactions(), nodeoutm::print_stra(), outdiagm::print_strains(), print_strains_nodes(), nodeoutm::print_stre(), outdiagm::print_stresses(), print_stresses_nodes(), read(), restore_nodval(), save_elem_inidispl(), save_node_inidispl(), save_nodval(), seismtool::seisminit(), select_nodforce(), strain_nodal_values(), stress_nodal_values(), barelc::transf_matrix(), soilplatetr::transf_matrix(), soilbeam::transf_matrix(), shelltr::transf_matrix(), shellq::transf_matrix(), quadwedge::transf_matrix(), quadtet::transf_matrix(), quadhex::transf_matrix(), plquadcontact::transf_matrix(), planeelemsubqt::transf_matrix(), planeelemrotlt::transf_matrix(), planeelemrotlq::transf_matrix(), planeelemqt::transf_matrix(), planeelemqq::transf_matrix(), planeelemlt::transf_matrix(), planeelemlq::transf_matrix(), linwedge::transf_matrix(), lintetrot::transf_matrix(), lintet::transf_matrix(), linhexrot::transf_matrix(), linhex::transf_matrix(), dstelem::transf_matrix(), dktelem::transf_matrix(), cctelem::transf_matrix(), beamgen3d::transf_matrix(), beamel3d::transf_matrix(), beamel2d::transf_matrix(), beam2dspec::transf_matrix(), barelq3d::transf_matrix(), barelq2d::transf_matrix(), barel3d::transf_matrix(), barel2d::transf_matrix(), axisymqq::transf_matrix(), axisymlt::transf_matrix(), axisymlq::transf_matrix(), ArgyrisTriangle::transf_matrix(), soilplateq::transfmat(), q4plate::transfmat(), write_gid_displ(), write_gid_nforces(), write_gid_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), write_nforces(), write_nodscalar(), outdriverm::write_vtk_unkn(), and ~mechtop().

long tned

array of adjacent elements for each element

total number of edges on domain

Definition at line 167 of file mechtop.h.


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

Generated by  doxygen 1.6.2