barel3d Class Reference

#include <barel3d.h>

List of all members.

Public Member Functions

double approx (double xi, vector &nodval)
 barel3d (void)
void compute_eigstress (long lcid, long eid, long ri, long ci)
void compute_nlstress (long lcid, long eid, long ri, long ci)
void compute_nlstressincr (long lcid, long eid, long ri, long ci)
void compute_nonloc_nlstress (long lcid, long eid, long ri, long ci)
void dirvect (vector &s, double &l, vector &x, vector &y, vector &z)
void eigstrain_forces (long lcid, long eid, long ri, long ci, vector &nfor)
void elem_integration (integratedquant iq, long lcid, long eid, long ri, long ci, vector &nv, vector &x, vector &y, vector &z)
void find_extreme_strains (vector &min, vector &max, long lcid, long eid)
void find_extreme_stresses (vector &min, vector &max, long lcid, long eid)
void geom_matrix (matrix &gm, vector &s, double l)
void giveloccoord (vector &x, vector &y, vector &lx)
void incr_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor)
void inicipval (long eid, long ri, long ci, matrix &nodval, inictype *ictn)
void internal_forces (long lcid, long eid, long ri, long ci, vector &ifor)
void intpointval (long eid, vector &nodval, vector &ipval)
void ip_elast_stresses (long lcid, long eid, long ri, long ci)
void ip_strains (long lcid, long eid, long ri, long ci, vector &x, vector &r, double l)
void ip_stresses (long lcid, long eid, long ri, long ci)
void ipcoord (long eid, long ipp, long ri, long ci, vector &coord)
void ipvolume (long eid, long ri, long ci)
void local_values (long lcid, long eid, long ri, long ci)
void mass_matrix (long eid, matrix &mm)
void nod_eqother_ip (long lcid, long eid, long ri, long ci)
void nod_strains_ip (long lcid, long eid, long ri, long ci)
void nod_stresses_ip (long lcid, long eid, long ri, long ci)
void nonloc_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor)
void res_eigstrain_forces (long lcid, long eid, vector &nfor)
void res_incr_internal_forces (long lcid, long eid, vector &ifor)
void res_internal_forces (long lcid, long eid, vector &ifor)
void res_ip_strains (long lcid, long eid)
void res_ip_stresses (long lcid, long eid)
void res_mass_matrix (long eid, matrix &mm)
void res_nonloc_internal_forces (long lcid, long eid, vector &ifor)
void res_stiffness_matrix (long eid, matrix &sm)
void stiffness_matrix (long eid, long ri, long ci, vector &s, matrix &sm)
void strains (long lcid, long eid, long ri, long ci)
void stresses (long lcid, long eid, long ri, long ci)
void tran_mat (vector &x, matrix &tmat, vector &gx, vector &gy)
void transf_matrix (ivector &nodes, matrix &tmat)
 ~barel3d (void)

Public Attributes

long * cncomp
 array containing cumulative numbers of components of stress and strain tensors
long intordmm
 order of integration of mass matrix
long ** intordsm
 order of integration of stiffness matrix
long napfun
 number of approximated functions on the element
long nb
 number of blocks
long * ncomp
 array containing numbers of components of stress and strain tensors
long ndofe
 number of DOFs on the element
long ** nip
 array of numbers of integration points in blocks
long nne
 number of nodes on one element
strastrestate ssst
 stress/strain state
long tncomp
 total number of components of the strain and stress tensors
long tnip
 total number of integration point

Detailed Description

class barel3d defines onedimensional bar element with linear approximation functions

JK, 27.9.2005

Definition at line 15 of file barel3d.h.


Constructor & Destructor Documentation

barel3d ( void   ) 

JK, 27.9.2005

Definition at line 16 of file barel3d.cpp.

References bar, cncomp, intordsm, napfun, nb, ncomp, ndofe, nip, nne, ssst, tncomp, and tnip.

~barel3d ( void   ) 

Definition at line 63 of file barel3d.cpp.

References cncomp, intordsm, nb, ncomp, and nip.


Member Function Documentation

double approx ( double  xi,
vector nodval 
)

Function approximates function defined by nodal values.

Parameters:
xi - coordinate on element
nodval - nodal values
Return values:
Function returns approximated value for the given natural coordinate xi.

JK, 27.9.2005

Definition at line 144 of file barel3d.cpp.

