dstelem Class Reference

#include <dst.h>

List of all members.

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

Detailed Description

Definition at line 9 of file dst.h.


Constructor & Destructor Documentation

dstelem ( void   ) 

Definition at line 11 of file dst.cpp.

References cncomp, intordb, intordmm, intordsm, napfun, nb, ncomp, ndofe, ned, nip, nne, nned, plates, ssst, tncomp, and tnip.

~dstelem ( void   ) 

Definition at line 73 of file dst.cpp.

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


Member Function Documentation

double approx ( vector areacoord,
vector nodval 
)

function approximates function defined by nodal values

Parameters:
areacoord - vector containing area coordinates
nodval - nodal values

JK, 23.9.2008

Definition at line 97 of file dst.cpp.

References f, and scprd().

Referenced by elem_integration().

void appval ( vector l,
long  fi,
long  nc,
vector eps,
double **  val 
)

function computes strains DST

Definition at line 493 of file dst.cpp.

References allocv(), destrv(), nne, and nodval().

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

Parameters:
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

Parameters:
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().

void dmatblock ( matrix dd,
matrix d,
long  ri,
long  ci,
double  t 
)

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

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 - 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().

void geom_matrix_bconst ( matrix gm,
vector x,
vector y 
)

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().

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 
)

function computes increment of internal forces (from correct stresses increment)

Parameters:
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().

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 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

Parameters:
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().

void ip_strains ( long  lcid,
long  eid,
long  ri,
long  ci,
vector x,
vector y,
vector r 
)
void nodecoord ( vector xi,
vector eta 
)

Definition at line 483 of file dst.cpp.

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

Parameters:
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

Parameters:
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 
)
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 596 of file dst.cpp.

References compute_nlstress().

Referenced by compute_ipstresses().

void res_stiffness_matrix ( long  eid,
matrix sm 
)
void stiffness_matrix ( long  eid,
long  ri,
long  ci,
matrix sm,
vector x,
vector y 
)

function computes stiffness matrix of dst element

Parameters:
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().

void tran_matrix ( matrix a,
matrix ct,
long  eid 
)

function assembles matrix of base functions

Parameters:
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().

void transf_matrix ( ivector nodes,
matrix tmat 
)

Member Data Documentation

long* cncomp

Definition at line 59 of file dst.h.

Referenced by dstelem(), elem_integration(), ip_strains(), and ~dstelem().

long intordb

Definition at line 71 of file dst.h.

Referenced by dstelem().

long intordmm

Definition at line 69 of file dst.h.

Referenced by dstelem().

long** intordsm
long napfun

Definition at line 61 of file dst.h.

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

long nb
long* ncomp

Definition at line 57 of file dst.h.

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

long ndofe
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
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
long tnip

total number of integration points on element

Definition at line 55 of file dst.h.

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


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

Generated by  doxygen 1.6.2