#include <dst.h>
Public Member Functions | |
double | approx (vector &areacoord, vector &nodval) |
void | appval (vector &l, long fi, long nc, vector &eps, double **val) |
void | areaforces (long eid, double *nv, vector &nf) |
void | compute_nlstress (long lcid, long eid, long ri, long ci) |
void | compute_nlstressincr (long lcid, long eid, long ri, long ci) |
void | dmatblock (matrix &dd, matrix &d, long ri, long ci, double t) |
dstelem (void) | |
void | elem_integration (integratedquant iq, long lcid, long eid, long ri, long ci, vector &nv, vector &x, vector &y) |
void | geom_matrix_bconst (matrix &gm, vector &x, vector &y) |
void | geom_matrix_bending (matrix &gm, matrix &a, matrix &ct, vector &x, vector &y, vector &l) |
void | geom_matrix_shear (matrix &gs, matrix &a, matrix &ct, long eid) |
void | incr_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y) |
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, vector &x, vector &y) |
void | ip_strains (long lcid, long eid, long ri, long ci, vector &x, vector &y, vector &r) |
void | nodecoord (vector &xi, vector &eta) |
void | nodeforces (long eid, long *le, double *nv, vector &nf) |
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_stiffness_matrix (long eid, matrix &sm) |
void | stiffness_matrix (long eid, long ri, long ci, matrix &sm, vector &x, vector &y) |
void | strains (long lcid, long eid, long ri, long ci) |
void | stresses (long lcid, long eid, long ri, long ci) |
void | tran_matrix (matrix &a, matrix &ct, long eid) |
void | transf_matrix (ivector &nodes, matrix &tmat) |
~dstelem (void) | |
Public Attributes | |
long * | cncomp |
long | intordb |
long | intordmm |
long ** | intordsm |
long | napfun |
long | nb |
long * | ncomp |
long | ndofe |
long | ned |
long ** | nip |
long | nne |
long | nned |
strastrestate | ssst |
long | tncomp |
long | tnip |
total number of integration points on element |
Definition at line 9 of file dst.h.
dstelem | ( | void | ) |
~dstelem | ( | void | ) |
function approximates function defined by nodal values
areacoord | - vector containing area coordinates | |
nodval | - nodal values |
JK, 23.9.2008
Definition at line 97 of file dst.cpp.
Referenced by elem_integration().
void areaforces | ( | long | eid, | |
double * | nv, | |||
vector & | nf | |||
) |
function computes load vector from area forces fz of the DST 15.3.2002
Definition at line 936 of file dst.cpp.
References mechtop::give_elemnodes(), mechtop::give_node_coord2d(), Mt, nne, and nodes.
void compute_nlstress | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes correct stresses at integration points on element
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices |
JK, 27.9.2008
Definition at line 623 of file dst.cpp.
References vector::a, allocv(), mechmat::computenlstresses(), destrv(), mechtop::elements, gauss_points_tr(), mechtop::give_elemnodes(), mechcrsec::give_thickness(), mechmat::givestress(), intordsm, element::ipp, Mc, Mm, Mp, Mt, nb, nne, nodes, mechmat::storestress(), and probdesc::strcomp.
Referenced by internal_forces(), and res_ip_stresses().
void compute_nlstressincr | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes correct increments of stresses at integration points on element
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices |
JK, 23.9.2008
Definition at line 729 of file dst.cpp.
References mechmat::computenlstressesincr(), mechtop::elements, intordsm, element::ipp, Mm, Mp, Mt, nb, and probdesc::strcomp.
Referenced by incr_internal_forces().
function extracts components of the shear part of stiffness matrix of the material to the matrix ds 20.3.2002
Definition at line 376 of file dst.cpp.
References fillm().
Referenced by geom_matrix_shear(), stiffness_matrix(), and tran_matrix().
void elem_integration | ( | integratedquant | iq, | |
long | lcid, | |||
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | nv, | |||
vector & | x, | |||
vector & | y | |||
) |
function integrates selected quantity over the finite element it results in nodal values
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 | - node coordinates |
JK, 23.9.2008
Definition at line 819 of file dst.cpp.
References vector::a, addv(), allocm(), allocv(), approx(), cmulv(), cncomp, destrm(), destrv(), mechtop::elements, fillv(), gauss_points_tr(), geom_matrix_bconst(), geom_matrix_bending(), geom_matrix_shear(), mechtop::give_elemnodes(), mechcrsec::give_thickness(), mechmat::givequantity(), intordsm, element::ipp, Mc, Mm, Mt, mtxv(), nb, ncomp, ndofe, nne, nodes, and tran_matrix().
Referenced by incr_internal_forces(), and internal_forces().
Definition at line 234 of file dst.cpp.
Referenced by elem_integration(), ip_strains(), and stiffness_matrix().
void geom_matrix_bending | ( | matrix & | gm, | |
matrix & | a, | |||
matrix & | ct, | |||
vector & | x, | |||
vector & | y, | |||
vector & | l | |||
) |
Definition at line 258 of file dst.cpp.
Referenced by elem_integration(), ip_strains(), and stiffness_matrix().
Definition at line 291 of file dst.cpp.
References dmatblock(), mechtop::elements, mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechcrsec::give_thickness(), element::ipp, mechmat::matstiff(), Mc, Mm, Mt, nne, nodes, and tncomp.
Referenced by elem_integration(), ip_strains(), and stiffness_matrix().
void incr_internal_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | ifor, | |||
vector & | x, | |||
vector & | y | |||
) |
function computes increment of internal forces (from correct stresses increment)
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices | |
ifor | - vector of internal forces | |
x,y | - vectors of nodal coordinates |
TKo, 7.2008
Definition at line 762 of file dst.cpp.
References compute_nlstressincr(), elem_integration(), and stressincr.
Referenced by res_incr_internal_forces().
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.
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 990 of file dst.cpp.
References vector::a, allocv(), destrv(), mechtop::elements, intpoints::eqother, gauss_points_tr(), 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.
Referenced by mechbclc::inicipval().
void internal_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | ifor, | |||
vector & | x, | |||
vector & | y | |||
) |
function computes internal forces
lcid | - load case id | |
eid | - element id | |
ri,ci | - row and column indices | |
ifor | - vector of internal forces | |
x,y | - vectors of nodal coordinates |
JK, 24.9.2008
Definition at line 679 of file dst.cpp.
References compute_nlstress(), elem_integration(), and locstress.
Referenced by res_internal_forces().
Definition at line 516 of file dst.cpp.
References vector::a, allocm(), allocv(), cncomp, destrm(), destrv(), mechtop::elements, gauss_points_tr(), geom_matrix_bconst(), geom_matrix_bending(), geom_matrix_shear(), intordsm, element::ipp, Mm, Mt, mxv(), nb, ncomp, ndofe, mechmat::storestrain(), and tran_matrix().
Referenced by res_ip_strains().
void nodeforces | ( | long | eid, | |
long * | le, | |||
double * | nv, | |||
vector & | nf | |||
) |
function computes load vector from edge forces fz of the DST 15.3.2002
Definition at line 890 of file dst.cpp.
References mechtop::give_elemnodes(), mechtop::give_node_coord2d(), Mt, nne, and nodes.
void res_incr_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes resulting increments of internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
JK, 23.9.2008
Definition at line 783 of file dst.cpp.
References copyv(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glvectortransf(), incr_internal_forces(), mechtop::locsystems(), Mt, ndofe, nne, nodes, and transf_matrix().
void res_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes resulting internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
JK, 24.9.2008
Definition at line 699 of file dst.cpp.
References copyv(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), 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 | |||
) |
Definition at line 559 of file dst.cpp.
References vector::a, allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), 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
lcid | - load case id | |
eid | - element id |
JK
Definition at line 596 of file dst.cpp.
References compute_nlstress().
Referenced by compute_ipstresses().
void res_stiffness_matrix | ( | long | eid, | |
matrix & | sm | |||
) |
Definition at line 465 of file dst.cpp.
References mechtop::give_elemnodes(), mechtop::give_node_coord2d(), glmatrixtransf(), mechtop::locsystems(), Mt, ndofe, nne, nodes, stiffness_matrix(), and transf_matrix().
Referenced by stiffmat().
function computes stiffness matrix of dst element
eid | - element id | |
sm | - stiffness matrix |
15.3.2002
Definition at line 402 of file dst.cpp.
References vector::a, allocm(), allocv(), bdbjac(), destrm(), destrv(), dmatblock(), mechtop::elements, fillm(), gauss_points_tr(), geom_matrix_bconst(), geom_matrix_bending(), geom_matrix_shear(), mechtop::give_elemnodes(), mechcrsec::give_thickness(), intordsm, element::ipp, mechmat::matstiff(), Mc, Mm, Mt, nb, ncomp, ndofe, nne, nodes, tncomp, and tran_matrix().
Referenced by res_stiffness_matrix().
void strains | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
void stresses | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
Definition at line 601 of file dst.cpp.
Referenced by computestresses().
function assembles matrix of base functions
gm | - geometric matrix | |
x,y | - array containing node coordinates | |
l | - areacoordinates |
15.3.2002
Definition at line 114 of file dst.cpp.
References dmatblock(), mechtop::elements, mechtop::give_elemnodes(), mechtop::give_node_coord2d(), mechcrsec::give_thickness(), element::ipp, mechmat::matstiff(), Mc, Mm, Mt, nne, nodes, and tncomp.
Referenced by elem_integration(), ip_strains(), and stiffness_matrix().
Definition at line 354 of file dst.cpp.
References node::e1, node::e2, matrix::m, Mt, ivector::n, mechtop::nodes, and node::transf.
Referenced by res_incr_internal_forces(), res_internal_forces(), res_ip_strains(), and res_stiffness_matrix().
long* cncomp |
Definition at line 59 of file dst.h.
Referenced by dstelem(), elem_integration(), ip_strains(), and ~dstelem().
long** intordsm |
Definition at line 67 of file dst.h.
Referenced by compute_nlstress(), compute_nlstressincr(), dstelem(), elem_integration(), mechtop::give_intordsm(), inicipval(), ip_strains(), stiffness_matrix(), and ~dstelem().
long napfun |
Definition at line 61 of file dst.h.
Referenced by dstelem(), and mechtop::give_napfun().
long nb |
Definition at line 75 of file dst.h.
Referenced by compute_nlstress(), compute_nlstressincr(), dstelem(), elem_integration(), mechtop::give_nb(), mechtop::give_nb_te(), inicipval(), ip_strains(), stiffness_matrix(), and ~dstelem().
long* ncomp |
Definition at line 57 of file dst.h.
Referenced by dstelem(), elem_integration(), ip_strains(), stiffness_matrix(), and ~dstelem().
long ndofe |
Definition at line 49 of file dst.h.
Referenced by dstelem(), elem_integration(), mechtop::give_ndofe(), ip_strains(), res_incr_internal_forces(), res_internal_forces(), res_ip_strains(), res_stiffness_matrix(), and stiffness_matrix().
long ned |
Definition at line 63 of file dst.h.
Referenced by dstelem(), and mechtop::give_ned().
long** nip |
Definition at line 73 of file dst.h.
Referenced by dstelem(), mechtop::give_nip(), and ~dstelem().
long nne |
Definition at line 51 of file dst.h.
Referenced by appval(), areaforces(), compute_nlstress(), dstelem(), elem_integration(), geom_matrix_shear(), mechtop::give_nne(), inicipval(), nodeforces(), res_incr_internal_forces(), res_internal_forces(), res_ip_strains(), res_stiffness_matrix(), stiffness_matrix(), and tran_matrix().
long nned |
Definition at line 65 of file dst.h.
Referenced by dstelem(), and mechtop::give_nned().
Definition at line 77 of file dst.h.
Referenced by dstelem(), and mechtop::give_ssst().
long tncomp |
Definition at line 53 of file dst.h.
Referenced by dstelem(), geom_matrix_shear(), mechtop::give_ncomp(), mechtop::give_tncomp(), stiffness_matrix(), and tran_matrix().
long tnip |
total number of integration points on element
Definition at line 55 of file dst.h.
Referenced by dstelem(), and mechtop::give_tnip().