References vector::a, bf_lin_1d(), f, nne, and scprd().

Referenced by inicipval(), intpointval(), and ipcoord().

void compute_eigstress ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes correct stresses caused by eigenstrains at integration points on element.

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

JK, 1.12.2006

Definition at line 1395 of file barel3d.cpp.

References mechmat::eigenstresses(), mechtop::elements, mechmat::giveeigstrain(), intpoints::grmid(), mechmat::ip, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), mechmat::storeeigstress(), and tncomp.

Referenced by eigstrain_forces().

void compute_nlstress ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes correct stresses at integration points on element.

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

JK, 1.12.2006

Definition at line 1301 of file barel3d.cpp.

References mechmat::computenlstresses(), mechtop::elements, element::ipp, Mm, Mp, Mt, and probdesc::strcomp.

Referenced by elem_nlstresses(), and internal_forces().

void compute_nlstressincr ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes correct stress increments at integration points on element.

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

TKo, 7.2008

Definition at line 1372 of file barel3d.cpp.

References mechmat::computenlstressesincr(), mechtop::elements, element::ipp, Mm, Mp, Mt, and probdesc::strcomp.

Referenced by incr_internal_forces().

void compute_nonloc_nlstress ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes nonlocal correct stresses at integration points on element.

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

JK, 1.12.2006

Definition at line 1349 of file barel3d.cpp.

References mechmat::compnonloc_nlstresses(), mechtop::elements, element::ipp, Mm, Mp, Mt, and probdesc::strcomp.

Referenced by nonloc_internal_forces().

void dirvect ( vector s,
double &  l,
vector x,
vector y,
vector z 
)

Function computes direction vector.

Parameters:
s - direction vector
x,y,z - vectors of nodal coordinates
Return values:
Function returns direction vector s.

JK, 28.9.2005

Definition at line 92 of file barel3d.cpp.

Referenced by elem_integration(), res_ip_strains(), and res_stiffness_matrix().

void eigstrain_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector nfor 
)

Function computes nodal forces caused by temperature changes.

Parameters:
eid - element id
ri,ci - row and column indices
nfor - array containing nodal forces
Return values:
Function returns nodal values of forces caused by eigenstrains in vector nfor.

30.11.2002, JK 7.2008, TKo

Definition at line 1137 of file barel3d.cpp.

References compute_eigstress(), probdesc::eigstrcomp, eigstress, elem_integration(), mechtop::give_node_coord3d(), Mp, Mt, and nne.

Referenced by res_eigstrain_forces().

void elem_integration ( integratedquant  iq,
long  lcid,
long  eid,
long  ri,
long  ci,
vector nv,
vector x,
vector y,
vector z 
)

Function integrates selected quantity over the finite element.

Parameters:
iq - type of integrated quantity (see alias.h)
lcid - number of load case
eid - element id
ri,ci - row and column indices
nv - nodal values
x,y,z - node coordinates
Return values:
Function returns integrated values at nodes in vector nv.

JK, 1.12.2006

Definition at line 1437 of file barel3d.cpp.

References addv(), cmulv(), cncomp, dirvect(), mechtop::elements, geom_matrix(), mechcrsec::give_area(), mechmat::givequantity(), element::ipp, Mc, Mm, Mt, mtxv(), ndofe, nne, nodes, print_err(), and tncomp.

Referenced by eigstrain_forces(), incr_internal_forces(), internal_forces(), and nonloc_internal_forces().

void find_extreme_strains ( vector min,
vector max,
long  lcid,
long  eid 
)

Function searches the minimum and maximum strain in integration points

Parameters:
min - the minimum strain
max - the maximum strain
lcid - load case id
eid - element id
Return values:
Function returns integrated values at nodes in vector nv.

JK, 16. 11. 2012

Definition at line 1481 of file barel3d.cpp.

References mechtop::elements, mechmat::givestrain(), element::ipp, Mm, Mt, and tncomp.

void find_extreme_stresses ( vector min,
vector max,
long  lcid,
long  eid 
)

Function searches the minimum and maximum stresses in integration points

Parameters:
min - the minimum stress
max - the maximum stress
lcid - load case id
eid - element id

JK, 16. 11. 2012

Definition at line 1512 of file barel3d.cpp.

References mechtop::elements, mechmat::givestress(), element::ipp, Mm, Mt, and tncomp.

Referenced by find_extreme_ipstresses().

void geom_matrix ( matrix gm,
vector s,
double  l 
)

function assembles strain-displacement (geometric) matrix

Parameters:
gm - strain-displacement (geometric) matrix
s - direction vector
l - length of the element
Return values:
Function returns geometric matrix in parameter gm.

JK, 27.9.2005

Definition at line 122 of file barel3d.cpp.

Referenced by elem_integration(), ip_strains(), and stiffness_matrix().

void giveloccoord ( vector x,
vector y,
vector lx 
)

Function returns coordinates of nodes at local element coordinate system.

Parameters:
x - vector of nodal x-coordinates in global coordinate system
y - vector of nodal y-coordinates in global coordinate system
lx - vector of nodal coordinates at local element coordinate system
Return values:
Function returns vector of nodal coordinates at parameter lx.

Definition at line 412 of file barel3d.cpp.

References sqr.

Referenced by res_mass_matrix().

void incr_internal_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector ifor 
)

Function computes increment of internal forces.

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices
ifor - vector of internal forces
Return values:
Function returns nodal values of increments of internal forces in vector ifor.

JK, 29.4.2008

Definition at line 1107 of file barel3d.cpp.

References compute_nlstressincr(), elem_integration(), mechtop::give_node_coord3d(), Mt, nne, and stressincr.

Referenced by res_incr_internal_forces().

void inicipval ( long  eid,
long  ri,
long  ci,
matrix nodval,
inictype ictn 
)

The function computes initial values of the given quantities at each integration point of the element from the nodal values given by the parameter nodval. Initial condition types must be the same for all nodes of the element.

Parameters:
eid - element id
ri - block row index
ci - block column index
nodval - nodal values of particular initial conditions. nodval[i][j] represents value of j-th initial condition at i-th node of the given element.
ictn - array of types of initial condition for each node of element. The type of initial condition determines which values are being specified in the node. (ictn[i] & inistrain) returns nonzero if nodal values of initial strains are specified (ictn[i] & inistress) returns nonzero if nodal values of initial stresses are specified (ictn[i] & iniother) returns nonzero if nodal values of initial values of eqother array are specified (ictn[i] & inicond) returns nonzero if nodal values of other initial conditions are specified

The function does not return anything.

Created by Tomas Koudelka 2004 Revised by Tomas Koudelka 03.2012

Definition at line 932 of file barel3d.cpp.

References vector::a, allocv(), approx(), destrv(), mechtop::elements, intpoints::eqother, gauss_points(), mechmat::ic, inicond, iniother, inistrain, inistress, intordsm, mechmat::ip, element::ipp, memset(), Mm, Mt, matrix::n, nb, intpoints::ncompeqother, intpoints::ncompstr, nne, print_err(), intpoints::strain, and intpoints::stress.

void internal_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector ifor 
)

Function computes internal forces.

Parameters:
lcid - load case id
eid - element id
ri,ci - row and column indices
s - direction vector
ifor - vector of internal forces
Return values:
Function returns nodal values of internal forces in vector ifor.

JK, 3.10.2005

Definition at line 1050 of file barel3d.cpp.

References compute_nlstress(), elem_integration(), mechtop::give_node_coord3d(), locstress, Mt, and nne.

Referenced by res_internal_forces().

void intpointval ( long  eid,
vector nodval,
vector ipval 
)

Function interpolates the nodal values to the integration points on the element

Parameters:
eid - element id
nodval - nodal values
ipval - value at integration points
Return values:
Function returns approximated values at integration points in the vector ipval.

JK, 3.10.2005

Definition at line 878 of file barel3d.cpp.

References vector::a, allocv(), approx(), destrv(), mechtop::elements, gauss_points(), intordsm, element::ipp, Mt, and nb.

Referenced by elem_intpointval().

void ip_elast_stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes stresses at integration points of element.

Parameters:
eid - element id
ri - row index
ci - column index

JK, 10.5.2002

Definition at line 636 of file barel3d.cpp.

References mechtop::elements, mechmat::givestrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), mechmat::storestress(), and tncomp.

void ip_strains ( long  lcid,
long  eid,
long  ri,
long  ci,
vector s,
vector r,
double  l 
)

Function computes strains at integration points of element.

Parameters:
lcid - load case id
eid - element id
ri - row index
ci - column index
s - direction vector
r - vector of nodal displacements
l - length of the element

JK, 3.10.2005

Definition at line 478 of file barel3d.cpp.

References mechtop::elements, geom_matrix(), intordsm, element::ipp, Mm, Mt, mxv(), ndofe, mechmat::storestrain(), and tncomp.

Referenced by res_ip_strains().

void ip_stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes stresses at integration points of element.

Parameters:
eid - element id
ri - row index
ci - column index

JK, 10.5.2002

Definition at line 614 of file barel3d.cpp.

References mechmat::computenlstresses(), mechtop::elements, element::ipp, Mm, Mp, Mt, and probdesc::strcomp.

Referenced by res_ip_stresses().

void ipcoord ( long  eid,
long  ipp,
long  ri,
long  ci,
vector coord 
)

Function assembles coordinates of integration points

Parameters:
eid - element id
ipp - integration point pointer
ri - row index
ci - column index
coord - array containing coordinates of integration points
Return values:
Function returns coordinates of integration points in the vector coord.

TKo, 7.2008

Definition at line 797 of file barel3d.cpp.

References vector::a, allocv(), approx(), destrv(), mechtop::elements, gauss_points(), mechtop::give_node_coord3d(), intordsm, element::ipp, Mt, nb, and nne.

Referenced by ipcoord().

void ipvolume ( long  eid,
long  ri,
long  ci 
)

Function computes volume appropriate to integration point.

Parameters:
eid - element id
ri - row index of the given integration point block
ci - column index of the given integration point block

TKo, 7.2008

Definition at line 840 of file barel3d.cpp.

References mechtop::elements, mechcrsec::give_area(), mechtop::give_node_coord3d(), element::ipp, Mc, Mm, Mt, nne, print_err(), and mechmat::storeipvol().

void local_values ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes local values which will be used for averageing in nonlocal models at integration points. Mp->nonlocphase have to be 1.

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices

TKo, 7.2008

Definition at line 1325 of file barel3d.cpp.

References mechmat::computenlstresses(), mechtop::elements, element::ipp, Mm, Mp, Mt, and probdesc::strcomp.

Referenced by elem_local_values().

void mass_matrix ( long  eid,
matrix mm 
)

Function computes mass matrix of threedimensional bar element.

Parameters:
eid - element id
mm - mass matrix
Return values:
Function returns resulting mass matrix in parameter mm

JK, 27.9.2005

Definition at line 326 of file barel3d.cpp.

References fillm(), mechcrsec::give_area(), mechcrsec::give_densitye(), mechtop::give_node_coord3d(), Mc, Mt, and nne.

Referenced by res_mass_matrix().

void nod_eqother_ip ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes other values in nodes of element.

Parameters:
lcid - load case id
eid - element id

10.5.2002

Definition at line 755 of file barel3d.cpp.

References vector::a, allocv(), destrv(), mechtop::elements, mechtop::give_elemnodes(), mechmat::giveeqother(), mechmat::givencompeqother(), intordsm, element::ipp, Mm, Mt, nne, nod, mechtop::nodes, nodip_bar(), and node::storeother().

void nod_strains_ip ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes strains in nodes of element.

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

JK, 10.5.2002

Definition at line 509 of file barel3d.cpp.

References mechtop::elements, mechtop::give_elemnodes(), mechmat::givestrain(), intordsm, element::ipp, Mm, Mt, nne, nod, mechtop::nodes, nodip_bar(), node::storestrain(), and tncomp.

Referenced by strains().

void nod_stresses_ip ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes stresses at nodes of element.

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

10.5.2002

Definition at line 668 of file barel3d.cpp.

References mechtop::elements, mechtop::give_elemnodes(), mechmat::givestress(), intordsm, element::ipp, Mm, Mt, nne, nod, mechtop::nodes, nodip_bar(), node::storestress(), and tncomp.

Referenced by stresses().

void nonloc_internal_forces ( long  lcid,
long  eid,
long  ri,
long  ci,
vector ifor 
)

Function computes internal forces for nonlocal models

Parameters:
lcid - number of load case
eid - element id
ri,ci - row and column indices
ifor - vector of internal forces
Return values:
Function returns nodal values of nonlocal internal forces in vector ifor.

TKo, 7.2008

Definition at line 1080 of file barel3d.cpp.

References compute_nonloc_nlstress(), elem_integration(), mechtop::give_node_coord3d(), Mt, nne, and nonlocstress.

Referenced by res_nonloc_internal_forces().

void res_eigstrain_forces ( long  lcid,
long  eid,
vector nfor 
)

Function computes resulting internal forces caused by eigenstrains.

Parameters:
lcid - load case id
eid - element id
nfor - vector of nodal forces caused by eigenstrains
Return values:
Function returns resulting increments of internal forces in parameter nfor.

12.8.2001

Definition at line 1269 of file barel3d.cpp.

References copyv(), eigstrain_forces(), mechtop::give_elemnodes(), glvectortransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by elem_eigstrain_forces().

void res_incr_internal_forces ( long  lcid,
long  eid,
vector ifor 
)

Function computes resulting increments of internal forces.

Parameters:
lcid - load case id
eid - element id
ifor - vector of internal forces at nodes
Return values:
Function returns resulting increments of internal forces in parameter ifor.

29.4.2008

Definition at line 1235 of file barel3d.cpp.

References copyv(), mechtop::give_elemnodes(), glvectortransf(), incr_internal_forces(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by elem_incr_internal_forces().

void res_internal_forces ( long  lcid,
long  eid,
vector ifor 
)

Function computes resulting internal forces. If it is required, nodal values are transformed to the local coordinate systems.

Parameters:
lcid - load case id
eid - element id
ifor - vector of internal forces at nodes
Return values:
Function returns resulting internal forces in parameter ifor.

JK, 3.10.2005

Definition at line 1167 of file barel3d.cpp.

References copyv(), mechtop::give_elemnodes(), glvectortransf(), internal_forces(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by elem_internal_forces().

void res_ip_strains ( long  lcid,
long  eid 
)

Function computes strains at integration points.

Parameters:
lcid - load case id
eid - element id

JK, 4.10.2005

Definition at line 432 of file barel3d.cpp.

References copyv(), dirvect(), eldispl(), mechtop::give_elemnodes(), mechtop::give_node_coord3d(), ip_strains(), lgvectortransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by compute_ipstrains().

void res_ip_stresses ( long  lcid,
long  eid 
)

Function computes stresses at integration points.

Parameters:
lcid - load case id
eid - element id

JK

Definition at line 598 of file barel3d.cpp.

References ip_stresses().

Referenced by compute_ipstresses().

void res_mass_matrix ( long  eid,
matrix mm 
)

Function computes mass matrix of one element. If it is required, nodal values are transformed to the local coordinate systems.

Parameters:
eid - number of element
mm - mass matrix
Return values:
Function returns resulting mass matrix in parameter mm

TKo 3.2009

Definition at line 378 of file barel3d.cpp.

References mechtop::give_elemnodes(), mechtop::give_node_coord2d(), giveloccoord(), glmatrixtransf(), mechtop::locsystems(), mass_matrix(), Mt, ndofe, nne, nodes, and transf_matrix().

Referenced by massmat().

void res_nonloc_internal_forces ( long  lcid,
long  eid,
vector ifor 
)

Function computes resulting increment of nonlocal internal forces.

Parameters:
lcid - load case id
eid - element id
ifor - vector of internal forces at nodes
Return values:
Function returns resulting nonlocal internal forces in parameter ifor.

TKo 7.2008

Definition at line 1201 of file barel3d.cpp.

References copyv(), mechtop::give_elemnodes(), glvectortransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, nonloc_internal_forces(), and transf_matrix().

Referenced by elem_nonloc_internal_forces().

void res_stiffness_matrix ( long  eid,
matrix sm 
)

Function computes stiffness matrix of one element. If it is required, nodal values are transformed to the local coordinate systems.

Parameters:
eid - element id
sm - stiffness matrix
Return values:
Function returns resulting stiffness matrix in parameter sm

JK, 27.9.2005

Definition at line 285 of file barel3d.cpp.

References dirvect(), mechtop::give_elemnodes(), mechtop::give_node_coord3d(), glmatrixtransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, stiffness_matrix(), and transf_matrix().

Referenced by stiffmat().

void stiffness_matrix ( long  eid,
long  ri,
long  ci,
vector s,
matrix sm 
)

Function computes stiffness matrix of threedimensonal bar element.

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

JK, 27.9.2005

Definition at line 241 of file barel3d.cpp.

References matrix::a, bdbj(), mechtop::elements, fillm(), geom_matrix(), mechcrsec::give_area(), mechtop::give_node_coord3d(), element::ipp, mechmat::matstiff(), Mc, Mm, Mt, ndofe, nne, print_err(), and tncomp.

Referenced by res_stiffness_matrix().

void strains ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes strains at strain points.

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

JK

Definition at line 544 of file barel3d.cpp.

References allocv(), destrv(), enodes, aepoints::give_aepcoord(), aepoints::give_naep(), aepoints::give_ncomp(), aepoints::give_sid(), intpts, Mm, Mp, nod_strains_ip(), nowhere, print_err(), aepoints::storevalues(), mechmat::stra, probdesc::strainaver, aepoints::tape, and userdefined.

void stresses ( long  lcid,
long  eid,
long  ri,
long  ci 
)

Function computes stresses at required positions.

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

Definition at line 702 of file barel3d.cpp.

References allocv(), destrv(), enodes, aepoints::give_aepcoord(), aepoints::give_naep(), aepoints::give_ncomp(), aepoints::give_sid(), intpts, Mm, Mp, nod_stresses_ip(), nowhere, print_err(), aepoints::storevalues(), mechmat::stre, probdesc::stressaver, aepoints::tape, and userdefined.

Referenced by computestresses().

void tran_mat ( vector x,
matrix tmat,
vector gx,
vector gy 
)

Function assembles transformation matrix T between coordinate system defined on element and global coordinate system.

T x_local = x_global x_local = T^T x_global

direction vector denotes vector defining local coordinate axis

Parameters:
x - vector of nodal coordinates in element coordinate system
tmat - tranformation matrix T
gx,gy - vectors of nodal coordinates in global coordinate systems

Definition at line 211 of file barel3d.cpp.

References glvectortransf(), and vector::n.

void transf_matrix ( ivector nodes,
matrix tmat 
)

function assembles transformation matrix from local nodal coordinate system to the global coordinate system x_g = T x_l

Parameters:
nodes - array containing node numbers
tmat - transformation matrix
Return values:
Function returns transformation matrix in parameter tmat.

JK, 3.2.2002

Definition at line 169 of file barel3d.cpp.

References node::e1, node::e2, node::e3, fillm(), matrix::m, Mt, ivector::n, mechtop::nodes, and node::transf.

Referenced by res_eigstrain_forces(), res_incr_internal_forces(), res_internal_forces(), res_ip_strains(), res_mass_matrix(), res_nonloc_internal_forces(), and res_stiffness_matrix().


Member Data Documentation

long* cncomp

array containing cumulative numbers of components of stress and strain tensors

Definition at line 82 of file barel3d.h.

Referenced by barel3d(), elem_integration(), and ~barel3d().

long intordmm

order of integration of mass matrix

Definition at line 88 of file barel3d.h.

long** intordsm

order of integration of stiffness matrix

Definition at line 86 of file barel3d.h.

Referenced by barel3d(), mechtop::give_intordsm(), inicipval(), intpointval(), ip_elast_stresses(), ip_strains(), ipcoord(), nod_eqother_ip(), nod_strains_ip(), nod_stresses_ip(), and ~barel3d().

long napfun

number of approximated functions on the element

Definition at line 84 of file barel3d.h.

Referenced by barel3d(), and mechtop::give_napfun().

long nb

number of blocks

Definition at line 92 of file barel3d.h.

Referenced by barel3d(), mechtop::give_nb(), mechtop::give_nb_te(), inicipval(), intpointval(), ipcoord(), and ~barel3d().

long* ncomp

array containing numbers of components of stress and strain tensors

Definition at line 80 of file barel3d.h.

Referenced by barel3d(), and ~barel3d().

long ndofe
long** nip

array of numbers of integration points in blocks

Definition at line 90 of file barel3d.h.

Referenced by barel3d(), mechtop::give_nip(), and ~barel3d().

long nne

stress/strain state

Definition at line 94 of file barel3d.h.

Referenced by barel3d(), and mechtop::give_ssst().

long tncomp
long tnip

total number of integration point

Definition at line 96 of file barel3d.h.

Referenced by barel3d(), and mechtop::give_tnip().


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

Generated by  doxygen 1.6.2