mechmat Class Reference

#include <mechmat.h>

List of all members.

Public Member Functions

void add_macro_strains (vector &macrostrains)
 function adds macro-strain components to the strain vector which contains fluctuation strains
void add_macro_strains (vector &macrostrains)
 function adds macro-strain components to the strain vector which contains fluctuation strains
void alloc_ic ()
 allocation of array of intial conditions
void alloc_ic ()
 allocation of array of intial conditions
void alloc_nonmechq (long n)
 allocation of array of non-mechanical quantities
void alloc_nonmechq (long n)
 allocation of array of non-mechanical quantities
void alloceigstrains ()
 allocates array for eigenstrain storage
void alloceigstrains ()
 allocates array for eigenstrain storage
void alloceigstresses ()
 allocates array for eigenstress storage set it to zero
void alloceigstresses ()
 allocates array for eigenstress storage set it to zero
void alloctempstrains ()
 allocates array for thermal strain storage
void alloctempstrains ()
 allocates array for thermal strain storage
void clean_ip ()
 sets all arrays on int. points to zero
void clean_ip ()
 sets all arrays on int. points to zero
void cleanstrain ()
 sets strains to zero
void cleanstrain ()
 sets strains to zero
void compnonloc_nlstresses (long ipp, long im=0, long ido=0)
 computes stress with respect to non-local material model and store them in the given int. point
void compnonloc_nlstresses (long ipp, long im=0, long ido=0)
 computes stress with respect to non-local material model and store them in the given int. point
void compute_averstrains ()
 compute averaged values of strains //???!!! candidate for removal
void compute_averstrains ()
 compute averaged values of strains //???!!! candidate for removal
void computenlstresses (long ipp, long im=0, long ido=0)
 computes stresses with respect to material model and store them in the given int. point
void computenlstresses (long ipp, long im=0, long ido=0)
 computes stresses with respect to material model and store them in the given int. point
void computenlstressesincr (long ipp, long im=0, long ido=0)
 computes stress increments with respect to material model and store them in the given int. point
void computenlstressesincr (long ipp, long im=0, long ido=0)
 computes stress increments with respect to material model and store them in the given int. point
void cutting_plane (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 cutting plane stress return algorithm
void cutting_plane (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 cutting plane stress return algorithm
void cutting_plane2 (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 cutting plane stress return algorithm with modification for the plane stress problems
void damfuncpar (long ipp, long im, vector &eps, vector &kappa)
 computation of equivalent strain
void damfuncpar (long ipp, long im, vector &eps, vector &kappa)
 computation of equivalent strain
double damfunction (long ipp, long im, long ido, vector &kappa, vector &eps, vector &omegao)
 computation of new damage parameter omega
double damfunction (long ipp, long im, long ido, vector &kappa, vector &eps, vector &omegao)
 computation of new damage parameter omega
void dfdqpar (long ipp, long idpm, matrix &sig, vector &q, vector &dq)
 retruns derivative of yield function with respect to vector of hardening parameters
void dfdqpar (long ipp, long idpm, matrix &sig, vector &q, vector &dq)
 retruns derivative of yield function with respect to vector of hardening parameters
void dfdsigma (long ipp, long idpm, matrix &sig, vector &q, vector &dfds)
 retruns derivative of yield function with respect to stress tensor
void dfdsigma (long ipp, long idpm, matrix &sig, vector &q, vector &dfds)
 retruns derivative of yield function with respect to stress tensor
void dfdsigmadq (long ipp, long idpm, matrix &sig, vector &q, matrix &dfdsdq)
 retruns the second derivative of yield function with respect to stress tensor and vector of hardening parameters
void dfdsigmadq (long ipp, long idpm, matrix &sig, vector &q, matrix &dfdsdq)
 retruns the second derivative of yield function with respect to stress tensor and vector of hardening parameters
void dfdsigmadsigma (long ipp, long idpm, matrix &sig, matrix &dfdsds)
 retruns the second derivative of yield function with respect to stress tensor
void dfdsigmadsigma (long ipp, long idpm, matrix &sig, matrix &dfdsds)
 retruns the second derivative of yield function with respect to stress tensor
void dgdqpar (long ipp, long idpm, matrix &sig, vector &q, vector &dq)
 retruns derivative of plastic potential with respect to vector of hardening parameters
void dgdqpar (long ipp, long idpm, matrix &sig, vector &q, vector &dq)
 retruns derivative of plastic potential with respect to vector of hardening parameters
void dgdsigma (long ipp, long idpm, matrix &sig, vector &q, vector &dgds)
 retruns derivative of plastic potential with respect to stress tensor
void dgdsigma (long ipp, long idpm, matrix &sig, vector &q, vector &dgds)
 retruns derivative of plastic potential with respect to stress tensor
void dgdsigmadq (long ipp, long idpm, matrix &sig, vector &q, matrix &dgdsdq)
 retruns the second derivative of plastic potential with respect to stress tensor and vector of hardening parameters
void dgdsigmadq (long ipp, long idpm, matrix &sig, vector &q, matrix &dgdsdq)
 retruns the second derivative of plastic potential with respect to stress tensor and vector of hardening parameters
void dgdsigmadsigma (long ipp, long idpm, matrix &sig, matrix &dgdsds)
 retruns the second derivative of plastic potential with respect to stress tensor
void dgdsigmadsigma (long ipp, long idpm, matrix &sig, matrix &dgdsds)
 retruns the second derivative of plastic potential with respect to stress tensor
void dhdgamma (long ipp, long idpm, vector &epsp, matrix &sig, vector &q, vector &dhdc)
 derivative of hardening function with respect to consistency parameter
void dhdgamma (long ipp, long idpm, vector &epsp, matrix &sig, vector &q, vector &dhdc)
 derivative of hardening function with respect to consistency parameter
void dhdqpar (long ipp, long idpm, long ido, matrix &sigt, double dgamma, vector &q, matrix &dhdq)
 derivative of hardening function with respect to vector of hardening parameters
void dhdqpar (long ipp, long idpm, long ido, matrix &sigt, double dgamma, vector &q, matrix &dhdq)
 derivative of hardening function with respect to vector of hardening parameters
void dhdsigma (long ipp, long idpm, matrix &sigt, vector &q, matrix &dhds)
 derivative of hardening function with respect to stress tensor
void dhdsigma (long ipp, long idpm, matrix &sigt, vector &q, matrix &dhds)
 derivative of hardening function with respect to stress tensor
double dstep_red_ip (long ipp, long im, long ido)
 check time step size requirements which originate in material models for the given ip
double dstep_red_ip (long ipp, long im, long ido)
 check time step size requirements which originate in material models for the given ip
double dstep_red_mat (long im=0, long ido=0)
 check time step size requirements which originate in material models for all integration points
double dstep_red_mat (long im=0, long ido=0)
 check time step size requirements which originate in material models for all integration points
void eigenstresses (vector &sig, long ipp, long id)
 computes eigenstress and corresponding eigenstrains defined by relaxation material models
void eigenstresses (vector &sig, long ipp, long id)
 computes eigenstress and corresponding eigenstrains defined by relaxation material models
void eigstrmod ()
 subtracts eigenstrains and thermal strains from total strains on integration points
void eigstrmod ()
 subtracts eigenstrains and thermal strains from total strains on integration points
void elmatcompl (matrix &c, long ipp)
 computes elastic complience matrix
void elmatcompl (matrix &c, long ipp)
 computes elastic complience matrix
void elmatstiff (matrix &d, long ipp)
 computes elastic stiffness matrix
void elmatstiff (matrix &d, long ipp)
 computes elastic stiffness matrix
double epsefunction (long ipp, long idem)
 computation of intial elsatic strain for damage models
double epsefunction (long ipp, long idem)
 computation of intial elsatic strain for damage models
double give_actual_fc (long ipp, long im=0, long ido=0)
 returns actual compression strength (for damage models)
double give_actual_fc (long ipp, long im=0, long ido=0)
 returns actual compression strength (for damage models)
double give_actual_ft (long ipp, long im=0, long ido=0)
 returns actual tensile strength (for damage models)
double give_actual_ft (long ipp, long im=0, long ido=0)
 returns actual tensile strength (for damage models)
double give_actual_nu (long ipp, long im=0, long ido=0)
 returns actual Poissons ratio for given integration point
double give_actual_nu (long ipp, long im=0, long ido=0)
 returns actual Poissons ratio for given integration point
double give_actual_ym (long ipp, long im=0, long ido=0)
 returns actual Young modulus for given integration point
double give_actual_ym (long ipp, long im=0, long ido=0)
 returns actual Young modulus for given integration point
void give_aver_quantv (long ipp, long im, long ido, vector &qv)
 returns vector of averaged quantities
void give_aver_quantv (long ipp, long im, long ido, vector &qv)
 returns vector of averaged quantities
double give_consparam (long ipp, long im=0, long ido=0)
 returns consistency parameter for plasticity models
double give_consparam (long ipp, long im=0, long ido=0)
 returns consistency parameter for plasticity models
double give_crackwidth (long ipp, long im=0, long ido=0)
 returns crack width
double give_crackwidth (long ipp, long im=0, long ido=0)
 returns crack width
double give_dampar (long ipp, long im=0, long ido=0)
 returns damage parameter omega
double give_dampar (long ipp, long im=0, long ido=0)
 returns damage parameter omega
double give_first_derivative (long ipp, double r)
 returns the first derivative of lenjones potential
double give_first_derivative (long ipp, double r)
 returns the first derivative of lenjones potential
double give_iniporosity (long ipp, long im=0, long ido=0)
 returns initial porosity for Cam-Clay type models
double give_iniporosity (long ipp, long im=0, long ido=0)
 returns initial porosity for Cam-Clay type models
double give_initial_nu (long ipp, long im=0, long ido=0)
 returns initial Poissons ratio for given integration point
double give_initial_nu (long ipp, long im=0, long ido=0)
 returns initial Poissons ratio for given integration point
double give_initial_ym (long ipp, long im=0, long ido=0)
 returns initial Young modulus for given integration point
double give_initial_ym (long ipp, long im=0, long ido=0)
 returns initial Young modulus for given integration point
void give_interparam (long ipp, long im, long ido, vector &q)
 returns vector of hardening parameters
void give_interparam (long ipp, long im, long ido, vector &q)
 returns vector of hardening parameters
void give_kappa (long ipp, long im, long ido, vector &kappa)
 returns equivalent strain for damage models
void give_kappa (long ipp, long im, long ido, vector &kappa)
 returns equivalent strain for damage models
long give_num_averq (long ipp, long im)
 returns the number of averaged local values.
long give_num_averq (long ipp, long im)
 returns the number of averaged local values.
long give_num_interparam (long ipp, long idpm)
 returns the number of internal(hardening) parameters for plasticity models
long give_num_interparam (long ipp, long idpm)
 returns the number of internal(hardening) parameters for plasticity models
double give_preconspress (long ipp, long im=0, long ido=0)
 returns preconsolidation pressure for Cam-Clay type models
double give_preconspress (long ipp, long im=0, long ido=0)
 returns preconsolidation pressure for Cam-Clay type models
double give_proczonelength (long ipp, long im=0, long ido=0)
 returns length of process zone
double give_proczonelength (long ipp, long im=0, long ido=0)
 returns length of process zone
void give_reqnmq (long ipp, long im, long *anmq)
 marks required types of non-mechanical quantities by the given material model in the given int. point
void give_reqnmq (long ipp, long im, long *anmq)
 marks required types of non-mechanical quantities by the given material model in the given int. point
double give_second_derivative (long ipp, double r)
 returns the second derivative of lenjones potential
double give_second_derivative (long ipp, double r)
 returns the second derivative of lenjones potential
double give_virgporosity (long ipp, long im=0, long ido=0)
 returns virgin porostity for Cam-Clay type models
double give_virgporosity (long ipp, long im=0, long ido=0)
 returns virgin porostity for Cam-Clay type models
void giveeigstrain (long ipp, long fi, long ncomp, vector &eps)
 retruns given eigenstrain components for given int. point
void giveeigstrain (long ipp, vector &eps)
 retruns eigenstrains for given int. point
void giveeigstrain (long ipp, long fi, long ncomp, vector &eps)
 retruns given eigenstrain components for given int. point
void giveeigstrain (long ipp, vector &eps)
 retruns eigenstrains for given int. point
void giveeigstress (long ipp, long fi, long ncomp, vector &sig)
 returns given eigenstress components on given int. point
void giveeigstress (long ipp, long fi, vector &sig)
 returns eigenstress components from given id on given int. point
void giveeigstress (long ipp, vector &sig)
 returns eigenstresses for given int. point
void giveeigstress (long ipp, long fi, long ncomp, vector &sig)
 returns given eigenstress components on given int. point
void giveeigstress (long ipp, long fi, vector &sig)
 returns eigenstress components from given id on given int. point
void giveeigstress (long ipp, vector &sig)
 returns eigenstresses for given int. point
void giveeqother (long ipp, long fi, long ncomp, double *comp)
 returns given internal variable components on given int. point
void giveeqother (long ipp, long fi, long ncomp, double *comp)
 returns given internal variable components on given int. point
void giveirrstrains (long ipp, long im, long ido, vector &epsirr)
 return irreversible strains for nonlinear material models
void giveirrstrains (long ipp, long im, long ido, vector &epsirr)
 return irreversible strains for nonlinear material models
double givemechq (nontransquant qt, long ipp)
 returns required mechanical quantity for passed to TRFEL
double givemechq (nontransquant qt, long ipp)
 returns required mechanical quantity for passed to TRFEL
long givencompeqother (long ipp, long im)
 returns the number of eqother array components on given int. point (num. of internal variables used by material models)
long givencompeqother (long ipp, long im)
 returns the number of eqother array components on given int. point (num. of internal variables used by material models)
long givencompother (long ipp, long im)
 returns the number of other array components on given int. point (num. of internal variables used by material models)
long givencompother (long ipp, long im)
 returns the number of other array components on given int. point (num. of internal variables used by material models)
void givenonloc (long ipp, long fi, long ncomp, double *comp)
 returns given nonlocal values from integration point
void givenonloc (long ipp, long fi, long ncomp, double *comp)
 returns given nonlocal values from integration point
long givenonlocid (long ipp)
 returns id of the first non-local material model defined in the given int. point
long givenonlocid (long ipp)
 returns id of the first non-local material model defined in the given int. point
double givenonmechq (nonmechquant qt, long ipp)
 returns given non-mechanical quantity from nonmechq array on given integration point
double givenonmechq (nonmechquant qt, long ipp)
 returns given non-mechanical quantity from nonmechq array on given integration point
long givenonmechqid (nonmechquant qt)
 returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)
long givenonmechqid (nonmechquant qt)
 returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)
void givequantity (integratedquant iq, long lcid, long ipp, long fi, vector &ipv)
 returns tensor quantity for integral B^T {q} dV on element (nodal force computation)
void givequantity (integratedquant iq, long lcid, long ipp, long fi, vector &ipv)
 returns tensor quantity for integral B^T {q} dV on element (nodal force computation)
long givestatusnmq (nonmechquant qt)
 returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)
long givestatusnmq (nonmechquant qt)
 returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)
void givestrain (long lcid, long ipp, long fi, long ncomp, vector &eps)
 retruns given number of strain components from given index on int. point for given load case
void givestrain (long lcid, long ipp, long fi, vector &eps)
 returns strain components from given index on int. point for given load case
void givestrain (long lcid, long ipp, vector &eps)
 returns strains on given int. point for given load case
void givestrain (long lcid, long ipp, long fi, long ncomp, vector &eps)
 retruns given number of strain components from given index on int. point for given load case
void givestrain (long lcid, long ipp, long fi, vector &eps)
 returns strain components from given index on int. point for given load case
void givestrain (long lcid, long ipp, vector &eps)
 returns strains on given int. point for given load case
void givestress (long lcid, long ipp, long fi, long ncomp, vector &sig)
 retruns given number of stress components from given index on int. point for given load case
void givestress (long lcid, long ipp, long fi, vector &sig)
 returns stress components from given index on int. point for given load case
void givestress (long lcid, long ipp, vector &sig)
 returns stresses on given int. point for given load case
void givestress (long lcid, long ipp, long fi, long ncomp, vector &sig)
 retruns given number of stress components from given index on int. point for given load case
void givestress (long lcid, long ipp, long fi, vector &sig)
 returns stress components from given index on int. point for given load case
void givestress (long lcid, long ipp, vector &sig)
 returns stresses on given int. point for given load case
void givestressincr (long lcid, long ipp, long im, long ido, long fi, vector &sig)
 returns stress increments due to visco-plastic strains on int. point for given load case
void givestressincr (long lcid, long ipp, long im, long ido, long fi, vector &sig)
 returns stress increments due to visco-plastic strains on int. point for given load case
void hardsoftfunction (long ipp, long idpm, matrix &sigt, vector &q, vector &h)
 retruns the actual value of hardening/softening function
void hardsoftfunction (long ipp, long idpm, matrix &sigt, vector &q, vector &h)
 retruns the actual value of hardening/softening function
void init_ip_1 (void)
 the first stage of int. point intialization - setting of ncompstr, ssst according to used elements
void init_ip_1 (void)
 the first stage of int. point intialization - setting of ncompstr, ssst according to used elements
void init_ip_2 (void)
 the second stage of int. point intialization - allocation of strain/stress/eqother/other on int. points
void init_ip_2 (void)
 the second stage of int. point intialization - allocation of strain/stress/eqother/other on int. points
void initmaterialmodels (long lcid)
 initailizes material models for all int. points before begining of main computation procedure
void initmaterialmodels (long lcid)
 initailizes material models for all int. points before begining of main computation procedure
void initvalues (long lcid, long ipp, long im, long ido)
 initailizes material models for the given int. point
void initvalues (long lcid, long ipp, long im, long ido)
 initailizes material models for the given int. point
long intpnum (void)
 determines number of integration points and sets integration point pointers on elements
long intpnum (void)
 determines number of integration points and sets integration point pointers on elements
void intpointalloc ()
 allocation of array of integration points
void intpointalloc ()
 allocation of array of integration points
void intpointinit ()
 zero stage of int. point intialization - copying material ids from elements to int. points
void intpointinit ()
 zero stage of int. point intialization - copying material ids from elements to int. points
void loc_elmatstiff (matrix &d, long ipp)
 computes elastic stiffness matrix in the local coordinate system
void loc_transf_mat (matrix &tmat, long ipp)
 returns transformation matrix to the material local coordinate system (x_g = T x_l)
void matdilat (matrix &d, long ipp)
 computes thermal dilatancy matrix
void matdilat (matrix &d, long ipp)
 computes thermal dilatancy matrix
void matstiff (matrix &d, long ipp, long im=0, long ido=0)
 computes the stiffness matrix for the given integration point and material
void matstiff (matrix &d, long ipp, long im=0, long ido=0)
 computes the stiffness matrix for the given integration point and material
 mechmat ()
 mechmat ()
void mult_surf_cutting_plane (long ipp, vector &epsn, vector &epsp, vector &gamma, vector &q)
 multi-surface cutting plane stress return algorithm
void mult_surf_cutting_plane (long ipp, vector &epsn, vector &epsp, vector &gamma, vector &q)
 multi-surface cutting plane stress return algorithm
void newton_stress_return (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 closest point projection stress return algorithm
void newton_stress_return (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 closest point projection stress return algorithm
void newton_stress_return_2 (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 closest point projection stress return algorithm
void newton_stress_return_2 (long ipp, long im, long ido, double &gamma, vector &epsn, vector &epsp, vector &q, long ni, double err)
 closest point projection stress return algorithm
void nonlocaverage (long ipp, long im=0, long ido=0)
 computes averaged local values for non-loacl material models
void nonlocaverage (long ipp, long im=0, long ido=0)
 computes averaged local values for non-loacl material models
double nonlocradius (long ipp, long im)
 returns radius of averaged neighbourhood for non-local material models
double nonlocradius (long ipp, long im)
 returns radius of averaged neighbourhood for non-local material models
void nulleigstrains ()
 stes eigenstrains to zero
void nulleigstrains ()
 stes eigenstrains to zero
void nullstrains ()
void nullstresses ()
void nulltempstrains ()
 sets thermal strains to zero
void nulltempstrains ()
 sets thermal strains to zero
void plasmodscalar (double &denom, long ipp, long idpm, long ido, matrix &sig, vector &eps, vector &epsp, vector &qtr, double gamma)
 returns contribution to denominator from hardening in cutting plane stress return algorithm
void plasmodscalar (double &denom, long ipp, long idpm, long ido, matrix &sig, vector &eps, vector &epsp, vector &qtr, double gamma)
 returns contribution to denominator from hardening in cutting plane stress return algorithm
void plasticmoduli (long ipp, long idpm, vector &epsp, matrix &sig, matrix &h)
 returns matrix of plastic moduli
void plasticmoduli (long ipp, long idpm, vector &epsp, matrix &sig, matrix &h)
 returns matrix of plastic moduli
void print (FILE *out)
 printing of materials
void print (FILE *out)
 printing of materials
void printmatchar (FILE *out, mattype mt, long numinst)
 printing of individual materials and their parameters
void printmatchar (FILE *out, mattype mt, long numinst)
 printing of individual materials and their parameters
void read (XFILE *in)
 reading of materials and their parameters
void read (XFILE *in)
 reading of materials and their parameters
void readip (XFILE *in)
 obsolate function for reading material properties on individual integration points
void readip (XFILE *in)
 obsolate function for reading material properties on individual integration points
void readmatchar (XFILE *in)
 reading of materials and their parameters
void readmatchar (XFILE *in)
 reading of materials and their parameters
void readmattype (XFILE *in, mattype mtype, long numinst)
 reading of numinst material parameters for the given material type
void readmattype (XFILE *in, mattype mtype, long numinst)
 reading of numinst material parameters for the given material type
void refresh_plast (long im=0, long ido=0)
 detection of plasticity for adaptivity computations
void refresh_plast (long im=0, long ido=0)
 detection of plasticity for adaptivity computations
void restore_intpoints_bin (sel &selelems, sel *selother, long **selid)
 restore content of int. points to several binary files according to stored quantity
void restore_intpoints_bin (FILE *aux, sel &selelems, sel *selother, long **selid)
 restore content of int. points to one huge binary file
void restore_intpoints_bin (sel &selelems, sel *selother, long **selid)
 restore content of int. points to several binary files according to stored quantity
void restore_intpoints_bin (FILE *aux, sel &selelems, sel *selother, long **selid)
 restore content of int. points to one huge binary file
void restore_intpoints_txt (sel &selelems, sel *selother, long **selid)
 restore content of int. points to several text files according to stored quantity
void restore_intpoints_txt (FILE *aux, sel &selelems, sel *selother, long **selid)
 restore content of int. points to one huge text file
void restore_intpoints_txt (sel &selelems, sel *selother, long **selid)
 restore content of int. points to several text files according to stored quantity
void restore_intpoints_txt (FILE *aux, sel &selelems, sel *selother, long **selid)
 restore content of int. points to one huge text file
void save_intpoints_bin (long ni, sel &selelems, sel *selother)
 save content of int. points to several binary files according to stored quantity
void save_intpoints_bin (FILE *aux, sel &selelems, sel *selother)
 save content of int. points to one huge binary file
void save_intpoints_bin (long ni, sel &selelems, sel *selother)
 save content of int. points to several binary files according to stored quantity
void save_intpoints_bin (FILE *aux, sel &selelems, sel *selother)
 save content of int. points to one huge binary file
void save_intpoints_txt (long ni, sel &selelems, sel *selother)
 save content of int. points to several text files according to stored quantity
void save_intpoints_txt (FILE *aux, sel &selelems, sel *selother)
 save content of int. points to one huge text file
void save_intpoints_txt (long ni, sel &selelems, sel *selother)
 save content of int. points to several text files according to stored quantity
void save_intpoints_txt (FILE *aux, sel &selelems, sel *selother)
 save content of int. points to one huge text file
double scal_dam_sol (long ipp, long im, long ido, vector &eps, vector &kappa, vector &omegao, vector &sigma, matrix &d)
 solver for scalar damage models
double scal_dam_sol (long ipp, long im, long ido, vector &eps, vector &kappa, vector &omegao, vector &sigma, matrix &d)
 solver for scalar damage models
long search_reqnmq (nonmechquant *&rnmq)
 searches for the number and types of required non-mechanical quantities at all material models
long search_reqnmq (nonmechquant *&rnmq)
 searches for the number and types of required non-mechanical quantities at all material models
void stiff_deps_vispl (long ipp, long im, long ido, vector &sig, vector &q, double dt)
 computation of stresses Perzyna type visco-plastic materials
void stiff_deps_vispl (long ipp, long im, long ido, vector &sig, vector &q, double dt)
 computation of stresses Perzyna type visco-plastic materials
void stiff_eps (long ipp)
 computation of contribution to right hand side for creep models - obsolate, candidate for removal
void stiff_eps (long ipp)
 computation of contribution to right hand side for creep models - obsolate, candidate for removal
void storeeigstrain (long ipp, long fi, long ncomp, vector &eps)
 store given eigenstrain components for given int. point
void storeeigstrain (long ipp, vector &eps)
 storage of eigenstrains for given int. point
void storeeigstrain (long ipp, long fi, long ncomp, vector &eps)
 store given eigenstrain components for given int. point
void storeeigstrain (long ipp, vector &eps)
 storage of eigenstrains for given int. point
void storeeigstress (long ipp, long fi, long ncomp, vector &sig)
 storage of given eigenstress components on given int. point
void storeeigstress (long ipp, vector &sig)
 storage of eigenstresses for given int. point
void storeeigstress (long ipp, long fi, long ncomp, vector &sig)
 storage of given eigenstress components on given int. point
void storeeigstress (long ipp, vector &sig)
 storage of eigenstresses for given int. point
void storeeqother (long ipp, long fi, long ncomp, double *comp)
 storage of given internal variable components on given int. point
void storeeqother (long ipp, long fi, long ncomp, double *comp)
 storage of given internal variable components on given int. point
void storeipvol (long ipp, double vol)
 stores appropriate volume of element belonging to given int. point
void storeipvol (long ipp, double vol)
 stores appropriate volume of element belonging to given int. point
void storenonloc (long ipp, long fi, long ncomp, double *comp)
 storage of given nonlocal values on given integration point
void storenonloc (long ipp, long fi, long ncomp, double *comp)
 storage of given nonlocal values on given integration point
void storenonmechq (nonmechquant qt, long ipp, double val)
 stores given non-mechanical quantity from nonmechq array on given integration point
void storenonmechq (nonmechquant qt, long ipp, double val)
 stores given non-mechanical quantity from nonmechq array on given integration point
void storeother (long ipp, long fi, long ncomp, double *comp)
 storage of given internal variable components on given int. point
void storeother (long ipp, long fi, long ncomp, double *comp)
 storage of given internal variable components on given int. point
void storestrain (long lcid, long ipp, long fi, long ncomp, double *eps)
 storage of given number of strain components from given index on int. point for given load case
void storestrain (long lcid, long ipp, long fi, long ncomp, vector &eps)
 storage of given number of strain components from given index on int. point for given load case
void storestrain (long lcid, long ipp, long fi, vector &eps)
 storage of strain components from given index on int. point for given load case
void storestrain (long lcid, long ipp, vector &eps)
 storage of strains on given int. point for given load case
void storestrain (long lcid, long ipp, long fi, long ncomp, double *eps)
 storage of given number of strain components from given index on int. point for given load case
void storestrain (long lcid, long ipp, long fi, long ncomp, vector &eps)
 storage of given number of strain components from given index on int. point for given load case
void storestrain (long lcid, long ipp, long fi, vector &eps)
 storage of strain components from given index on int. point for given load case
void storestrain (long lcid, long ipp, vector &eps)
 storage of strains on given int. point for given load case
void storestress (long lcid, long ipp, long fi, long ncomp, double *sig)
 storage of stress components from given index on int. point for given load case
void storestress (long lcid, long ipp, long fi, long ncomp, vector &sig)
 storage of stress components from given index on int. point for given load case
void storestress (long lcid, long ipp, long fi, vector &sig)
 storage of stress components from given index on int. point for given load case
void storestress (long lcid, long ipp, vector &sig)
 storage of stresses on given int. point for given load case
void storestress (long lcid, long ipp, long fi, long ncomp, double *sig)
 storage of stress components from given index on int. point for given load case
void storestress (long lcid, long ipp, long fi, long ncomp, vector &sig)
 storage of stress components from given index on int. point for given load case
void storestress (long lcid, long ipp, long fi, vector &sig)
 storage of stress components from given index on int. point for given load case
void storestress (long lcid, long ipp, vector &sig)
 storage of stresses on given int. point for given load case
void temprstrains ()
 compute strains due to temperature changes (thermal strains)
void temprstrains (long lcid)
 compute strains due to temperature changes (thermal strains)
void totstrains ()
 reassambles total strains - adds eigenstrains and thermal strains to strains on integration points
void totstrains ()
 reassambles total strains - adds eigenstrains and thermal strains to strains on integration points
void updateipval (void)
 updates internal variables for all int. points for the attained equilibrium state
void updateipval (void)
 updates internal variables for all int. points for the attained equilibrium state
void updateipvalmat (long ipp, long im, long ido)
 updates internal variables for given int. point after attaining of equilibrium state
void updateipvalmat (long ipp, long im, long ido)
 updates internal variables for given int. point after attaining of equilibrium state
void updateq (long ipp, long idpm, long ido, double dgamma, vector &eps, vector &epsp, matrix &sig, vector &q)
 updates of hardening parameters
void updateq (long ipp, long idpm, long ido, double dgamma, vector &eps, vector &epsp, matrix &sig, vector &q)
 updates of hardening parameters
double yieldfunction (long ipp, long idpm, matrix &sig, vector &q)
 retruns actual value of yield function for plasticity materials
double yieldfunction (long ipp, long idpm, matrix &sig, vector &q)
 retruns actual value of yield function for plasticity materials
 ~mechmat ()
 ~mechmat ()

Public Attributes

aci78aci78mod
 aci78 model for creep and shrinkage
anisodamanidam
 anisotropic damage material model
anisodamrotanidamrot
 anisotropic damage material model with crack rotation
boermatboerm
 Boer model of plasticity.
camclaycclay
 modified cam-clay model
camclaycoupcclayc
 modified cam-clay model coupled with moisture transfer
cebfip78cebfip78mod
 cebfip78 model for creep and shrinkage
cebfipcontactmatcebfipconmat
 material model for contact problems according to MC90
chenchplast
 Chen model of plasticity of concrete.
contactmatconmat
 material model for contact problems
b3matcrb3
 B3 model of creep based on Bazant theory.
creepbcrbaz
 model of creep based on Bazant theory
creepdamcrdam
 artificial model for combination of damage and creep model
dplmatcrdpl
 Double power law model of creep based on Bazant theory.
creep_effymcreffym
 model of creep based on effective Young modulus
rspecmatcrrs
 retardation spectrum
consolcsol
 consolidation model
damplastdampl
 artificial model for combination of damage and plasticity model
doubdpddpm
 Double Drucker-Prager model.
drpragdrprm
 Drucker-Prager model of plasticity.
drprag2drprm2
 Drucker-Prager model of plasticity prepare by Standa Sysala from IGN.
effstresseffstr
 artificial material for effective stress concept
double ** eigstrains
double ** eigstresses
long ** eigstrid
elastgmat3delgm3d
 elastic general 3D material
long * elip
elastisomateliso
 elastic isotropic linear material
elastortomatelorto
 elastic orthotropic linear material
eigstraintype est
 type of eigstrain
fixortodamfixodam
 orthotropic damage material model
geoelastmatgeoel
 combination of plasticity and special kind of elasticity (different loading and unloading modulus)
glasgowdamglasgdam
 Glasgow damage model.
glasgmechglasgmat
 Glasgow scalar damage with a thermal influence.
graphmatgrmat
 material with explicit prescribed diagram force/displacement
hissplashisspl
 HISS plasticity model (Desai model).
hypoplasthypopl
 hypoplastic material for unsaturated soils
double ** ic
 array with initial conditions at integration points (allocated at mechbclc::readinic)
intpointsip
 integration points
double * ipv
 array containing volume appropriate to integration points
j2flowj2f
 J2 flow material.
j2flow2j2f2
double ** lcsbase
 array containing local coordinate system basis for integration points
long * lcsip
 pointers to local coordinate systems in integration points
lenjonesmatlenjon
 Lennard-Jones interatomic potential.
lemaitrelmtr
 Lemaitre visco-plastic model.
layplatelplate
 layered model for plates
long max_encompo
 maximum number of component of eqother array on elements
long max_ncompstre
 maximum number of component of strain/stress array on elements
long max_ncompstrn
 maximum number of component of strain/stress arrays at nodes
long max_nncompo
 maximum number of component of other array at nodes
mohrcoulombmcoul
 Mohr-Coulomb material.
mohrcoulombparmcpar
 Parabolic Mohr-Coulomb material.
microfibermpfib
microM4mpM4
 microplane M4
microSIMmpSIM
 simplifed version of microplane
mattypemtype
 material types
nonlocdamgnldamg
 nonlocal damage models
nonlocplastnlplast
 nonlocal plasticity models
nonlocmicroM4nmpM4
long nmqid [tnknmq]
 array of indices in nonmechq for particular non-mechanical quantities
nonmechquantnmqo
 array with ordering of used non-mechanical quantities (its size is nnmq)
long nmt
 number of material types
long nnmq
 number of actually used non-mechanical quantities (it is set by METR or according to temperature in the input file)
double ** nonmechq
long * numtype
 numbers of particular material types
ortodamortdam
 ortotropic damage material model
ortodamrotortdamrot
 ortotropic damage material model with crack rotation
long plast
 indicator of plastic regime in domain
relaxeurocrelaxec
 model of stress relaxation based on Eurocode 2
scaldamscdam
 isotropic damage material model
scaldamccscdamcc
 simple damage 3D material with crack closure
shrinkmatshmat
 material for shrinkage strain computation
shefplastshpl
 Sheffield plasticity model.
splas1dspl1d
 simple plastic 1D material
aepoints stra
 strain/stress points
aepoints stre
svisplas * svipl
 simple visco-plastic material
simviscoussvis
 simple model of viscosity
double ** tempstrains
therisomattidilat
 thermal isotropic dilatancy model
long tnip
 total number of all integration points
timeswmattswmat
 artificial model for combination of several time dependent material models switched on in the given time
varelastisomatveliso
 material with variable elastic parameters E and nu
visplastvisplas
winpastwpast
 Winkler-Pasternak material model of subsoil.

Static Public Attributes

static const long tnknmq = sizeof(nonmechquantstr)/sizeof(*nonmechquantstr)
 total number of known(=implemented) non-mechanical quantities

Detailed Description

Class mechmat:

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

Class mechmat contains data about materials in problem.

basic data:

Class mechmat creates nip objects of class intpoints.

Created by JK, TKo

Definition at line 90 of file mechmat.h.


Constructor & Destructor Documentation

mechmat (  ) 
~mechmat (  ) 

Destructor releases allocated memory of the mechmat object.

Created by JK Modified by TKo, TKr

Definition at line 163 of file mechmat.cpp.

References aci78mod, anidam, anidamrot, boerm, cclay, cebfip78mod, cebfipconmat, chplast, conmat, crb3, crbaz, crdam, crdpl, crrs, csol, dampl, drprm, drprm2, effstr, eigstrains, eigstresses, eigstrid, elgm3d, elip, eliso, geoel, glasgdam, glasgmat, grmat, hisspl, ic, ip, ipv, j2f, j2f2, lenjon, lmtr, mcoul, mcpar, mpfib, mpM4, mpSIM, mtype, nldamg, nlplast, nmpM4, nmqo, nnmq, nonmechq, numtype, ortdam, ortdamrot, relaxec, scdam, shmat, shpl, spl1d, svis, tempstrains, tidilat, tnip, tswmat, veliso, visplas, and wpast.

mechmat (  ) 
~mechmat (  ) 

Member Function Documentation

void add_macro_strains ( vector macrostrains  ) 

function adds macro-strain components to the strain vector which contains fluctuation strains

void add_macro_strains ( vector macrostrains  ) 

function adds macro-strain components to the strain vector which contains fluctuation strains

Function adds macro-strain components to the strain vector which contains fluctuation strains function modifies strains in all integration points

Returns:
The function does not return anything.

Created by JK, 16. 4. 2014

Definition at line 5149 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, print_err(), intpoints::strain, and tnip.

Referenced by compute_ipstrains().

void alloc_ic (  ) 

allocation of array of intial conditions

void alloc_ic (  ) 

allocation of array of intial conditions

Function allocates initial conditions in integration points.

Returns:
The function does not return anything.

Created by TKr, 08/12/2010

Definition at line 302 of file mechmat.cpp.

References ic, ip, intpoints::ncompstr, and tnip.

void alloc_nonmechq ( long  n  ) 

allocation of array of non-mechanical quantities

void alloc_nonmechq ( long  n  ) 

allocation of array of non-mechanical quantities

The function allocates array of non-mechanical quantities. Number of rows is given by parameter n and number of columns is equal to the total number of integration points.

Parameters:
n - number of non-mechanical quantities
Returns:
The function does not return anything.

Created by Tomas Koudelka, 7.10.2013

Definition at line 326 of file mechmat.cpp.

References memset(), nmqid, nmqo, nnmq, nonmechq, print_err(), tnip, and tnknmq.

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

void alloceigstrains (  ) 

allocates array for eigenstrain storage

void alloceigstrains (  ) 

allocates array for eigenstrain storage

Function allocates array for eigenstrains.

Returns:
The function does not return anything.

Created by JK, 3.3.2004

Definition at line 1403 of file mechmat.cpp.

References eigstrains, ip, intpoints::ncompstr, and tnip.

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

void alloceigstresses (  ) 

allocates array for eigenstress storage set it to zero

void alloceigstresses (  ) 

allocates array for eigenstress storage set it to zero

Function allocates array for eigenstresses.

Returns:
The function does not return anything.

Created by JK, 27.11.2006

Definition at line 1502 of file mechmat.cpp.

References eigstresses, ip, intpoints::ncompstr, and tnip.

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

void alloctempstrains (  ) 

allocates array for thermal strain storage

void alloctempstrains (  ) 

allocates array for thermal strain storage

Function allocates array for eigenstrains.

Returns:
The function does not return anything.

Created by JK, 3.3.2004

Definition at line 1453 of file mechmat.cpp.

References ip, intpoints::ncompstr, tempstrains, and tnip.

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

void clean_ip (  ) 

sets all arrays on int. points to zero

void clean_ip (  ) 

sets all arrays on int. points to zero

Function cleans all arrays defined at integration points.

Returns:
The function does not return anything.

Created by JK, 25.9.2004

Definition at line 5684 of file mechmat.cpp.

References intpoints::clean(), ip, Mb, mechbclc::nlc, and tnip.

Referenced by par_solve_stochastic_problem(), and solve_mefel_stochastic_problem().

void cleanstrain (  ) 

sets strains to zero

void cleanstrain (  ) 

sets strains to zero

Function cleans array of strains. It works for nonlinear problems where only one load case can be used.

Returns:
The function does not return anything.

Created by JK

Definition at line 1877 of file mechmat.cpp.

References intpoints::clean_strains(), ip, and tnip.

Referenced by compute_ipstrains().

void compnonloc_nlstresses ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes stress with respect to non-local material model and store them in the given int. point

void compnonloc_nlstresses ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes stress with respect to non-local material model and store them in the given int. point

Function computes correct stresses for computed strains for non-local material models.

Parameters:
ipp - integration point pointer
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of the first internal variable in the ipp other arrays for given material model The standard value is zero.
Returns:
The function does not return anything.

Created by JK, TKo

Definition at line 4831 of file mechmat.cpp.

References anidam, anidamrot, anisodamage, anisodamagerot, boerm, boermaterial, consolidation, crdam, creep_damage, creep_nlstresses(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, creffym, csol, drprm, druckerprager, druckerprager2, effective_stress, eliso, elisomat, graphm, grmat, hissplasmat, intpoints::idm, ip, j2f, jflow, lemaitr, mcoul, mcpar, microfibro, microplaneM4, microsimp, modcamclaymat, mohrcoul, mohrcoulparab, mpM4, creep_effym::nlstresses(), creepdam::nlstresses(), winpast::nlstresses(), consol::nlstresses(), varelastisomat::nlstresses(), graphmat::nlstresses(), anisodamrot::nlstresses(), anisodam::nlstresses(), ortodamrot::nlstresses(), ortodam::nlstresses(), scaldamcc::nlstresses(), scaldam::nlstresses(), drprag::nlstresses(), boermat::nlstresses(), mohrcoulombpar::nlstresses(), mohrcoulomb::nlstresses(), microM4::nlstresses(), j2flow::nlstresses(), splas1d::nlstresses(), elastisomat::nlstresses(), drprag::nonloc_nlstresses(), boermat::nonloc_nlstresses(), mohrcoulombpar::nonloc_nlstresses(), mohrcoulomb::nonloc_nlstresses(), microM4::nonloc_nlstresses(), j2flow::nonloc_nlstresses(), splas1d::nonloc_nlstresses(), nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, scdam, scdamcc, simplas1d, simvisplas, spl1d, varelisomat, veliso, winklerpasternak, and wpast.

Referenced by 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(), axisymlt::compute_nonloc_nlstress(), axisymlq::compute_nonloc_nlstress(), ArgyrisTriangle::compute_nonloc_nlstress(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), creepdam::nlstresses(), linhex::nonloc_internal_forces(), shrinkmat::nonloc_nlstresses(), and creepdam::nonloc_nlstresses().

void compute_averstrains (  ) 

compute averaged values of strains //???!!! candidate for removal

void compute_averstrains (  ) 

compute averaged values of strains //???!!! candidate for removal

The function computes averaged strains. !!!??? The function is not used, linhex returns stresses !!!??? Candidate for removal.

Returns:
The function does not return anything

Created by ???

Definition at line 5013 of file mechmat.cpp.

References quadhex::aver_strains(), linhex::aver_strains(), fillv(), mechtop::give_elem_type(), Gtm, gtopology::leso, Lhex, linearhex, Mt, mechtop::ne, Qhex, quadrhex, and volume.

void computenlstresses ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes stresses with respect to material model and store them in the given int. point

void computenlstresses ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes stresses with respect to material model and store them in the given int. point

Function computes correct stresses for computed strains.

Parameters:
ipp - integration point pointer
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of the first internal variable in the ipp other arrays for given material model The standard value is zero.
Returns:
The function does not return anything.

Created by JK, 4.8.2001 Modified by TKo, TKr

Definition at line 4491 of file mechmat.cpp.

References anidam, anidamrot, anisodamage, anisodamagerot, boerm, boermaterial, cclay, cclayc, cebfipconmat, cebfipcontmat, chenplast, chplast, conmat, consolidation, contmat, crbaz, crdam, creep_damage, creep_nlstresses(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, creffym, csol, damage_plasticity, dampl, drprm, drprm2, druckerprager, druckerprager2, effective_stress, effstr, elgm3d, elgmat3d, eliso, elisomat, geoel, geoelast, glasgdam, glasgmat, glasgowdamage, glasgowmechmat, graphm, grmat, hisspl, hissplasmat, hypopl, hypoplastmat, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, mcoul, mcpar, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, mpfib, mpM4, mpSIM, cebfipcontactmat::nlstresses(), contactmat::nlstresses(), visplast::nlstresses(), damplast::nlstresses(), winpast::nlstresses(), consol::nlstresses(), creep_effym::nlstresses(), creepb::nlstresses(), geoelastmat::nlstresses(), varelastisomat::nlstresses(), graphmat::nlstresses(), anisodamrot::nlstresses(), anisodam::nlstresses(), ortodamrot::nlstresses(), ortodam::nlstresses(), scaldamcc::nlstresses(), scaldam::nlstresses(), effstress::nlstresses(), timeswmat::nlstresses(), shrinkmat::nlstresses(), creepdam::nlstresses(), glasgowdam::nlstresses(), glasgmech::nlstresses(), shefplast::nlstresses(), hissplas::nlstresses(), hypoplast::nlstresses(), camclaycoup::nlstresses(), camclay::nlstresses(), chen::nlstresses(), drprag2::nlstresses(), drprag::nlstresses(), boermat::nlstresses(), mohrcoulombpar::nlstresses(), mohrcoulomb::nlstresses(), microfiber::nlstresses(), microSIM::nlstresses(), microM4::nlstresses(), j2flow2::nlstresses(), j2flow::nlstresses(), splas1d::nlstresses(), elastgmat3d::nlstresses(), elastisomat::nlstresses(), nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, scdam, scdamcc, shefpl, shmat, shpl, shrinkagemat, simplas1d, spl1d, time_switchmat, tswmat, varelisomat, veliso, viscoplasticity, visplas, winklerpasternak, and wpast.

Referenced by loadcase::assemble(), 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(), axisymqq::compute_nonloc_nlstress(), femplast_epressure(), linhex::gl_internal_forces(), planeelemlq::gnl_internal_forces(), linhexrot::gnl_internal_forces(), linhex::gnl_internal_forces(), springel::internal_forces(), soilbeam::internal_forces(), linhex::internal_forces(), axisymqq::internal_forces(), axisymlq::internal_forces(), soilbeam::internal_forces1(), linhex::internal_forces2(), quadtet::ip_stresses(), quadhex::ip_stresses(), lintet::ip_stresses(), linhexrot::ip_stresses(), linhex::ip_stresses(), barel3d::ip_stresses(), barel2d::ip_stresses(), 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(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), timeswmat::nlstresses(), shrinkmat::nlstresses(), geoelastmat::nlstresses(), effstress::nlstresses(), damplast::nlstresses(), creepdam::nlstresses(), planeelemlt::res_ip_stresses(), and layplate::stress_calc().

void computenlstressesincr ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes stress increments with respect to material model and store them in the given int. point

void computenlstressesincr ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes stress increments with respect to material model and store them in the given int. point

Function computes correct increments of stresses for computed strains.

Parameters:
ipp - integration point pointer
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of the first internal variable in the ipp other arrays for given material model The standard value is zero.
Returns:
The function does not return anything.

Created by JK, TKo, 29.4.2008

Definition at line 4718 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cebfipcontmat, chenplast, intpoints::clean_stresses(), consolidation, contmat, crdam, creep_damage, creep_nlstressesincr(), creepb3, creepdpl, creepeffym, creeprs, csol, damage_plasticity, druckerprager, druckerprager2, effective_stress, elisomat, geoelast, glasgowdamage, glasgowmechmat, graphm, hypoplastmat, intpoints::idm, ip, jflow, jflow2, Mb, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, mechbclc::nlc, visplast::nlstressesincr(), consol::nlstressesincr(), shrinkmat::nlstressesincr(), creepdam::nlstressesincr(), nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shmat, shrinkagemat, simplas1d, varelisomat, viscoplasticity, visplas, and winklerpasternak.

Referenced by 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(), shrinkmat::nlstressesincr(), and creepdam::nlstressesincr().

void cutting_plane ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

cutting plane stress return algorithm

void cutting_plane ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

cutting plane stress return algorithm

Function returns stresses on sufrace of plasticity. Cutting plane method is used.

gamma,epsp and q will be replaced by new values

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
gamma - consistency parameter (input/output)
epsn - total strain components
epsp - plastic strain components (input/output)
q - hardening parameters (input/output)
ni - maximum number of iterations
err - required error
Returns:
The function returns actual plastic strain vector in the parameter epsp, actual consistency parameter in the parameter gamma and actual vector of hardening parameters in the parameter q.

Created by JK, 4.8.2001 Modified by TKo

Definition at line 6860 of file mechmat.cpp.

References dfdsigma(), dgdsigma(), elmatstiff(), f, intpoints::gemid(), give_actual_nu(), ip, Mm, mxv(), vector::n, Out, planestrain, planestress, plasmodscalar(), print_err(), scprd(), storestress(), stress, subv(), updateq(), vector_tensor(), and yieldfunction().

Referenced by mohrcoulombpar::nlstresses(), j2flow::nlstresses(), drprag::nlstresses(), camclaycoup::nlstresses(), camclay::nlstresses(), boermat::nlstresses(), doubdp::nlstresses(), splas1d::nonloc_nlstresses(), mohrcoulombpar::nonloc_nlstresses(), j2flow2::nonloc_nlstresses(), j2flow::nonloc_nlstresses(), drprag::nonloc_nlstresses(), chen::nonloc_nlstresses(), and boermat::nonloc_nlstresses().

void cutting_plane2 ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

cutting plane stress return algorithm with modification for the plane stress problems

Function returns stresses on sufrace of plasticity. Cutting plane method is used.

gamma,epsp and q will be replaced by new values

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
gamma - consistency parameter (input/output)
epsn - total strain components
epsp - plastic strain components (input/output)
q - hardening parameters (input/output)
ni - maximum number of iterations
err - required error
Returns:
The function returns actual plastic strain vector in the parameter epsp, actual consistency parameter in the parameter gamma and actual vector of hardening parameters in the parameter q.

Created by JK, 4.8.2001 Modified by TKo Modified by J. Fiedler

Definition at line 7291 of file mechmat.cpp.

References axisymm, dfdsigma(), dgdsigma(), elmatstiff(), intpoints::gemid(), ip, mxv(), vector::n, Out, planestrain, planestress, plasmodscalar(), print_err(), scprd(), intpoints::ssst, storestress(), stress, subv(), updateq(), vector_tensor(), and yieldfunction().

void damfuncpar ( long  ipp,
long  im,
vector eps,
vector kappa 
)

computation of equivalent strain

void damfuncpar ( long  ipp,
long  im,
vector eps,
vector kappa 
)

computation of equivalent strain

Function returns damage function parameters for actual values of total strains for scalar damage models.

Parameters:
ipp - integration point pointer
eps - total strain components
im - index of material type for given ip
kappa - damage function parameters (output)
Returns:
The function returns actual value of damage function parameters in the parameter kappa.

Created by Tomas Koudelka, 27.1.2003

Definition at line 7963 of file mechmat.cpp.

References scaldamcc::damfuncpar(), scaldam::damfuncpar(), intpoints::idm, ip, print_err(), scaldamage, scaldamagecc, scdam, and scdamcc.

Referenced by scal_dam_sol().

double damfunction ( long  ipp,
long  im,
long  ido,
vector kappa,
vector eps,
vector omegao 
)

computation of new damage parameter omega

double damfunction ( long  ipp,
long  im,
long  ido,
vector kappa,
vector eps,
vector omegao 
)

computation of new damage parameter omega

Function returns damage function for actual values of kappa for scalar damage models.

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
kappa - vector of damage function parameters
eps - strain vector
omegao - array of attained values of damage parameters
Returns:
The function returns actual value of damage parameter.

Created by Tomas Koudelka, 27.1.2003 Modified by Tomas Koudelka, 4.2.2010

Definition at line 8001 of file mechmat.cpp.

References scaldamcc::damfunction(), scaldam::damfunction(), intpoints::idm, ip, print_err(), scaldamage, scaldamagecc, scdam, and scdamcc.

Referenced by scal_dam_sol().

void dfdqpar ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dq 
)

retruns derivative of yield function with respect to vector of hardening parameters

void dfdqpar ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dq 
)

retruns derivative of yield function with respect to vector of hardening parameters

Function evaluates derivates of yield function with respect to internal variables (hardening parameters). Stresses must be assembled in tensor notation and stored in 3x3 matrix, function stores derivatives in vector dq.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal variables (hardening parameters)
dq - derivatives of yield function with respect to internal variables (output)
Returns:
The function returns resulting vector of derivatives in the parameter dq.

Created by JK,TKo, 28.10.2001

Definition at line 6152 of file mechmat.cpp.

References boermaterial, cclay, cclayc, chenplast, chplast, chen::deryieldfdq(), camclaycoup::deryieldfq(), camclay::deryieldfq(), j2flow2::deryieldfq(), j2flow::deryieldfq(), splas1d::dfdqpar(), druckerprager, druckerprager2, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, modcamclaycoupmat, modcamclaymat, mohrcoulparab, print_err(), simplas1d, and spl1d.

Referenced by newton_stress_return_2(), and stiff_deps_vispl().

void dfdsigma ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dfds 
)

retruns derivative of yield function with respect to stress tensor

void dfdsigma ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dfds 
)

retruns derivative of yield function with respect to stress tensor

Function evaluates derivates of yield function with respect to stresses. Stresses must be assembled in tensor notation and stored in 3x3 matrix. Function overwrites array sig, some material models use the array sig for auxiliary computations. Function stores derivatives in vector dfds.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal parameters (hardening parameters)
dfds - derivatives of yield function with respect to stresses (output)
Returns:
The function returns resulting vector of derivatives in the parameter dfds.

Created by JK,TKo, 28.10.2001

Definition at line 5906 of file mechmat.cpp.

References boerm, boermaterial, cclay, cclayc, chenplast, chplast, chen::deryieldfdsigma(), camclaycoup::deryieldfsigma(), camclay::deryieldfsigma(), drprag::deryieldfsigma(), boermat::deryieldfsigma(), mohrcoulombpar::deryieldfsigma(), j2flow2::deryieldfsigma(), j2flow::deryieldfsigma(), splas1d::dfdsigma(), drprm, druckerprager, druckerprager2, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, mcpar, modcamclaycoupmat, modcamclaymat, mohrcoulparab, print_err(), simplas1d, spl1d, stress, and tensor_vector().

Referenced by cutting_plane(), cutting_plane2(), newton_stress_return(), newton_stress_return_2(), and stiff_deps_vispl().

void dfdsigmadq ( long  ipp,
long  idpm,
matrix sig,
vector q,
matrix dfdsdq 
)

retruns the second derivative of yield function with respect to stress tensor and vector of hardening parameters

void dfdsigmadq ( long  ipp,
long  idpm,
matrix sig,
vector q,
matrix dfdsdq 
)

retruns the second derivative of yield function with respect to stress tensor and vector of hardening parameters

Function evaluates derivates of yield function with respect to stresses and internal variables (hardening parameters).

Stresses must be assembled in tensor notation and stored in 3x3 matrix, function stores derivatives in matrix dfdsdq.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal variables (hardening parameters)
dfdsdq - derivatives of yield function with respect to stresses and internal variables (output)
Returns:
The function returns resulting matrix of derivatives in the parameter dfdsdq.

Created by JK,TKo, 28.10.2001

Definition at line 6278 of file mechmat.cpp.

References cclay, cclayc, chenplast, chplast, camclaycoup::deryieldfdsdq(), camclay::deryieldfdsdq(), chen::deryieldfdsigmadq(), j2flow2::deryieldfdsigmadq(), splas1d::dfdsigmadq(), gentensor_matrix(), intpoints::idm, ip, j2f2, jflow2, modcamclaycoupmat, modcamclaymat, matrix::n, print_err(), simplas1d, and spl1d.

void dfdsigmadsigma ( long  ipp,
long  idpm,
matrix sig,
matrix dfdsds 
)

retruns the second derivative of yield function with respect to stress tensor

void dfdsigmadsigma ( long  ipp,
long  idpm,
matrix sig,
matrix dfdsds 
)

retruns the second derivative of yield function with respect to stress tensor

Function evaluates second derivates of yield function with respect to stresses. Stresses must be assembled in tensor notation and stored in 3x3 matrix, function stores derivatives in matrix dfdsds.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
dfdsds - second derivatives of yield function with respect to stresses (output)
Returns:
The function returns resulting vector of derivatives in the parameter dfdsds.

Created by JK,TKo, 28.10.2001

Definition at line 6049 of file mechmat.cpp.

References cclay, cclayc, chenplast, chplast, camclaycoup::dderyieldfsigma(), camclay::dderyieldfsigma(), j2flow2::deryielddsigmadsigma(), chen::deryieldfdsigmadsigma(), splas1d::dfdsigmadsigma(), intpoints::idm, ip, j2f2, jflow2, modcamclaycoupmat, modcamclaymat, print_err(), simplas1d, spl1d, and tensor4_matrix().

void dgdqpar ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dq 
)

retruns derivative of plastic potential with respect to vector of hardening parameters

void dgdqpar ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dq 
)

retruns derivative of plastic potential with respect to vector of hardening parameters

Function evaluates derivates of plastic potential with respect to internal variables (hardening parameters). Stresses must be assembled in tensor notation and stored in 3x3 matrix, function stores derivatives in vector dq.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal variables (hardening parameters)
dq - derivatives of plastic potential with respect to internal variables (output)
Returns:
The function returns resulting vector of derivatives in the parameter dq.

Created by JK,TKo, 28.10.2001

Definition at line 6214 of file mechmat.cpp.

References boermaterial, cclay, cclayc, chenplast, chplast, chen::deryieldfdq(), camclaycoup::deryieldfq(), camclay::deryieldfq(), j2flow2::deryieldfq(), j2flow::deryieldfq(), splas1d::dfdqpar(), druckerprager, druckerprager2, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, modcamclaycoupmat, modcamclaymat, mohrcoulparab, print_err(), simplas1d, and spl1d.

void dgdsigma ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dgds 
)

retruns derivative of plastic potential with respect to stress tensor

void dgdsigma ( long  ipp,
long  idpm,
matrix sig,
vector q,
vector dgds 
)

retruns derivative of plastic potential with respect to stress tensor

Function evaluates derivates of plastic potential with respect to stresses. Stresses must be assembled in tensor notation and stored in 3x3 matrix. Function overwrites array sig, some material models use the array sig for auxiliary computations. Function stores derivatives in vector dgds.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal parameters (hardening parameters)
dfds - derivatives of plastic potential with respect to stresses (output)
Returns:
The function returns resulting vector of derivatives in the parameter dgds.

Created by JK,TKo, 28.10.2001

Definition at line 5979 of file mechmat.cpp.

References boerm, boermaterial, cclay, cclayc, chenplast, chplast, mohrcoulombpar::derplaspotsigma(), chen::deryieldfdsigma(), camclaycoup::deryieldfsigma(), camclay::deryieldfsigma(), drprag::deryieldfsigma(), boermat::deryieldfsigma(), j2flow2::deryieldfsigma(), j2flow::deryieldfsigma(), splas1d::dfdsigma(), drprm, druckerprager, druckerprager2, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, mcpar, modcamclaycoupmat, modcamclaymat, mohrcoulparab, print_err(), simplas1d, spl1d, stress, and tensor_vector().

Referenced by nonlocplast::average(), cutting_plane(), cutting_plane2(), newton_stress_return(), and newton_stress_return_2().

void dgdsigmadq ( long  ipp,
long  idpm,
matrix sig,
vector q,
matrix dgdsdq 
)

retruns the second derivative of plastic potential with respect to stress tensor and vector of hardening parameters

void dgdsigmadq ( long  ipp,
long  idpm,
matrix sig,
vector q,
matrix dgdsdq 
)

retruns the second derivative of plastic potential with respect to stress tensor and vector of hardening parameters

Function evaluates derivates of plastic potential with respect to stresses and internal variables (hardening parameters).

Stresses must be assembled in tensor notation and stored in 3x3 matrix, function stores derivatives in matrix dgdsdq.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal variables (hardening parameters)
dgdsdq - derivatives of plastic potential with respect to stresses and internal variables (output)
Returns:
The function returns resulting matrix of derivatives in the parameter dgdsdq.

Created by JK,TKo, 28.10.2001

Definition at line 6335 of file mechmat.cpp.

References cclay, cclayc, chenplast, chplast, camclaycoup::deryieldfdsdq(), camclay::deryieldfdsdq(), chen::deryieldfdsigmadq(), j2flow2::deryieldfdsigmadq(), splas1d::dfdsigmadq(), gentensor_matrix(), intpoints::idm, ip, j2f2, jflow2, modcamclaycoupmat, modcamclaymat, matrix::n, print_err(), simplas1d, and spl1d.

Referenced by newton_stress_return_2().

void dgdsigmadsigma ( long  ipp,
long  idpm,
matrix sig,
matrix dgdsds 
)

retruns the second derivative of plastic potential with respect to stress tensor

void dgdsigmadsigma ( long  ipp,
long  idpm,
matrix sig,
matrix dgdsds 
)

retruns the second derivative of plastic potential with respect to stress tensor

Function evaluates second derivates of plastic potential with respect to stresses. Stresses must be assembled in tensor notation and stored in 3x3 matrix, function stores derivatives in matrix dgdsds.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
dfdsds - second derivatives of plastic potential with respect to stresses (output)
Returns:
The function returns resulting vector of derivatives in the parameter dgdsds.

Created by JK,TKo, 28.10.2001

Definition at line 6100 of file mechmat.cpp.

References cclay, cclayc, chenplast, chplast, camclaycoup::dderyieldfsigma(), camclay::dderyieldfsigma(), j2flow2::deryielddsigmadsigma(), chen::deryieldfdsigmadsigma(), splas1d::dfdsigmadsigma(), intpoints::idm, ip, j2f2, jflow2, modcamclaycoupmat, modcamclaymat, print_err(), simplas1d, spl1d, and tensor4_matrix().

Referenced by newton_stress_return(), and newton_stress_return_2().

void dhdgamma ( long  ipp,
long  idpm,
vector epsp,
matrix sig,
vector q,
vector dhdc 
)

derivative of hardening function with respect to consistency parameter

void dhdgamma ( long  ipp,
long  idpm,
vector epsp,
matrix sig,
vector q,
vector dhdc 
)

derivative of hardening function with respect to consistency parameter

Function computes derivatives of hardening function with respect to consistency parameter.

Parameters:
ipp - id of integration point
idpm - id of plasticity model
dhdc - derivatives of hardening function with respect to consistency parameter stored in ncomphard x 1 vector (output)
Returns:
The function returns resulting vector of derivatives in the parameter dhdc.

Created by JK, 7.8.2005

Definition at line 6425 of file mechmat.cpp.

References chenplast, chplast, chen::dhdgamma(), splas1d::dhdgamma(), intpoints::idm, ip, print_err(), simplas1d, and spl1d.

Referenced by newton_stress_return_2().

void dhdqpar ( long  ipp,
long  idpm,
long  ido,
matrix sigt,
double  dgamma,
vector q,
matrix dhdq 
)

derivative of hardening function with respect to vector of hardening parameters

void dhdqpar ( long  ipp,
long  idpm,
long  ido,
matrix sigt,
double  dgamma,
vector q,
matrix dhdq 
)

derivative of hardening function with respect to vector of hardening parameters

Function computes derivatives of hardening function with respect to hardening parameters.

Parameters:
ipp - id of integration point
idpm - id of plasticity model
sigt - stress components stored in 3x3 matrix
dgamma - increment of consistency parameter
q - internal variables stored in vector
dhdq - derivatives of hardening function with respect to hardening parameters stored in ncomphard x ncomphard matrix (output)
Returns:
The function returns resulting matrix of derivatives in the parameter dhdq.

Created by JK, 7.8.2005

Definition at line 6459 of file mechmat.cpp.

References cclay, chenplast, chplast, camclay::dhardfdq(), chen::dhdqpar(), intpoints::idm, ip, modcamclaymat, print_err(), and simplas1d.

Referenced by newton_stress_return_2().

void dhdsigma ( long  ipp,
long  idpm,
matrix sigt,
vector q,
matrix dhds 
)

derivative of hardening function with respect to stress tensor

void dhdsigma ( long  ipp,
long  idpm,
matrix sigt,
vector q,
matrix dhds 
)

derivative of hardening function with respect to stress tensor

Function computes derivatives of hardening function with respect to stresses.

Parameters:
ipp - id of integration point
idpm - id of plasticity model
sigt - stress components stored in 3x3 matrix
q - internal variables stored in vector
dhds - derivatives of hardening function with respect to stresses stored in 6 x ncomphard matrix (output)
Returns:
The function returns resulting matrix of derivatives in the parameter dhds.

Created by JK, 7.8.2005

Definition at line 6387 of file mechmat.cpp.

References chenplast, chplast, chen::dhdsigma(), gentensor_matrix(), intpoints::idm, ip, matrix::m, print_err(), and simplas1d.

Referenced by newton_stress_return_2().

double dstep_red_ip ( long  ipp,
long  im,
long  ido 
)

check time step size requirements which originate in material models for the given ip

double dstep_red_ip ( long  ipp,
long  im,
long  ido 
)

check time step size requirements which originate in material models for the given ip

Function returns time step size required by material models in the given integration point.

Parameters:
ipp - number of integration point
im - index of material type (default is 0)
ido - index in array other (default is 0)
Returns:
The function returns minimum ratio of required time step size to the actual one for the given integration points or dstep_r = 1.0 for no change in time step size.

Created by Tomas Koudelka, 10.3.2014

Definition at line 5737 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cebfipcontmat, chenplast, consolidation, contmat, creep_damage, creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, hypoplast::dstep_red(), effective_stress, elisomat, geoelast, glasgowdamage, graphm, hissplasmat, hypopl, hypoplastmat, intpoints::idm, ip, jflow, jflow2, lemaitr, lenjonespot, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, time_switchmat, varelisomat, and viscoplasticity.

Referenced by dstep_red_mat().

double dstep_red_mat ( long  im = 0,
long  ido = 0 
)

check time step size requirements which originate in material models for all integration points

double dstep_red_mat ( long  im = 0,
long  ido = 0 
)

check time step size requirements which originate in material models for all integration points

Function checks time step size requirements which originate in material models.

Parameters:
ipp - number of integration point
im - index of material type (default is 0)
ido - index in array other (default is 0)
Returns:
The function returns minimum ratio of required time step size to the actual one collected from all integration points or dstep_r = 1.0 for no change in time step size.

Created by Tomas Koudelka, 10.3.2014

Definition at line 5707 of file mechmat.cpp.

References dstep_red_ip(), and tnip.

Referenced by garclength(), and gnewton_raphson_one_step().

void eigenstresses ( vector sig,
long  ipp,
long  id 
)

computes eigenstress and corresponding eigenstrains defined by relaxation material models

void eigenstresses ( vector sig,
long  ipp,
long  id 
)

computes eigenstress and corresponding eigenstrains defined by relaxation material models

Function computes eigenstresses in required integration point.

Parameters:
sig - array of eigenstresses
ipp - number of integration point
id - id of material model
Returns:
The function returns elastic stiffness matrix in the parametr d.

Created by JK, 13. 6. 2013

Definition at line 4451 of file mechmat.cpp.

References allocv(), destrv(), intpoints::idm, ip, vector::n, print_err(), relaxationeuro, relaxec, storeeigstrain(), storeeigstress(), and relaxeuroc::stress().

Referenced by barel3d::compute_eigstress(), and barel2d::compute_eigstress().

void eigstrmod (  ) 

subtracts eigenstrains and thermal strains from total strains on integration points

void eigstrmod (  ) 

subtracts eigenstrains and thermal strains from total strains on integration points

Function computes strains without eigenstrains.

Returns:
The function does not return anything.

Created by JK, 3.3.2004

Definition at line 5099 of file mechmat.cpp.

References eigstrains, mechtop::elements, mechtop::give_tnip(), Gtm, ip, element::ipp, gtopology::leso, Mt, intpoints::ncompstr, mechtop::ne, strain, and tempstrains.

Referenced by compute_ipstrains().

void elmatcompl ( matrix c,
long  ipp 
)

computes elastic complience matrix

void elmatcompl ( matrix c,
long  ipp 
)

computes elastic complience matrix

Function computes elastic compliance matrix of the material in the required integration point.

Parameters:
c - compliance matrix (output)
ipp - number of integration point
Returns:
The function returns elastic compliance matrix in the parametr c.

Created by JK, 3.2.2003

Definition at line 4415 of file mechmat.cpp.

References eliso, elisomat, intpoints::gemid(), intpoints::idm, ip, varelastisomat::matcompl(), elastisomat::matcompl(), print_err(), varelisomat, and veliso.

Referenced by newton_stress_return(), and newton_stress_return_2().

void elmatstiff ( matrix d,
long  ipp 
)

computes elastic stiffness matrix

void elmatstiff ( matrix d,
long  ipp 
)

computes elastic stiffness matrix

Function computes elastic stiffness matrix of the material in the required integration point.

Parameters:
d - stiffness matrix (output)
ipp - number of integration point
Returns:
The function returns elastic stiffness matrix in the parametr d.

Cretaed by JK, 17.7.2001 modified by TKo, 7.2008

Definition at line 4375 of file mechmat.cpp.

References elgm3d, elgmat3d, eliso, elisomat, varelastisomat::elmatstiff(), elastgmat3d::elmatstiff(), elastisomat::elmatstiff(), intpoints::gemid(), intpoints::idm, ip, print_err(), varelisomat, and veliso.

Referenced by nonlocplast::average(), nonlocmicroM4::average(), creep_matstiff(), mohrcoulomb::cutting_plane(), cutting_plane(), cutting_plane2(), scaldamcc::damfunction(), scaldamcc::elmatstiff(), scaldam::elmatstiff(), ortodamrot::elmatstiff(), ortodam::elmatstiff(), anisodamrot::elmatstiff(), anisodam::elmatstiff(), camclaycoup::initval(), camclay::initval(), soilbeam::internal_forces1(), glasgowcoup::material_matrix_fts(), glasgownew::material_matrix_fts(), glasgowcoup::material_matrix_td(), glasgownew::material_matrix_td(), visplast::matstiff(), splas1d::matstiff(), shefplast::matstiff(), scaldamcc::matstiff(), mohrcoulombpar::matstiff(), mohrcoulomb::matstiff(), microSIM::matstiff(), microM4::matstiff(), microfiber::matstiff(), j2flow2::matstiff(), j2flow::matstiff(), hissplas::matstiff(), glasgowdam::matstiff(), glasgmech::matstiff(), geoelastmat::matstiff(), drprag::matstiff(), damplast::matstiff(), creepbs::matstiff(), creepbbeam::matstiff(), creepb::matstiff(), chen::matstiff(), cebfip78::matstiff(), camclaycoup::matstiff(), camclay::matstiff(), boermat::matstiff(), aci78::matstiff(), drprag2::matstiff(), doubdp::matstiff(), layplate::matstiff(), mohrcoulomb::mc_msurf_cp(), mult_surf_cutting_plane(), newton_stress_return(), newton_stress_return_2(), ortodamrot::nlstresses(), hissplas::nlstresses(), glasgowdam::nlstresses(), glasgmech::nlstresses(), creep_effym::nlstresses(), drprag2::nlstresses(), doubdp::nlstresses(), shrinkmat::nlstressesincr(), microM4::nonloc_nlstresses(), and shefplast::stress_return().

double epsefunction ( long  ipp,
long  idem 
)

computation of intial elsatic strain for damage models

double epsefunction ( long  ipp,
long  im 
)

computation of intial elsatic strain for damage models

Function returns limit elastic strain for scalar damage models.

Parameters:
ipp - integration point pointer
im - index of damage material in the ip.tm array
Returns:
The function returns treshold value of elastic strain.

Created by Fr�d�ric DUFOUR, 23.2.2003

Function returns limit elastic strain for scalar damage models.

Parameters:
ipp - integration point pointer
im - index of damage material in the ip.tm array
Returns:
The function returns treshold value of elastic strain.

Created by Frédéric DUFOUR, 23.2.2003

Definition at line 8036 of file mechmat.cpp.

References scaldamcc::epsefunction(), scaldam::epsefunction(), intpoints::idm, ip, print_err(), scaldamage, scaldamagecc, scdam, and scdamcc.

Referenced by scal_dam_sol().

double give_actual_fc ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual compression strength (for damage models)

double give_actual_fc ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual compression strength (for damage models)

Function returns actual value of the compressive strenght for given material and in the required integration point.

Parameters:
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp eqother array. The standard value is zero.
Returns:
Function returns tensile strength.

Created by Tomas Koudelka, 8.8.2005

Definition at line 3265 of file mechmat.cpp.

References anidam, anidamrot, anisodamage, anisodamagerot, crdam, creep_damage, shrinkmat::give_actual_fc(), creepdam::give_actual_fc(), anisodamrot::give_actual_fc(), anisodam::give_actual_fc(), ortodamrot::give_actual_fc(), ortodam::give_actual_fc(), intpoints::idm, ip, nonlocdamgmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), shmat, and shrinkagemat.

Referenced by shrinkmat::give_actual_fc(), creepdam::give_actual_fc(), ortodamrot::loadfunc(), ortodam::loadfunc(), anisodamrot::loadfuncdev(), anisodam::loadfuncdev(), anisodamrot::pdam_dev(), anisodam::pdam_dev(), anisodam::pdaminc_dev(), ortodamrot::princ_dam(), and ortodam::princ_dam().

double give_actual_ft ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual tensile strength (for damage models)

double give_actual_ft ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual tensile strength (for damage models)

Function returns actual value of the tensile strenght for given material and in the required integration point.

Parameters:
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp eqother array. The standard value is zero.
Returns:
Function returns tensile strength.

Created by Tomas Koudelka, 8.8.2005

Definition at line 3199 of file mechmat.cpp.

References anidam, anidamrot, anisodamage, anisodamagerot, crdam, creep_damage, creep_give_actual_ft(), creepb3, creepeffym, creeprs, creffym, damage_plasticity, dampl, effective_stress, timeswmat::give_actual_ft(), creep_effym::give_actual_ft(), shrinkmat::give_actual_ft(), creepdam::give_actual_ft(), damplast::give_actual_ft(), anisodamrot::give_actual_ft(), anisodam::give_actual_ft(), ortodamrot::give_actual_ft(), ortodam::give_actual_ft(), scaldam::give_actual_ft(), intpoints::idm, ip, nonlocdamgmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), scaldamage, scdam, shmat, shrinkagemat, time_switchmat, and tswmat.

Referenced by anisodamrot::dam_vol(), anisodam::dam_vol(), scaldam::damfunction(), anisodam::daminc_vol(), scaldam::epsefunction(), timeswmat::give_actual_ft(), shrinkmat::give_actual_ft(), damplast::give_actual_ft(), creepdam::give_actual_ft(), creep_effym::give_actual_ft(), ortodamrot::loadfunc(), ortodam::loadfunc(), anisodamrot::loadfuncdev(), anisodam::loadfuncdev(), anisodamrot::loadfuncvol(), anisodam::loadfuncvol(), anisodamrot::pdam_dev(), anisodam::pdam_dev(), anisodam::pdaminc_dev(), ortodamrot::princ_dam(), and ortodam::princ_dam().

double give_actual_nu ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual Poissons ratio for given integration point

double give_actual_nu ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual Poissons ratio for given integration point

Function returns actual value of the Poisson's ratio for given material and in the required integration point.

Parameters:
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp eqother array. The standard value is zero.
Returns:
Function returns value of Poisson's ratio.

Created by Tomas Koudelka, 7.2008

Definition at line 3014 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cclay, chenplast, consolidation, creep_damage, creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, effective_stress, eliso, elisomat, timeswmat::give_actual_nu(), camclay::give_actual_nu(), givencompeqother(), glasgowdamage, glasgowmechmat, intpoints::idm, ip, jflow, jflow2, lemaitr, microfibro, microplaneM4, microsimp, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, elastisomat::nu, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, time_switchmat, tswmat, viscoplasticity, and winklerpasternak.

Referenced by creep_incrtotstresses(), creep_nlstressesincr(), creep_updateval(), mohrcoulomb::cutting_plane(), cutting_plane(), scaldam::damfuncpar(), hissplas::dfdepspd(), hissplas::dfdepsvp(), hissplas::dg1depsdp(), hissplas::dg1depsvp(), varelastisomat::elmatstiff(), drprag2::getImportantValues(), timeswmat::give_actual_nu(), give_initial_nu(), ortodam::loadfunc(), varelastisomat::matcompl(), mohrcoulomb::mc_msurf_cp(), varelastisomat::nlstresses(), shrinkmat::nlstresses(), scaldam::nlstresses(), ortodamrot::nlstresses(), ortodam::nlstresses(), anisodamrot::nlstresses(), doubdp::nlstresses(), creepdam::nlstressesincr(), shrinkmat::nonloc_nlstresses(), and ortodam::princ_dam().

double give_actual_ym ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual Young modulus for given integration point

double give_actual_ym ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns actual Young modulus for given integration point

Function returns actual value of the Young modulus for given material and in the required integration point.

Parameters:
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp eqother array. The standard value is zero.
Returns:
Function returns value of Young moduls.

Created by Tomas Koudelka, 8.8.2005

Definition at line 2826 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cclay, chenplast, consolidation, creep_damage, creep_give_actual_ym(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, elastisomat::e, effective_stress, eliso, elisomat, timeswmat::give_actual_ym(), camclay::give_actual_ym(), givencompeqother(), glasgowdamage, glasgowmechmat, intpoints::idm, ip, jflow, jflow2, lemaitr, microfibro, microplaneM4, microsimp, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, time_switchmat, tswmat, viscoplasticity, and winklerpasternak.

Referenced by mohrcoulomb::cutting_plane(), anisodamrot::dam_vol(), anisodam::dam_vol(), scaldam::damfuncpar(), scaldam::damfunction(), anisodam::daminc_vol(), hissplas::dfdepspd(), hissplas::dfdepsvp(), hissplas::dg1depsdp(), hissplas::dg1depsvp(), varelastisomat::elmatstiff(), scaldamcc::elmatstiff(), scaldam::elmatstiff(), ortodamrot::elmatstiff(), ortodam::elmatstiff(), anisodamrot::elmatstiff(), anisodam::elmatstiff(), scaldam::epsefunction(), drprag2::getImportantValues(), ortodamrot::give_actual_param_a(), ortodam::give_actual_param_a(), anisodamrot::give_actual_param_a(), anisodam::give_actual_param_a(), timeswmat::give_actual_ym(), ortodamrot::loadfunc(), ortodam::loadfunc(), anisodamrot::loadfuncdev(), anisodam::loadfuncdev(), anisodamrot::loadfuncvol(), anisodam::loadfuncvol(), varelastisomat::matcompl(), mohrcoulomb::mc_msurf_cp(), scaldam::nlstresses(), ortodamrot::nlstresses(), ortodam::nlstresses(), creep_effym::nlstresses(), anisodamrot::nlstresses(), anisodam::nlstresses(), anisodamrot::pdam_dev(), anisodam::pdam_dev(), anisodam::pdaminc_dev(), ortodamrot::princ_dam(), ortodam::princ_dam(), and anisodam::tmatstiff().

void give_aver_quantv ( long  ipp,
long  im,
long  ido,
vector qv 
)

returns vector of averaged quantities

void give_aver_quantv ( long  ipp,
long  im,
long  ido,
vector qv 
)

returns vector of averaged quantities

The function returns vector of averaged quantities.

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function does not return anything.

Created by Tomas Koudelka, 10.2009

Definition at line 5354 of file mechmat.cpp.

References creep_damage, nonlocdamg::give_aver_quantv(), nonlocplast::give_aver_quantv(), givencompeqother(), intpoints::idm, ip, nldamg, nlplast, nonlocdamgmat, nonlocplastmat, and print_err().

Referenced by nonlocdamg::average().

double give_consparam ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns consistency parameter for plasticity models

double give_consparam ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns consistency parameter for plasticity models

Function returns consistency parameter for models of plasticity.

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function returns actual value of consistency parameter.

Created by Tomas Koudelka

Definition at line 3521 of file mechmat.cpp.

References boerm, boermaterial, cclay, cclayc, cp, damage_plasticity, drprm, drprm2, druckerprager, druckerprager2, effective_stress, hissplas::give_consparam(), camclaycoup::give_consparam(), camclay::give_consparam(), drprag2::give_consparam(), drprag::give_consparam(), boermat::give_consparam(), mohrcoulombpar::give_consparam(), mohrcoulomb::give_consparam(), j2flow::give_consparam(), splas1d::give_consparam(), hisspl, hissplasmat, intpoints::idm, ip, j2f, jflow, mcoul, mcpar, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, print_err(), simplas1d, and spl1d.

Referenced by approx_slip_surf(), detect_max_gamma(), nonlocplast::give_aver_quantv(), and refresh_plast().

double give_crackwidth ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns crack width

double give_crackwidth ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns crack width

Function returns crack width

Parameters:
ipp - integration point number
im - index of given material
ido - index of the first internal variable for given material in the ipp eqother array
Returns:
Function returns crack width.

Created by Tomas Koudelka

Definition at line 3666 of file mechmat.cpp.

References effective_stress, scaldam::give_crackwidth(), intpoints::idm, ip, nonlocdamgmat, print_err(), scaldamage, and scdam.

Referenced by givemechq().

double give_dampar ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns damage parameter omega

double give_dampar ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns damage parameter omega

Function returns damage parameter omega for given material im.

Parameters:
ipp - integration point number
im - index of given material
ido - index of the first internal variable for given material in the ipp eqother array
Returns:
Function returns damage parameter.

Created by Tomas Koudelka

Definition at line 3596 of file mechmat.cpp.

References effective_stress, scaldam::givedamage(), intpoints::idm, ip, nonlocdamgmat, print_err(), scaldamage, and scdam.

Referenced by givemechq().

double give_first_derivative ( long  ipp,
double  r 
)

returns the first derivative of lenjones potential

double give_first_derivative ( long  ipp,
double  r 
)

returns the first derivative of lenjones potential

The function returns actual value of of the first derivative of lenjones potential with respect to ???

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of the first derivative.

Created by JK,

Definition at line 8500 of file mechmat.cpp.

References lenjonesmat::first_derivative(), intpoints::idm, ip, lenjon, lenjonespot, and print_err().

Referenced by elemparticle::forces_1d(), elemparticle::forces_2d(), elemparticle::forces_3d(), elemparticle::stiffmat_1d_kii(), elemparticle::stiffmat_1d_kij(), elemparticle::stiffmat_2d_kii(), elemparticle::stiffmat_2d_kij(), elemparticle::stiffmat_3d_kii(), and elemparticle::stiffmat_3d_kij().

double give_iniporosity ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns initial porosity for Cam-Clay type models

double give_iniporosity ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns initial porosity for Cam-Clay type models

Function returns initial porosity especially for plasticity models. It is used for transfer required mechanical values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function returns actual value of initial porosity.

Created by Tomas Koudelka 8.10.2013

Definition at line 3474 of file mechmat.cpp.

References cclay, cclayc, damage_plasticity, effective_stress, hypoplast::give_iniporosity(), camclaycoup::give_iniporosity(), camclay::give_iniporosity(), hypopl, hypoplastmat, intpoints::idm, ip, modcamclaycoupmat, modcamclaymat, and print_err().

Referenced by givemechq().

double give_initial_nu ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns initial Poissons ratio for given integration point

double give_initial_nu ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns initial Poissons ratio for given integration point

Function returns initial value of the Poisson's ratio for given material and in the required integration point.

Parameters:
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp eqother array. The standard value is zero.
Returns:
Function returns value of Poisson's ratio.

Created by Tomas Koudelka, 7.2008

Definition at line 3106 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, chenplast, consolidation, creep_damage, creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, effective_stress, eliso, elisomat, timeswmat::give_actual_nu(), give_actual_nu(), givencompeqother(), glasgowdamage, glasgowmechmat, intpoints::idm, ip, jflow, jflow2, lemaitr, microfibro, microplaneM4, microsimp, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, varelastisomat::nu, elastisomat::nu, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, time_switchmat, tswmat, varelisomat, veliso, viscoplasticity, and winklerpasternak.

Referenced by drprag2::getImportantValues(), and camclay::give_actual_nu().

double give_initial_ym ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns initial Young modulus for given integration point

double give_initial_ym ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns initial Young modulus for given integration point

Function returns initial value of the Young modulus for given material and in the required integration point.

Parameters:
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp eqother array. The standard value is zero.
Returns:
Function returns value of initial Young modulus.

Created by Tomas Koudelka, 8.2008

Definition at line 2922 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, chenplast, consolidation, creep_compute_inital_ym(), creep_damage, creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, varelastisomat::e, elastisomat::e, effective_stress, eliso, elisomat, timeswmat::give_initial_ym(), givencompeqother(), glasgowdamage, glasgowmechmat, intpoints::idm, ip, jflow, jflow2, lemaitr, microfibro, microplaneM4, microsimp, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, time_switchmat, tswmat, varelisomat, veliso, viscoplasticity, and winklerpasternak.

Referenced by drprag2::getImportantValues(), camclay::give_actual_ym(), timeswmat::give_initial_ym(), and creep_effym::nlstresses().

void give_interparam ( long  ipp,
long  im,
long  ido,
vector q 
)

returns vector of hardening parameters

void give_interparam ( long  ipp,
long  im,
long  ido,
vector q 
)

returns vector of hardening parameters

Function gives internal parameters of the required material model.

Parameters:
ipp - number of integration point
im - index of the material
ido - index in the eqother array
q - array containing internal parameters
Returns:
The function returns vector of internal parameters in the parameter q.

Created by JK,

Definition at line 6721 of file mechmat.cpp.

References boermaterial, druckerprager, druckerprager2, j2flow::give_interparam(), splas1d::give_interparam(), intpoints::idm, ip, j2f, jflow, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, print_err(), simplas1d, and spl1d.

Referenced by visplast::nlstressesincr().

void give_kappa ( long  ipp,
long  im,
long  ido,
vector kappa 
)

returns equivalent strain for damage models

void give_kappa ( long  ipp,
long  im,
long  ido,
vector kappa 
)

returns equivalent strain for damage models

Function returns actual value of equivalent strain norm for scalar damage models. It is used in nonlocal models and thus it returns value from OTHER array i.e. from the disequilibrium state !!!

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
kappa - output parameter
Returns:
Function does not return anything

Created by Tomas Koudelka, 10.2009

Function returns actual value of equivalent strain norm for scalar damage models. It is used in nonlocal models and thus it returns value from OTHER array i.e. from the nonequilibrium state !!!

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
kappa - output parameter
Returns:
Function does not return anything

Created by Tomas Koudelka, 10.2009

Definition at line 3703 of file mechmat.cpp.

References ip, intpoints::other, print_err(), scaldamage, and scaldamagecc.

Referenced by nonlocdamg::give_aver_quantv().

long give_num_averq ( long  ipp,
long  im 
)

returns the number of averaged local values.

long give_num_averq ( long  ipp,
long  im 
)

returns the number of averaged local values.

The function returns the number of averaged local values.

Parameters:
ipp - integration point pointer
im - material index
Returns:
The function returns the number of averaged local values.

Created by Tomas Koudelka, 10.2009

Definition at line 5315 of file mechmat.cpp.

References creep_damage, nonlocdamg::give_num_averq(), nonlocplast::give_num_averq(), nonlocmicroM4::give_num_averq(), intpoints::idm, ip, nldamg, nlplast, nmpM4, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, and print_err().

Referenced by nonlocdamg::average(), init_ip_2(), planeelemlq::mechq_nodval_comp(), and barel2d::mechq_nodval_comp().

long give_num_interparam ( long  ipp,
long  idpm 
)

returns the number of internal(hardening) parameters for plasticity models

long give_num_interparam ( long  ipp,
long  idpm 
)

returns the number of internal(hardening) parameters for plasticity models

Function returns number of internal parameters for material models of plasticity.

Parameters:
ipp - integration point number in the mechmat ip array.
idpm - index of material which is plasticty.
Returns:
Function returns number of material parameters.

Created by JK,

Definition at line 6665 of file mechmat.cpp.

References boermaterial, druckerprager, druckerprager2, j2flow::give_num_interparam(), splas1d::give_num_interparam(), intpoints::idm, ip, j2f, jflow, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, print_err(), simplas1d, and spl1d.

double give_preconspress ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns preconsolidation pressure for Cam-Clay type models

double give_preconspress ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns preconsolidation pressure for Cam-Clay type models

Function returns preconsolidation pressure especially for plasticity models. It is used for transfer required mechanical values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function returns actual value of preconsolidation pressure.

Created by Tomas Koudelka 8.10.2013

Definition at line 3382 of file mechmat.cpp.

References cclay, cclayc, damage_plasticity, effective_stress, camclaycoup::give_preconspress(), camclay::give_preconspress(), intpoints::idm, ip, modcamclaycoupmat, modcamclaymat, and print_err().

Referenced by givemechq().

double give_proczonelength ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns length of process zone

double give_proczonelength ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns length of process zone

Function returns length of process zone for given material im.

Parameters:
ipp - integration point number
im - index of given material
ido - index of the first internal variable for given material in the ipp eqother array
Returns:
Function returns length of process zone.

Created by Tomas Koudelka

Definition at line 3631 of file mechmat.cpp.

References effective_stress, scaldam::give_proczonelength(), intpoints::idm, ip, nonlocdamgmat, print_err(), scaldamage, and scdam.

Referenced by givemechq().

void give_reqnmq ( long  ipp,
long  im,
long *  anmq 
)

marks required types of non-mechanical quantities by the given material model in the given int. point

void give_reqnmq ( long  ipp,
long  im,
long *  anmq 
)

marks required types of non-mechanical quantities by the given material model in the given int. point

The function marks required types of non-mechanical quantities by im-th material model in the given int. point ipp. Type of required quantities are marked by 1 in the array anmq whose length is equaled to the total number of known non-mechanical quantities.

Parameters:
ipp - integration point id
im - index of tested material model on the integration point
anmq - array with flags for used material types anmq[i] = 1 => qunatity type nonmechquant(i+1) is required anmq[i] = 0 => qunatity type nonmechquant(i+1) is not required
Returns:
The function does not return anything, but it may change content of anmq array.

Created by Tomas Koudelka, 11.10.2013

Definition at line 3903 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cclayc, cebfipcontmat, chenplast, consolidation, contmat, crb3, creep_damage, creepb3, creepbaz, creepdpl, creepeffym, creeprs, crrs, damage_plasticity, druckerprager, druckerprager2, effective_stress, effstr, elgmat3d, elisomat, geoelast, shrinkmat::give_reqnmq(), effstress::give_reqnmq(), therisomat::give_reqnmq(), hypoplast::give_reqnmq(), camclaycoup::give_reqnmq(), b3mat::give_reqnmq(), rspecmat::give_reqnmq(), glasgowdamage, glasgowmechmat, graphm, hypopl, hypoplastmat, ip, jflow, jflow2, lemaitr, lenjonespot, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), relaxationeuro, scaldamage, scaldamagecc, shefpl, shmat, shrinkagemat, simplas1d, simvisc, therisodilat, tidilat, time_switchmat, varelisomat, viscoplasticity, and winklerpasternak.

Referenced by search_reqnmq(), trfel_mefel_by_nodes(), and trfel_mefel_copyip().

double give_second_derivative ( long  ipp,
double  r 
)

returns the second derivative of lenjones potential

double give_second_derivative ( long  ipp,
double  r 
)

returns the second derivative of lenjones potential

The function returns actual value of the first derivative of lenjones potential with respect to ???

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of the second derivative.

Created by JK,

Definition at line 8529 of file mechmat.cpp.

References intpoints::idm, ip, lenjon, lenjonespot, print_err(), and lenjonesmat::second_derivative().

Referenced by elemparticle::stiffmat_1d_kii(), elemparticle::stiffmat_1d_kij(), elemparticle::stiffmat_2d_kii(), elemparticle::stiffmat_2d_kij(), elemparticle::stiffmat_3d_kii(), and elemparticle::stiffmat_3d_kij().

double give_virgporosity ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns virgin porostity for Cam-Clay type models

double give_virgporosity ( long  ipp,
long  im = 0,
long  ido = 0 
)

returns virgin porostity for Cam-Clay type models

Function returns virgin porosity especially for plasticity models. It is used for transfer required mechanical values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function returns actual value of consistency parameter.

Created by Tomas Koudelka 8.10.2013

Definition at line 3426 of file mechmat.cpp.

References cclay, cclayc, damage_plasticity, effective_stress, hypoplast::give_virgporosity(), camclaycoup::give_virgporosity(), camclay::give_virgporosity(), hypopl, hypoplastmat, intpoints::idm, ip, modcamclaycoupmat, modcamclaymat, and print_err().

Referenced by givemechq().

void giveeigstrain ( long  ipp,
long  fi,
long  ncomp,
vector eps 
)

retruns given eigenstrain components for given int. point

void giveeigstrain ( long  ipp,
vector eps 
)

retruns eigenstrains for given int. point

void giveeigstrain ( long  ipp,
long  fi,
long  ncomp,
vector eps 
)

retruns given eigenstrain components for given int. point

Function restores part of eigenstrains.

Parameters:

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of selected components
eps - vector containing strain components (output)
Returns:
The function returns part of eigenstrain vector in the parameter eps.

Created by JK, 17.7.2001

Definition at line 2181 of file mechmat.cpp.

References eigstrain, eigstrains, est, tempstrain, and tempstrains.

void giveeigstrain ( long  ipp,
vector eps 
)
void giveeigstress ( long  ipp,
long  fi,
long  ncomp,
vector sig 
)

returns given eigenstress components on given int. point

void giveeigstress ( long  ipp,
long  fi,
vector sig 
)

returns eigenstress components from given id on given int. point

void giveeigstress ( long  ipp,
vector sig 
)

returns eigenstresses for given int. point

void giveeigstress ( long  ipp,
long  fi,
long  ncomp,
vector sig 
)

returns given eigenstress components on given int. point

Function restores part of eigenstress vector.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of selected components
sig - vector containing eigenstress components (output)
Returns:
The function returns part of eigenstress vector in the parameter sig.

Created by JK, 29.4.2008

Definition at line 2310 of file mechmat.cpp.

References eigstresses.

void giveeigstress ( long  ipp,
long  fi,
vector sig 
)

returns eigenstress components from given id on given int. point

Function restores eigenstress.

Parameters:
ipp - integration point pointer
fi - first index
sig - vector containing stress components (output)
Returns:
The function returns part of eigenstress vector in the parameter sig.

Created by JK, 29.4.2008

Definition at line 2285 of file mechmat.cpp.

References eigstresses, and vector::n.

void giveeigstress ( long  ipp,
vector sig 
)

returns eigenstresses for given int. point

Function returns eigenstresses.

Parameters:
ipp - integration point pointer
sig - vector containing stress components (output)
Returns:
The function returns vector of eigenstresses in the parameter sig.

Created by JK, 27.11.2006

Definition at line 2262 of file mechmat.cpp.

References eigstresses, and vector::n.

Referenced by givequantity().

void giveeqother ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

returns given internal variable components on given int. point

void giveeqother ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

returns given internal variable components on given int. point

Function restores part of array eqother to vector comp.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
comp - array containing components (output)
Returns:
The function returns part of eqother array in the parameter comp.

Created by JK, 5.11.2002

Definition at line 2358 of file mechmat.cpp.

References intpoints::eqother, and ip.

Referenced by 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(), and axisymlq::nod_eqother_ip().

void giveirrstrains ( long  ipp,
long  im,
long  ido,
vector epsirr 
)

return irreversible strains for nonlinear material models

void giveirrstrains ( long  ipp,
long  im,
long  ido,
vector epsirr 
)

return irreversible strains for nonlinear material models

Function returns irreversible strains for given material im.

Parameters:
ipp - integration point number
im - index of given material
ido - index of the first internal variable for given material in the ipp eqother array
epsirr - vector of irreversible strains
Returns:
Function returns vector of irreversible strains via parameter epsirr.

Created by Tomas Koudelka

Definition at line 3734 of file mechmat.cpp.

References boerm, boermaterial, cclay, cclayc, chenplast, crbaz, creep_giveirrstrains(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, drprm, drprm2, druckerprager, druckerprager2, effective_stress, fillv(), shrinkmat::giveirrstrains(), creepb::giveirrstrains(), hissplas::giveirrstrains(), camclaycoup::giveirrstrains(), camclay::giveirrstrains(), drprag2::giveirrstrains(), drprag::giveirrstrains(), boermat::giveirrstrains(), mohrcoulombpar::giveirrstrains(), mohrcoulomb::giveirrstrains(), j2flow2::giveirrstrains(), j2flow::giveirrstrains(), splas1d::giveirrstrains(), hisspl, hissplasmat, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, mcoul, mcpar, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, print_err(), shmat, shrinkagemat, simplas1d, and spl1d.

Referenced by nonlocplast::give_aver_quantv(), shrinkmat::giveirrstrains(), creepdam::nlstresses(), and creepdam::nonloc_nlstresses().

double givemechq ( nontransquant  qt,
long  ipp 
)

returns required mechanical quantity for passed to TRFEL

double givemechq ( nontransquant  qt,
long  ipp 
)

returns required mechanical quantity for passed to TRFEL

Function returns required mechanical quantity stored at integration point for TRFEL .

Parameters:
qt - type of required quantity
ipp - number of integration point
Returns:
The function returns required vector of quantitiy in the parameter ipv.

Created by Tomas Koudelka, 8.10.2013

Definition at line 3311 of file mechmat.cpp.

References crack_width, first_invar(), give_crackwidth(), give_dampar(), give_iniporosity(), give_preconspress(), give_proczonelength(), give_virgporosity(), givenonmechq(), givestatusnmq(), givestress(), init_porosity, ip, mean_stress_eff, Mm, intpoints::ncompstr, pore_pressure, precons_press, print_err(), proc_zone_length, scal_iso_damage, intpoints::ssst, stress, vector_tensor(), and virgin_porosity.

Referenced by planeelemlq::mechq_nodval(), barel2d::mechq_nodval(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), and mefel_trfel_copyip().

long givencompeqother ( long  ipp,
long  im 
)

returns the number of eqother array components on given int. point (num. of internal variables used by material models)

long givencompeqother ( long  ipp,
long  im 
)

returns the number of eqother array components on given int. point (num. of internal variables used by material models)

The function returns the number of components of ipp's eqother array. Material type is given by the im parameter, which means index of material in the tm array of the given integration point ipp.

Parameters:
ipp - integration point pointer
im - index of material
Returns:
The function returns total number of components of eqother array.

Created by Tomas Koudelka, 5.11.2003

Definition at line 2506 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cebfipcontmat, chenplast, consolidation, contmat, crbaz, creep_damage, creep_ncompo(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, csol, damage_plasticity, druckerprager, druckerprager2, effective_stress, elgmat3d, elisomat, geoelast, timeswmat::givencompeqother(), glasgowdamage, glasgowmechmat, graphm, hypopl, hypoplastmat, intpoints::idm, ip, jflow, jflow2, lemaitr, lenjonespot, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, mpfib, mpM4, mpSIM, intpoints::ncompstr, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, hypoplast::nstatv, consol::numberOfConsol(), creepb::numberOfCreepb(), microfiber::numberOfMicroplanes, microSIM::numberOfMicroplanes, microM4::numberOfMicroplanes, ortodamage, ortodamagerot, print_err(), relaxationeuro, scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, therisodilat, time_switchmat, tswmat, varelisomat, viscoplasticity, and winklerpasternak.

Referenced by intpoints::alloc(), intpoints::alloc_other(), layplate::compeqother(), scaldamcc::elmatstiff(), scaldam::elmatstiff(), ortodamrot::elmatstiff(), ortodam::elmatstiff(), creepdam::give_actual_fc(), timeswmat::give_actual_ft(), damplast::give_actual_ft(), timeswmat::give_actual_nu(), camclay::give_actual_nu(), give_actual_nu(), timeswmat::give_actual_ym(), camclay::give_actual_ym(), give_actual_ym(), give_aver_quantv(), give_initial_nu(), timeswmat::give_initial_ym(), give_initial_ym(), creep_effym::giveirrstrains(), timeswmat::givencompeqother(), timeswmat::givencompother(), givencompother(), timeswmat::initvalues(), creepdam::initvalues(), timeswmat::matstiff(), creepdam::matstiff(), timeswmat::nlstresses(), creepdam::nlstresses(), 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(), creepdam::nonloc_nlstresses(), nonlocaverage(), layplate::stress_calc(), timeswmat::updateval(), scaldamcc::updateval(), scaldam::updateval(), ortodamrot::updateval(), ortodam::updateval(), mohrcoulombpar::updateval(), mohrcoulomb::updateval(), j2flow2::updateval(), j2flow::updateval(), hypoplast::updateval(), glasgowdam::updateval(), drprag::updateval(), creepdam::updateval(), creep_effym::updateval(), contactmat::updateval(), consol::updateval(), chen::updateval(), cebfipcontactmat::updateval(), boermat::updateval(), anisodamrot::updateval(), anisodam::updateval(), drprag2::updateval(), doubdp::updateval(), and layplate::updateval().

long givencompother ( long  ipp,
long  im 
)

returns the number of other array components on given int. point (num. of internal variables used by material models)

long givencompother ( long  ipp,
long  im 
)

returns the number of other array components on given int. point (num. of internal variables used by material models)

The function returns the number of components of ipp's other array. Material type is given by the im parameter, which means index of material in the array tm of given integration point ipp.

Parameters:
ipp - integration point pointer
im - index of material
Returns:
The function returns total number of components of other array.

Created by Tomas Koudelka, 5.11.2003

Definition at line 2406 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cebfipcontmat, chenplast, consolidation, contmat, creep_damage, creep_ncompo(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, effective_stress, elgmat3d, elisomat, geoelast, givencompeqother(), timeswmat::givencompother(), glasgowdamage, glasgowmechmat, graphm, hypoplastmat, intpoints::idm, ip, jflow, jflow2, lemaitr, lenjonespot, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, intpoints::ncompstr, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), relaxationeuro, scaldamage, scaldamagecc, shefpl, shrinkagemat, simplas1d, simvisc, therisodilat, time_switchmat, tswmat, varelisomat, viscoplasticity, and winklerpasternak.

Referenced by intpoints::alloc(), intpoints::alloc_other(), layplate::compother(), damplast::matstiff(), damplast::nlstresses(), visplast::nlstressesincr(), stiff_deps_vispl(), microSIM::updateval(), microM4::updateval(), microfiber::updateval(), and damplast::updateval().

void givenonloc ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

returns given nonlocal values from integration point

void givenonloc ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

returns given nonlocal values from integration point

Function restores part of array nonloc to vector comp.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
comp - array containing components (output)
Returns:
The function returns part of nonloc array in the parameter comp.

Created by TKo, 29.11.2013

Definition at line 2745 of file mechmat.cpp.

References ip, and intpoints::nonloc.

long givenonlocid ( long  ipp  ) 

returns id of the first non-local material model defined in the given int. point

long givenonlocid ( long  ipp  ) 

returns id of the first non-local material model defined in the given int. point

Function searches index of nonlocal material type at given integration point.

Parameters:
ipp - integration point id
Return values:
>= 0 in case that the nonlocal material type was found
< 0 in case that the integration point has no nonlocal material type

Created by Tomas Koudelka, 8.2008

Definition at line 5432 of file mechmat.cpp.

References ip, intpoints::nm, nonlocalmicroM4, nonlocdamgmat, and nonlocplastmat.

Referenced by adjacip(), give_max_adjacip(), init_ip_2(), planeelemlq::mechq_nodval_comp(), and barel2d::mechq_nodval_comp().

double givenonmechq ( nonmechquant  qt,
long  ipp 
)

returns given non-mechanical quantity from nonmechq array on given integration point

double givenonmechq ( nonmechquant  qt,
long  ipp 
)

returns given non-mechanical quantity from nonmechq array on given integration point

The function returns required non-mechanical quantity stored in the nonmechq array. It is used either in case of prescribed temperature changes in the input file or in case of coupled problems for retrieving of values passed between MEFEL and TRFEL.

Parameters:
qt - type of required quantity
ipp - integration point id
Returns:
The function returns required non-mechanical quantity.

Created by Tomas Koudelka, 7.10.2013

Definition at line 4002 of file mechmat.cpp.

References nmqid, nonmechq, nonmechquantstr, and print_err().

Referenced by b3mat::b3_law(), rspecmat::compute_actual_ft(), rspecmat::compute_beta_t(), b3mat::compute_beta_t(), camclaycoup::der_q_gamma(), glasgownew::free_thermal_strains(), rspecmat::give_deps_free(), b3mat::give_deps_free(), rspecmat::give_deps_stressinduced(), b3mat::give_deps_stressinduced(), rspecmat::give_J_E_mu(), givemechq(), shrinkmat::initvalues(), rspecmat::initvalues(), b3mat::initvalues(), glasgownew::material_matrix_fts(), creepb::matstiff(), creepbs::matstiffchange(), creepb::matstiffchange(), glasgownew::nlstresses(), glasgmech::nlstresses(), effstress::nlstresses(), creepbs::nlstresses(), creepb::nlstresses(), shrinkmat::nlstressesincr(), nodal_pore_press_forces(), rspecmat::store_hum_eqother(), b3mat::store_hum_eqother(), rspecmat::store_temp_eqother(), b3mat::store_temp_eqother(), therisomat::temprstrains(), camclaycoup::updateq(), and glasgownew::updateval().

long givenonmechqid ( nonmechquant  qt  ) 

returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)

long givenonmechqid ( nonmechquant  qt  ) 

returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)

The function returns index of required non-mechanical quantity, i.e the firs index of nonmechq array.

Parameters:
qt - type of required quantity
Return values:
-1 - the quantity is not defined in the problem solved
>-1 - index of required the quantity

Created by Tomas Koudelka, 7.10.2013

Definition at line 4075 of file mechmat.cpp.

References nmqid.

void givequantity ( integratedquant  iq,
long  lcid,
long  ipp,
long  fi,
vector ipv 
)

returns tensor quantity for integral B^T {q} dV on element (nodal force computation)

void givequantity ( integratedquant  iq,
long  lcid,
long  ipp,
long  fi,
vector ipv 
)

returns tensor quantity for integral B^T {q} dV on element (nodal force computation)

Function assembles required quantity stored at integration point.

Parameters:
iq - id of required quantity
lcid - load case id
ipp - number of integration point
fi - first index
ipv - array of required values from integration point
Returns:
The function returns required vector of quantitiy in the parameter ipv.

Created by JK, TKo, 29.4.2008

Definition at line 2783 of file mechmat.cpp.

References eigstress, giveeigstress(), givestress(), givestressincr(), locstress, nonlocstress, print_err(), and stressincr.

Referenced by 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(), and lintet::elem_integration_quant().

long givestatusnmq ( nonmechquant  qt  ) 

returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)

long givestatusnmq ( nonmechquant  qt  ) 

returns status of non-mechanical quantity (stored in nonmechq 1, otherwise 0)

The function returns status of required non-mechanical quantity, i.e whether the given quantity is defined in the problem or not.

Parameters:
qt - type of required quantity
Return values:
0 - the quantity is not defined in the problem solved
1 - the quantity is defined in the problem solved

Created by Tomas Koudelka, 7.10.2013

Definition at line 4054 of file mechmat.cpp.

References nmqid.

Referenced by rspecmat::compute_beta_t(), b3mat::compute_beta_t(), givemechq(), rspecmat::initvalues(), b3mat::initvalues(), rspecmat::store_hum_eqother(), b3mat::store_hum_eqother(), rspecmat::store_temp_eqother(), and b3mat::store_temp_eqother().

void givestrain ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector eps 
)

retruns given number of strain components from given index on int. point for given load case

void givestrain ( long  lcid,
long  ipp,
long  fi,
vector eps 
)

returns strain components from given index on int. point for given load case

void givestrain ( long  lcid,
long  ipp,
vector eps 
)

returns strains on given int. point for given load case

void givestrain ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector eps 
)

retruns given number of strain components from given index on int. point for given load case

Function restores part of strains to vector eps. ncomp is explicitly defined in order to restore part of the vector eps

Parameters:

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
ncomp - number of components
eps - vector containing strain components (output)
Returns:
The function returns part of the strain vector in the parameter eps.

Created by JK, 5.8.2001

Definition at line 1856 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::strain.

void givestrain ( long  lcid,
long  ipp,
long  fi,
vector eps 
)

returns strain components from given index on int. point for given load case

Function restores part of strains to vector eps.

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
eps - vector containing strain components (output)
Returns:
The function returns part of the strain vetcor in the parameter eps.

Created by JK, 5.8.2001

Definition at line 1827 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::strain.

void givestrain ( long  lcid,
long  ipp,
vector eps 
)

returns strains on given int. point for given load case

Function restores all strains to vector eps.

Parameters:
lcid - load case id
ipp - integration point pointer
eps - vector containing strain components (output)
Returns:
The function returns vector of strains in the parameter eps.

Created by JK, 5.8.2001

Definition at line 1801 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::strain.

Referenced by axisymlq::allip_strains(), soilplatetr::allip_stresses(), soilplateq::allip_stresses(), quadtet::aver_strains(), planeelemlt::compute_error(), lintet::compute_error(), planeelemlt::elchar(), planeelemlq::elchar(), lintet::elchar(), soilplateq::elem_strains(), planeelemsubqt::elem_strains(), planeelemrotlt::elem_strains(), planeelemqt::elem_strains(), linhex::elem_strains(), axisymqq::elem_strains(), axisymlq::elem_strains(), barel3d::find_extreme_strains(), drprag2::getImportantValues(), camclay::give_actual_ym(), planeelemlq::gl_ip_strains(), 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(), 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(), geoelastmat::nlstresses(), drprag2::nlstresses(), 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(), 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_old(), planeelemlt::ntdbr_vector(), lintet::ntdbr_vector(), adaptivity::spr(), stress_initdispl(), and springel::stresses().

void givestress ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector sig 
)

retruns given number of stress components from given index on int. point for given load case

void givestress ( long  lcid,
long  ipp,
long  fi,
vector sig 
)

returns stress components from given index on int. point for given load case

void givestress ( long  lcid,
long  ipp,
vector sig 
)

returns stresses on given int. point for given load case

void givestress ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector sig 
)

retruns given number of stress components from given index on int. point for given load case

Function restores part of stresses to vector sig. ncomp is explicitly defined in order to restore part of the vector sig

Parameters:

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
ncomp - number of components
sig - vector containing stress components (output)
Returns:
The function returns of the stress vector in the parameter sig.

Created by JK, 5.8.2001

Definition at line 2062 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::stress.

void givestress ( long  lcid,
long  ipp,
long  fi,
vector sig 
)

returns stress components from given index on int. point for given load case

Function restores part of stresses to vector sig.

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
sig - vector containing stress components (output)
Returns:
The function returns of the stress vector in the parameter sig.

Created by JK, 5.8.2001

Definition at line 2033 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::stress.

void givestress ( long  lcid,
long  ipp,
vector sig 
)

returns stresses on given int. point for given load case

Function restores all stresses to vector sig.

Parameters:
lcid - load case id
ipp - integration point pointer
sig - vector containing stress components (output)
Returns:
The function returns stress vector in the parameter sig.

Created by JK, 5.8.2001

Definition at line 2007 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::stress.

Referenced by axisymlq::allip_stresses(), quadhex::aver_strains(), linhexrot::aver_strains(), linhex::aver_strains(), planeelemlt::compute_error(), q4plate::compute_nlstress(), dstelem::compute_nlstress(), dktelem::compute_nlstress(), cctelem::compute_nlstress(), ArgyrisTriangle::compute_nlstress(), soilplateq::compute_nonloc_nlstress(), planeelemlt::elchar(), planeelemlq::elchar(), femplast_epressure(), linhex::find_extreme_strains(), linhex::find_extreme_stresses(), barel3d::find_extreme_stresses(), camclay::give_actual_ym(), givemechq(), givequantity(), linhex::gl_internal_forces(), planeelemlq::gnl_internal_forces(), linhexrot::gnl_internal_forces(), linhex::gnl_internal_forces(), planeelemlq::gnl_stiffness_matrix(), linhexrot::gnl_stiffness_matrix(), linhex::gnl_stiffness_matrix(), springel::internal_forces(), soilbeam::internal_forces(), linhex::internal_forces(), axisymqq::internal_forces(), axisymlq::internal_forces(), soilbeam::internal_forces1(), linhex::internal_forces2(), soilplateq::local_values(), camclay::matstiff(), geoelastmat::nlstresses(), effstress::nlstresses(), camclaycoup::nlstresses(), camclay::nlstresses(), 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(), linhex::nonloc_internal_forces(), adaptivity::spr(), shefplast::tangentstiff(), mohrcoulomb::tangentstiff(), j2flow2::tangentstiff(), j2flow::tangentstiff(), drprag::tangentstiff(), and chen::tangentstiff().

void givestressincr ( long  lcid,
long  ipp,
long  im,
long  ido,
long  fi,
vector sig 
)

returns stress increments due to visco-plastic strains on int. point for given load case

void givestressincr ( long  lcid,
long  ipp,
long  im,
long  ido,
long  fi,
vector sig 
)

returns stress increments due to visco-plastic strains on int. point for given load case

Function restores part of stress increments to vector sig.

Parameters:
lcid - load case id
ipp - integration point number
im - index of the material in the tm and idm arrays on integration point
ido - index of internal variables in the ip's ipp eqother array
fi - first index of the required stress increment component
sig - vector containing stress increment components (output)
Returns:
The function returns vector of stress increments in the parameter sig.

Created by JK, TKo, 29.4.2008

Definition at line 8181 of file mechmat.cpp.

References anisodamage, anisodamagerot, boermaterial, cebfipcontmat, chenplast, contmat, creep_damage, creep_givestressincr(), creepb3, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, effective_stress, elisomat, fillv(), geoelast, hypoplast::givestressincr(), visplast::givestressincr(), shrinkmat::givestressincr(), glasgowdamage, glasgowmechmat, graphm, hypopl, hypoplastmat, intpoints::idm, ip, jflow, jflow2, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, shefpl, shmat, shrinkagemat, simplas1d, simvisc, varelisomat, viscoplasticity, visplas, and winklerpasternak.

Referenced by givequantity(), and shrinkmat::givestressincr().

void hardsoftfunction ( long  ipp,
long  idpm,
matrix sigt,
vector q,
vector h 
)

retruns the actual value of hardening/softening function

void hardsoftfunction ( long  ipp,
long  idpm,
matrix sigt,
vector q,
vector h 
)

retruns the actual value of hardening/softening function

Function computes hardening/softening function for required parameters.

Parameters:
ipp - integration point id
idpm - id of plastic material
sigt - stress components stored in 3x3 matrix
q - internal parameters
h - values of hardening function stored in vector
Returns:
The function returns values of hardening/softening function in the parameter h.

JK, 3.2.2007

Definition at line 6495 of file mechmat.cpp.

References chenplast, chplast, chen::hvalues(), intpoints::idm, ip, and print_err().

Referenced by newton_stress_return(), and newton_stress_return_2().

void init_ip_1 ( void   ) 

the first stage of int. point intialization - setting of ncompstr, ssst according to used elements

void init_ip_1 ( void   ) 

the first stage of int. point intialization - setting of ncompstr, ssst according to used elements

Function initiates integration point variables that determine the number of strain/stress components and stress/strain state.

Returns:
The function does not return anything.

Created by JK, 21.8.2001

Definition at line 456 of file mechmat.cpp.

References mechtop::elements, mechtop::give_nb(), mechtop::give_ncomp(), mechtop::give_nip(), mechtop::give_ssst(), ip, element::ipp, Mt, intpoints::ncompstr, mechtop::ne, planestrain, planestress, and intpoints::ssst.

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

void init_ip_2 ( void   ) 

the second stage of int. point intialization - allocation of strain/stress/eqother/other on int. points

void init_ip_2 ( void   ) 

the second stage of int. point intialization - allocation of strain/stress/eqother/other on int. points

Function initiates integration point variables. Allocation of strain/stress/eqother/other arrays is performed for each int. point. If the temperature models are detected and temprature load was defined in the MEFEL input file then nonmechq array is allocated due to storage of temperature and initial temperature.

Returns:
The function does not return anything.

Created by JK, 21.8.2001

Definition at line 503 of file mechmat.cpp.

References intpoints::alloc(), alloc_nonmechq(), give_num_averq(), givenonlocid(), intpoints::hmt, ip, Mb, Mp, mechbclc::nlc, nmqid, nmqo, probdesc::pore_press, search_reqnmq(), probdesc::temperature, and tnip.

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

void initmaterialmodels ( long  lcid  ) 

initailizes material models for all int. points before begining of main computation procedure

void initmaterialmodels ( long  lcid  ) 
void initvalues ( long  lcid,
long  ipp,
long  im,
long  ido 
)

initailizes material models for the given int. point

void initvalues ( long  lcid,
long  ipp,
long  im,
long  ido 
)

initailizes material models for the given int. point

Function initializes values of internal material variables at integration point ipp for given material im.

Parameters:
lcid - load case id
ipp - integration point pointer
im - index of material type for given ip
ido - index of internal variables for given material in the ipp eqother array
Returns:
The function deos not return anything.

Created by Tomas Koudelka

Definition at line 1564 of file mechmat.cpp.

References aci, anidam, anidamrot, anisodamage, anisodamagerot, boermaterial, cclay, cclayc, cebfip, cebfipcontmat, chenplast, compute_ipstrains(), consolidation, contmat, crdam, creep_damage, creep_initmaterialmodel(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, damage_plasticity, druckerprager, druckerprager2, effective_stress, effstr, elisomat, geoelast, glasgowdamage, glasgowmechmat, graphm, hypopl, hypoplastmat, intpoints::idm, hypoplast::initval(), camclaycoup::initval(), camclay::initval(), anisodamrot::initvalues(), anisodam::initvalues(), ortodamrot::initvalues(), ortodam::initvalues(), effstress::initvalues(), timeswmat::initvalues(), shrinkmat::initvalues(), creepdam::initvalues(), ip, jflow, jflow2, lemaitr, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, Mp, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), rcmatmodnorm, relaxationeuro, scaldamage, scaldamagecc, shefpl, shmat, shrinkagemat, simplas1d, simvisc, probdesc::strainstate, therisodilat, time_switchmat, tswmat, varelisomat, viscoplasticity, and winklerpasternak.

Referenced by initmaterialmodels(), timeswmat::initvalues(), shrinkmat::initvalues(), and creepdam::initvalues().

long intpnum ( void   ) 

determines number of integration points and sets integration point pointers on elements

long intpnum ( void   ) 

determines number of integration points and sets integration point pointers on elements

Function returns number of integration points and determines pointers to integration points on elements.

Returns:
The function returns number of integration points.

Created by JK, 8.7.2001

Definition at line 258 of file mechmat.cpp.

References mechtop::elements, mechtop::give_nb(), mechtop::give_nip(), element::ipp, Mt, and mechtop::ne.

Referenced by read().

void intpointalloc (  ) 

allocation of array of integration points

void intpointalloc (  ) 

allocation of array of integration points

Function allocates integration points.

Returns:
The function does not return anything.

Created by JK, 28.11.2006

Definition at line 288 of file mechmat.cpp.

References ip, and tnip.

Referenced by read().

void intpointinit (  ) 

zero stage of int. point intialization - copying material ids from elements to int. points

void intpointinit (  ) 

zero stage of int. point intialization - copying material ids from elements to int. points

Function defines material models on integration points. Material models are read on elements.

Returns:
The function does not return anything.

Created by JK, 28.11.2006

Definition at line 392 of file mechmat.cpp.

References effective_stress, mechtop::elements, elip, mechtop::give_nb(), mechtop::give_nip(), element::idm, ip, element::ipp, Mt, mechtop::ne, element::nm, intpoints::nm, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, relaxationeuro, therisodilat, element::tm, intpoints::tm, and tnip.

Referenced by read().

void loc_elmatstiff ( matrix d,
long  ipp 
)

computes elastic stiffness matrix in the local coordinate system

Function computes elastic stiffness matrix of the material in the local coordinate system for the required integration point.

Parameters:
d - local elastic stiffness matrix (output)
ipp - number of integration point
Returns:
The function returns local elastic stiffness matrix in the argument d.

Created by Tomas Koudelka, 19.12.2014

Definition at line 4615 of file mechmat.cpp.

References elorto, elortomat, intpoints::gemid(), intpoints::idm, ip, elastortomat::loc_matstiff(), and print_err().

Referenced by fixortodam::compute_eqdispl(), fixortodam::initval(), fixortodam::matstiff(), and fixortodam::secstiffmat().

void loc_transf_mat ( matrix tmat,
long  ipp 
)

returns transformation matrix to the material local coordinate system (x_g = T x_l)

Function returns transformation matrix from the local material coordinate system to the global one (x_g = T . x_l).

Parameters:
d - local elastic stiffness matrix (output)
ipp - number of integration point
Returns:
The function returns local elastic stiffness matrix in the argument d.

Created by Tomas Koudelka, 19.12.2014

Definition at line 4644 of file mechmat.cpp.

References elorto, elortomat, intpoints::gemid(), elastortomat::give_transf_mat(), intpoints::idm, ip, and print_err().

Referenced by fixortodam::matstiff(), and fixortodam::nlstresses().

void matdilat ( matrix d,
long  ipp 
)

computes thermal dilatancy matrix

void matdilat ( matrix d,
long  ipp 
)

computes thermal dilatancy matrix

Function computes matrix of thermal dilatancy of the material in the required integration point.

Parameters:
d - matrix of thermal dilatancy
ipp - number of integration point
Returns:
The function does not return anything.

Created by JK, 29.11.2002

Definition at line 5227 of file mechmat.cpp.

References intpoints::idm, ip, therisomat::matdilat(), intpoints::nm, print_err(), therisodilat, and tidilat.

Referenced by linhex::tempstrains(), axisymqq::tempstrains(), and axisymlq::tempstrains().

void matstiff ( matrix d,
long  ipp,
long  im = 0,
long  ido = 0 
)

computes the stiffness matrix for the given integration point and material

void matstiff ( matrix d,
long  ipp,
long  im = 0,
long  ido = 0 
)

computes the stiffness matrix for the given integration point and material

Function computes stiffness matrix of the material in the required integration point.

Parameters:
d - stiffness matrix (output)
ipp - number of integration point
im - index of the material in the ipp tm and idm arrays. The standard value is zero.
ido - index of internal variables in the ip's ipp other array
Returns:
The function returns stiffness matrix in the parametr d.

Created by JK, 17.7.2001

Definition at line 4108 of file mechmat.cpp.

References anidam, anidamrot, anisodamage, anisodamagerot, boerm, boermaterial, cclay, cclayc, cebfipconmat, cebfipcontmat, chenplast, chplast, conmat, consolidation, contmat, crbaz, crdam, creep_damage, creep_matstiff(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, creffym, csol, damage_plasticity, dampl, drprm, drprm2, druckerprager, druckerprager2, effective_stress, elgm3d, elgmat3d, eliso, elisomat, geoel, geoelast, glasgdam, glasgmat, glasgowdamage, glasgowmechmat, graphm, grmat, hisspl, hissplasmat, hypopl, hypoplastmat, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, shrinkmat::matstiff(), cebfipcontactmat::matstiff(), contactmat::matstiff(), visplast::matstiff(), damplast::matstiff(), winpast::matstiff(), consol::matstiff(), creep_effym::matstiff(), creepb::matstiff(), geoelastmat::matstiff(), varelastisomat::matstiff(), graphmat::matstiff(), anisodamrot::matstiff(), anisodam::matstiff(), ortodamrot::matstiff(), ortodam::matstiff(), scaldamcc::matstiff(), scaldam::matstiff(), timeswmat::matstiff(), creepdam::matstiff(), glasgowdam::matstiff(), glasgmech::matstiff(), hissplas::matstiff(), shefplast::matstiff(), hypoplast::matstiff(), camclaycoup::matstiff(), camclay::matstiff(), chen::matstiff(), drprag2::matstiff(), drprag::matstiff(), boermat::matstiff(), mohrcoulombpar::matstiff(), mohrcoulomb::matstiff(), microfiber::matstiff(), microSIM::matstiff(), microM4::matstiff(), j2flow2::matstiff(), j2flow::matstiff(), splas1d::matstiff(), elastgmat3d::matstiff(), elastisomat::matstiff(), mcoul, mcpar, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, mpfib, mpM4, mpSIM, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, scdam, scdamcc, shefpl, shmat, shpl, shrinkagemat, simplas1d, spl1d, time_switchmat, tswmat, varelisomat, veliso, viscoplasticity, visplas, winklerpasternak, and wpast.

Referenced by soilplatetr::allip_stresses(), soilplateq::allip_stresses(), 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(), soilplateq::compute_nonloc_nlstress(), lintet::dd_matrix(), lintetrot::eigstrain_forces(), lintet::eigstrain_forces(), linhex::eigstrain_forces(), planeelemqt::elchar(), planeelemqq::elchar(), planeelemlt::elchar(), planeelemlq::elchar(), lintet::elchar(), planeelemsubqt::elem_stresses(), planeelemrotlt::elem_stresses(), planeelemqt::elem_stresses(), linhex::elem_stresses(), axisymqq::elem_stresses(), axisymlq::elem_stresses(), dstelem::geom_matrix_shear(), planeelemlq::gl_stiffness_matrix(), linhexrot::gl_stiffness_matrix(), linhex::gl_stiffness_matrix(), planeelemlq::gnl_stiffness_matrix(), linhexrot::gnl_stiffness_matrix(), linhex::gnl_stiffness_matrix(), beamel3d::initstr_matrix(), beamel2d::initstr_matrix(), beamel2d::initstr_matrix_expl(), soilbeam::internal_forces(), beamgen3d::internal_forces(), beamel3d::internal_forces(), soilbeam::internal_forces1(), beamgen3d::internal_forces1(), 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(), beamgen3d::load_matrix(), beamel3d::load_matrix(), soilplateq::local_values(), 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(), beamel2d::mass_matrix(), beamel2d::mass_matrix_expl(), beam2dspec::mass_matrix_expl(), timeswmat::matstiff(), shrinkmat::matstiff(), creepdam::matstiff(), creep_effym::matstiff(), visplast::nlstresses(), glasgmech::nlstresses(), planeelemsubqt::nod_stresses(), planeelemrotlt::nod_stresses(), planeelemqt::nod_stresses(), linhex::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_old(), beamel2d::nodeforces(), planeelemqt::ntdbr_vector(), planeelemqq::ntdbr_vector(), planeelemlt::ntdbr_vector(), planeelemlq::ntdbr_vector(), lintet::ntdbr_vector(), creepbbeam::phase1(), creepbs::phase2(), creepbbeam::phase2(), creepb::phase2(), stiff_deps_vispl(), 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(), 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(), axisymlt::stiffness_matrix_block(), axisymlq::stiffness_matrix_blocks(), beamel2d::stiffness_matrix_expl(), beamel2d::stiffness_matrix_expl_local(), beamel3d::stiffness_matrix_local(), beamel3d::stiffness_matrix_local2(), stress_initdispl(), springel::stresses(), linhex::temp_forces(), axisymqq::temp_forces(), axisymlq::temp_forces(), and dstelem::tran_matrix().

void mult_surf_cutting_plane ( long  ipp,
vector epsn,
vector epsp,
vector gamma,
vector q 
)

multi-surface cutting plane stress return algorithm

void mult_surf_cutting_plane ( long  ipp,
vector epsn,
vector epsp,
vector gamma,
vector q 
)

multi-surface cutting plane stress return algorithm

Function returns stresses on surface of plasticity in multi-surface plasticity with hardening is assumed. Cutting plane method is used. Vectors epsp,gamma and q will be overwritten by new values.

Parameters:
ipp - integration point integer
epsn - new total strain components
epsp - plastic strain components (input/output)
gamma - vector of consistency parameters (input/output)
q - vector of hardening parameters (input/output)

ncomp - number of components of strain tensors nyf - number of yield functions nhp - number of hardening parameters

Returns:
The function returns actual plastic strain vector in the parameter epsp, actual vector of consistency parameters in the parameter gamma and actual vector of hardening parameters in the parameter q.

Created by JK, 16.8.2001

Definition at line 6965 of file mechmat.cpp.

References vector::a, matrix::a, addm(), allocm(), allocv(), copyv(), destrm(), destrv(), elmatstiff(), f, gemp(), h(), Mp, mtxv(), mxm(), mxmt(), mxv(), vector::n, stat, storestress(), subv(), and probdesc::zero.

void newton_stress_return ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

closest point projection stress return algorithm

void newton_stress_return ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

closest point projection stress return algorithm

Function returns stresses on sufrace of plasticity. Newton method is used.

gamma,epsp and q will be replaced by new values

Parameters:
ipp - integration point id
im - id of material type (for combination of material models, default value is 0)
ido - first index in eqother array (for combination of material models, default value is 0)
gamma - consistency parameter (input/output)
epsn - total strain components
epsp - plastic strain components (input/output)
q - hardening parameters (input/output)
ni - maximum number of iterations
err - required error
Returns:
The function returns actual plastic strain vector in the parameter epsp, actual consistency parameter in the parameter gamma and actual vector of hardening parameters in the parameter q.

JK, 16.3.2005, revised 7.8.2005

Definition at line 7125 of file mechmat.cpp.

References cmulm(), copyv(), dfdsigma(), dgdsigma(), dgdsigmadsigma(), elmatcompl(), elmatstiff(), f, gemp(), hardsoftfunction(), ic, ip, Mp, mxm(), mxv(), vector::n, nullv(), storestress(), stress, subv(), vector_tensor(), yieldfunction(), and probdesc::zero.

Referenced by splas1d::nlstresses(), j2flow2::nlstresses(), camclaycoup::nlstresses(), and camclay::nlstresses().

void newton_stress_return_2 ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

closest point projection stress return algorithm

void newton_stress_return_2 ( long  ipp,
long  im,
long  ido,
double &  gamma,
vector epsn,
vector epsp,
vector q,
long  ni,
double  err 
)

closest point projection stress return algorithm

Function returns stresses on sufrace of plasticity. Newton method is used.

gamma,epsp and q will be replaced by new values

Parameters:
ipp - integration point id
im - id of material type (for combination of material models, default value is 0)
ido - first index in eqother array (for combination of material models, default value is 0)
gamma - consistency parameter (input/output)
epsn - total strain components
epsp - plastic strain components (input/output)
q - hardening parameters (input/output)
ni - maximum number of iterations
err - required error
Returns:
The function returns actual plastic strain vector in the parameter epsp, actual consistency parameter in the parameter gamma and actual vector of hardening parameters in the parameter q.

Created by JK, 16.2.2007

Definition at line 7531 of file mechmat.cpp.

References cmulm(), copyv(), dfdqpar(), dfdsigma(), dgdsigma(), dgdsigmadq(), dgdsigmadsigma(), dhdgamma(), dhdqpar(), dhdsigma(), elmatcompl(), elmatstiff(), f, gemp(), hardsoftfunction(), ic, ip, Mp, mxm(), mxv(), vector::n, nullv(), storestress(), stress, subv(), vector_tensor(), yieldfunction(), and probdesc::zero.

Referenced by chen::nlstresses().

void nonlocaverage ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes averaged local values for non-loacl material models

void nonlocaverage ( long  ipp,
long  im = 0,
long  ido = 0 
)

computes averaged local values for non-loacl material models

Function averages local values and stores them in nonlocal values.

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
Returns:
The function does not return anything.

Created by JK, TKo, 4.8.2003

Definition at line 5274 of file mechmat.cpp.

References nonlocmicroM4::average(), nonlocdamg::average(), nonlocplast::average(), creep_damage, givencompeqother(), intpoints::idm, ip, nldamg, nlplast, nmpM4, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, and print_err().

Referenced by nonloc_internal_forces().

double nonlocradius ( long  ipp,
long  im 
)

returns radius of averaged neighbourhood for non-local material models

double nonlocradius ( long  ipp,
long  im 
)

returns radius of averaged neighbourhood for non-local material models

Function returns radius of averaged neighbourhood for the given non-local material model.

Parameters:
ipp - integration point pointer
im - material index
Returns:
Function returns real number representing radius for nonlocal model.

Created by Tomas Koudelka

Definition at line 5392 of file mechmat.cpp.

References intpoints::idm, ip, nldamg, nlplast, nmpM4, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, print_err(), nonlocmicroM4::r, nonlocdamg::r, and nonlocplast::r.

Referenced by adjacip(), and give_max_adjacip().

void nulleigstrains (  ) 

stes eigenstrains to zero

void nulleigstrains (  ) 

stes eigenstrains to zero

Function set values of eigstrains to zero at integration points, it is used for nonlinear computations.

Returns:
The function does not return anything.

18/9/2012, TKr

Definition at line 1430 of file mechmat.cpp.

References eigstrains, ip, intpoints::ncompstr, and tnip.

void nullstrains (  ) 

Definition at line 1561 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::strain.

void nullstresses (  ) 

Definition at line 1573 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::stress.

void nulltempstrains (  ) 

sets thermal strains to zero

void nulltempstrains (  ) 

sets thermal strains to zero

Function set values of tempstrains to zero at integration points, it is used for nonlinear computations.

Returns:
The function does not return anything.

13/5/2010, TKr

Definition at line 1479 of file mechmat.cpp.

References ip, intpoints::ncompstr, tempstrains, and tnip.

void plasmodscalar ( double &  denom,
long  ipp,
long  idpm,
long  ido,
matrix sig,
vector eps,
vector epsp,
vector qtr,
double  gamma 
)

returns contribution to denominator from hardening in cutting plane stress return algorithm

void plasmodscalar ( double &  denom,
long  ipp,
long  idpm,
long  ido,
matrix sig,
vector eps,
vector epsp,
vector qtr,
double  gamma 
)

returns contribution to denominator from hardening in cutting plane stress return algorithm

Function assembleses contribution from hardening to the denominator in cutting plane method.

Parameters:
denom - resulting contribution from hardening (output)
ipp - integration point id
idpm - id of plastic material
ido - index of internal variables for given material in the ipp other array
gamma - consistency parameter
sig - vector of actial stresses
eps - vector of actual strains
epsp - vector of actual plastic strains
qtr - vector of trial hardening parameters
Returns:
The function returns computed contribution to denominator in the parameter denom.

Created by JK, TKo

Definition at line 6594 of file mechmat.cpp.

References boermaterial, cclay, cclayc, chenplast, drprm, druckerprager, druckerprager2, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, modcamclaycoupmat, modcamclaymat, mohrcoulparab, camclaycoup::plasmodscalar(), camclay::plasmodscalar(), drprag::plasmodscalar(), j2flow2::plasmodscalar(), j2flow::plasmodscalar(), splas1d::plasmodscalar(), print_err(), simplas1d, and spl1d.

Referenced by cutting_plane(), and cutting_plane2().

void plasticmoduli ( long  ipp,
long  idpm,
vector epsp,
matrix sig,
matrix h 
)

returns matrix of plastic moduli

void plasticmoduli ( long  ipp,
long  idpm,
vector epsp,
matrix sig,
matrix h 
)

returns matrix of plastic moduli

The function computes matrix of plastic moduli with respect of actual values of stresses and internal variables.

Parameters:
ipp - id of integration point
idpm - id of plasticity model
sigt - stress components stored in 3x3 matrix
epsp - vetcor of plastic strains
h - ncomphard x ncomphard matrix for plastic moduli (output)
Returns:
The function returns resulting matrix of moduli in the parameter h.

Created by JK, 7.8.2005

Definition at line 6524 of file mechmat.cpp.

References chenplast, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, j2flow2::plasmod(), j2flow::plasmod(), splas1d::plasmod(), print_err(), simplas1d, and spl1d.

Referenced by stiff_deps_vispl().

void print ( FILE *  out  ) 

printing of materials

void print ( FILE *  out  ) 

printing of materials

The function prints integration points, material characteristics.

Parameters:
out - output stream
Returns:
The function does not return anything.

02/01/2013, TKr Modified by TKo, 1.7.2014

Definition at line 1327 of file mechmat.cpp.

References mtype, nmt, numtype, and printmatchar().

void printmatchar ( FILE *  out,
mattype  mt,
long  numinst 
)

printing of individual materials and their parameters

void printmatchar ( FILE *  out,
mattype  mt,
long  numinst 
)

printing of individual materials and their parameters

The function prints material characteristics of the j-th material type of mt.

Parameters:
out - output stream
mt - type of printed material
numinst - index of set of parameters for the given material type
Returns:
The function does not return anything.

TKr 02/01/2013 Modified by TKo, 1.7.2014

Definition at line 1360 of file mechmat.cpp.

References eliso, elisomat, shrinkmat::print(), relaxeuroc::print(), therisomat::print(), scaldam::print(), elastisomat::print(), print_err(), relaxationeuro, relaxec, scaldamage, scdam, shmat, shrinkagemat, therisodilat, and tidilat.

Referenced by print(), and wr_materials().

void read ( XFILE in  ) 

reading of materials and their parameters

void read ( XFILE in  ) 

reading of materials and their parameters

Function reads integration points, material characteristics, auxiliary points for strain and stress computation.

Parameters:
in - input stream
Returns:
The function does not return anything.

Created by JK, 21.7.2001

Definition at line 555 of file mechmat.cpp.

References intpnum(), intpointalloc(), intpointinit(), Mespr, readmatchar(), and tnip.

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

void readip ( XFILE in  ) 

obsolate function for reading material properties on individual integration points

void readip ( XFILE in  ) 

obsolate function for reading material properties on individual integration points

Function reads material types and material id from the opened text file.

Parameters:

Parameters:
in - pointer to the opened XFILE

Returns:

Return values:
The function does not return anything.

Created by JK, 8.7.2001

Definition at line 374 of file mechmat.cpp.

References ip, intpoints::read(), and tnip.

void readmatchar ( XFILE in  ) 

reading of materials and their parameters

void readmatchar ( XFILE in  ) 

reading of materials and their parameters

Function reads material characteristics from file.

Parameters:
in - input file stream
Returns:
The function does not return anything.

Created by JK, 8.7.2001 Modified by TKo, TKr Modified by TKo 26.6.2014 - added keywords and split into readmatchar and readmattype

Definition at line 598 of file mechmat.cpp.

References mattype_kwdset(), Mespr, mtype, nmt, numtype, print_err(), readmattype(), and xfscanf().

Referenced by read().

void readmattype ( XFILE in,
mattype  mtype,
long  numinst 
)

reading of numinst material parameters for the given material type

void readmattype ( XFILE in,
mattype  mtype,
long  numt 
)

reading of numinst material parameters for the given material type

Function reads material characteristics from file.

Parameters:
in - input file stream
mtype - material type
numt - the number of individual sets of material parameters
Returns:
The function does not return anything.

Created by TKo according to original version of readmatchar, 26.6.2014

Definition at line 635 of file mechmat.cpp.

References aci, aci78mod, anidam, anidamrot, anisodamage, anisodamagerot, boerm, boermaterial, cclay, cclayc, cebfip, cebfip78mod, cebfipconmat, cebfipcontmat, chenplast, chplast, conmat, consolidation, contmat, crb3, crbaz, crdam, crdpl, creep_damage, creepb3, creepbaz, creepdpl, creepeffym, creeprs, creffym, crrs, csol, damage_plasticity, dampl, drprm, drprm2, druckerprager, druckerprager2, effective_stress, effstr, elgm3d, elgmat3d, eliso, elisomat, geoel, geoelast, glasgdam, glasgmat, glasgowdamage, glasgowmechmat, graphm, grmat, hisspl, hissplasmat, hypopl, hypoplastmat, j2f, j2f2, jflow, jflow2, lemaitr, lenjon, lenjonespot, lmtr, probdesc::matmodel, mcoul, mcpar, Mespr, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, Mp, mpfib, mpM4, mpSIM, nldamg, nlplast, nmpM4, nonlocal, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), shrinkmat::read(), cebfipcontactmat::read(), contactmat::read(), lenjonesmat::read(), nonlocdamg::read(), nonlocplast::read(), relaxeuroc::read(), therisomat::read(), winpast::read(), consol::read(), creepb::read(), dplmat::read(), rspecmat::read(), b3mat::read(), geoelastmat::read(), varelastisomat::read(), graphmat::read(), cebfip78::read(), aci78::read(), anisodamrot::read(), anisodam::read(), ortodamrot::read(), ortodam::read(), scaldamcc::read(), scaldam::read(), lemaitre::read(), simviscous::read(), effstress::read(), glasgowdam::read(), glasgmech::read(), chen::read(), hissplas::read(), shefplast::read(), hypoplast::read(), camclaycoup::read(), camclay::read(), drprag2::read(), drprag::read(), boermat::read(), mohrcoulombpar::read(), mohrcoulomb::read(), microfiber::read(), microSIM::read(), nonlocmicroM4::read(), microM4::read(), j2flow2::read(), j2flow::read(), splas1d::read(), elastgmat3d::read(), elastisomat::read(), relaxationeuro, relaxec, scaldamage, scaldamagecc, scdam, scdamcc, shefpl, shmat, shpl, shrinkagemat, simplas1d, simvisc, spl1d, svis, therisodilat, tidilat, time_switchmat, tswmat, varelisomat, veliso, viscoplasticity, visplas, winklerpasternak, wpast, and xfscanf().

Referenced by readmatchar(), and dbmat::readmm().

void refresh_plast ( long  im = 0,
long  ido = 0 
)

detection of plasticity for adaptivity computations

void refresh_plast ( long  im = 0,
long  ido = 0 
)

detection of plasticity for adaptivity computations

Function detects evolved plasticity according to actual values of consistency parameter.It is used for adaptivity computations.

Parameters:
ipp - integration point number in the mechmat ip array.
ido - index of internal variables for given material in the ipp other array
Returns:
The function does not return anything.

Created by LS

Definition at line 7928 of file mechmat.cpp.

References give_consparam(), plast, and tnip.

void restore_intpoints_bin ( sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to several binary files according to stored quantity

void restore_intpoints_bin ( FILE *  aux,
sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to one huge binary file

void restore_intpoints_bin ( sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to several binary files according to stored quantity

Function restores data from several binary files into integration points.

Parameters:
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 9295 of file mechmat.cpp.

References intpoints::eqother, FNAMELEN, probdesc::hdbcont, hdbcontr::hdbnamer, sel::id1, ip, Mb, Mm, Mp, intpoints::ncompstr, mechbclc::nlc, nmqid, nonmechq, sel::presence_id(), print_err(), strain, stress, and tnip.

void restore_intpoints_bin ( FILE *  aux,
sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to one huge binary file

Function restores data from auxiliary binary file into integration points.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled for each selection of elements
Returns:
The function does not return anything.

Created by Tomas Koudelka 9.2008

Definition at line 9233 of file mechmat.cpp.

References elip, ip, Mb, Mm, mechbclc::nlc, nmqid, nnmq, nonmechq, sel::presence_id(), print_err(), intpoints::restore_data_bin(), and tnip.

Referenced by solver_restore_binary_multiple(), and solver_restore_binary_single().

void restore_intpoints_txt ( sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to several text files according to stored quantity

void restore_intpoints_txt ( FILE *  aux,
sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to one huge text file

void restore_intpoints_txt ( sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to several text files according to stored quantity

Function restores data from several text files into integration points.

Parameters:
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled for each selection of elements
Returns:
The function does not return anything.

Created by JK, 19.9.2004 Rewritten by TKo 9.2008

Definition at line 9080 of file mechmat.cpp.

References elip, intpoints::eqother, FNAMELEN, probdesc::hdbcont, hdbcontr::hdbnamer, sel::id1, ip, Mb, Mm, Mp, intpoints::ncompstr, mechbclc::nlc, nmqid, nnmq, nonmechq, sel::presence_id(), print_err(), strain, stress, tnip, and tnknmq.

void restore_intpoints_txt ( FILE *  aux,
sel selelems,
sel selother,
long **  selid 
)

restore content of int. points to one huge text file

Function restores data from auxiliary text file into integration points.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled for each selection of elements

Created by JK, 19.9.2004 Rewritten by TKo 9.2008 Modified by TKo, 7.10.2013

Definition at line 9014 of file mechmat.cpp.

References elip, ip, Mb, Mm, sel::n, mechbclc::nlc, nmqid, nnmq, nonmechq, sel::presence_id(), print_err(), intpoints::restore_data_txt(), tnip, and tnknmq.

Referenced by solver_restore_text_multiple(), and solver_restore_text_single().

void save_intpoints_bin ( long  ni,
sel selelems,
sel selother 
)

save content of int. points to several binary files according to stored quantity

void save_intpoints_bin ( FILE *  aux,
sel selelems,
sel selother 
)

save content of int. points to one huge binary file

void save_intpoints_bin ( long  ni,
sel selelems,
sel selother 
)

save content of int. points to several binary files according to stored quantity

Function saves data from integration points into several files in binary format.

Parameters:
ni - time step id
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
Returns:
The function does not return anything.

Created by Tomas Koudelka 9.2008

Definition at line 8893 of file mechmat.cpp.

References mechtop::elements, FNAMELEN, sel::give_nselcomp(), mechtop::give_totnip(), probdesc::hdbcont, hdbcontr::hdbnames, ip, element::ipp, Mb, Mm, Mp, Mt, sel::n, intpoints::ncompeqother, intpoints::ncompstr, mechtop::ne, mechbclc::nlc, nmqid, nnmq, nonmechq, sel::presence_id(), print_err(), strain, stress, and tnip.

void save_intpoints_bin ( FILE *  aux,
sel selelems,
sel selother 
)

save content of int. points to one huge binary file

Function saves data from integration points into auxiliary file in binary format.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 8835 of file mechmat.cpp.

References mechtop::elements, sel::give_nselcomp(), mechtop::give_totnip(), ip, element::ipp, Mb, Mm, Mt, sel::n, mechtop::ne, mechbclc::nlc, nmqid, nnmq, nonmechq, sel::presence_id(), and intpoints::save_data_bin().

Referenced by solver_save_binary_multiple(), and solver_save_binary_single().

void save_intpoints_txt ( long  ni,
sel selelems,
sel selother 
)

save content of int. points to several text files according to stored quantity

void save_intpoints_txt ( FILE *  aux,
sel selelems,
sel selother 
)

save content of int. points to one huge text file

void save_intpoints_txt ( long  ni,
sel selelems,
sel selother 
)

save content of int. points to several text files according to stored quantity

Function saves data from integration points into several files in text format.

Parameters:
ni - time step id
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
Returns:
The function does not return anything.

Created by JK, 19.9.2004 Rewritten by TKo, 9.2008 Modified by TKo, 7.10.2013

Definition at line 8714 of file mechmat.cpp.

References mechtop::elements, FNAMELEN, sel::give_nselcomp(), mechtop::give_totnip(), probdesc::hdbcont, hdbcontr::hdbnames, ip, element::ipp, Mb, Mm, Mp, Mt, sel::n, intpoints::ncompeqother, intpoints::ncompstr, mechtop::ne, mechbclc::nlc, nmqid, nnmq, nonmechq, hdbcontr::prec, sel::presence_id(), print_err(), strain, stress, tnip, and tnknmq.

void save_intpoints_txt ( FILE *  aux,
sel selelems,
sel selother 
)

save content of int. points to one huge text file

Function stores part of stress increments.

Parameters:
lcid - load case id
ipp - integration point number
im - index of the material in the tm and idm arrays on integration point
ido - index of internal variables in the ip's ipp eqother array
sig - vector containing stress components
Returns:
The function does not return anything.

Created by JK, TKo, 29.4.2008 Function stores internal parameters of the vsicous materials.

Parameters:
ipp - integration point number in the mechmat ip array.
im - material index
ido - index of internal variables for given material in the ipp other array
q - vector containing internal parameters
Returns:
The function does not return anything.

Created by JK, Function saves data from integration points into auxiliary file in text format.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
Returns:
The function does not return anything.

Created by JK, 19.9.2004 Rewritten by TKo, 9.2008 Modified by TKo, 7.10.2013

Definition at line 8651 of file mechmat.cpp.

References mechtop::elements, sel::give_nselcomp(), mechtop::give_totnip(), probdesc::hdbcont, ip, element::ipp, Mb, Mm, Mp, Mt, sel::n, intpoints::ncompstr, mechtop::ne, mechbclc::nlc, nmqid, nnmq, nonmechq, hdbcontr::prec, sel::presence_id(), intpoints::save_data_txt(), and tnknmq.

Referenced by solver_save_text_multiple(), and solver_save_text_single().

double scal_dam_sol ( long  ipp,
long  im,
long  ido,
vector eps,
vector kappa,
vector omegao,
vector sigma,
matrix d 
)

solver for scalar damage models

double scal_dam_sol ( long  ipp,
long  im,
long  ido,
vector eps,
vector kappa,
vector omegao,
vector sigma,
matrix d 
)

solver for scalar damage models

Function returns stresses for scalar damage models and value of damage function.

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
eps - total strain components
kappa - damage function parameters from previous stesp (input/output)
omegao - damage parameters from the previous step
sigma - resulting stresses (output)
d - elastic stiffness matrix with respect to timedependent Young modulus
Returns:
The function returns actual value of damage parameter and vector of actual stresses in the parameter sigma.

Created by Tomas Koudelka, 27.1.2003

Definition at line 8077 of file mechmat.cpp.

References cmulv(), damfuncpar(), damfunction(), epsefunction(), fillv(), intpoints::hmt, ip, local, probdesc::matmodel, Mm, Mp, mxv(), vector::n, intpoints::nonloc, nonlocal, probdesc::nonlocphase, and print_err().

Referenced by scaldamcc::nlstresses(), and scaldam::nlstresses().

long search_reqnmq ( nonmechquant *&  rnmq  ) 

searches for the number and types of required non-mechanical quantities at all material models

long search_reqnmq ( nonmechquant *&  rnmq  ) 

searches for the number and types of required non-mechanical quantities at all material models

The function searches for the total number and type of non-mechanical quantities that are required by used material models in the problem. Required non-mechanical quantities are searched for at all integration points in all used material models. Resulting number of quantities is returned and new array is allocated for the required types of quantities if they are required.

Parameters:
- pointer to array of required types of non-mechanical quantities which is allocated inside function (output parameter)
Returns:
Function returns the number of required non-mechanical quantities.

Created by Tomas Koudelka, 11.10.2013

Definition at line 3841 of file mechmat.cpp.

References give_reqnmq(), ip, memset(), intpoints::nm, tnip, and tnknmq.

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

void stiff_deps_vispl ( long  ipp,
long  im,
long  ido,
vector sig,
vector q,
double  dt 
)

computation of stresses Perzyna type visco-plastic materials

void stiff_deps_vispl ( long  ipp,
long  im,
long  ido,
vector sig,
vector q,
double  dt 
)

computation of stresses Perzyna type visco-plastic materials

Function computes D it is used for right hand side computation in time dependent problems.

Parameters:
ipp - integration point pointer
im - material index
ido - index of internal variables for given material in the ipp other array
sig - stress increment components (output)
q - internal variables
dt - time increment
Returns:
The function returns stress increment vector in the parameter sig.

Created by JK, 28.10.2001

Definition at line 8316 of file mechmat.cpp.

References cumulstrain(), dfdqpar(), dfdsigma(), intpoints::eqother, f, g, lemaitre::gfun(), simviscous::gfun(), givencompother(), h(), intpoints::idm, ip, lemaitr, lmtr, matstiff(), mxv(), vector::n, intpoints::other, plasticmoduli(), print_err(), simvisc, strain, stress, svis, vector_tensor(), and yieldfunction().

Referenced by visplast::nlstressesincr().

void stiff_eps ( long  ipp  ) 

computation of contribution to right hand side for creep models - obsolate, candidate for removal

void stiff_eps ( long  ipp  ) 

computation of contribution to right hand side for creep models - obsolate, candidate for removal

Function computes contribution to the right hand side in creep and shrinkage analysis.

!!!??? unused function candidate for removal !!!??? modifies strain in the integration point ?!

Parameters:
ipp - integration point pointer

Created by JK, 9.11.2001

Definition at line 8447 of file mechmat.cpp.

References aci, aci78mod, cebfip, cebfip78mod, cebfip78::compliance(), aci78::compliance(), intpoints::idm, ip, Mp, intpoints::ncompstr, print_err(), intpoints::strain, intpoints::stress, probdesc::time, and time.

void storeeigstrain ( long  ipp,
long  fi,
long  ncomp,
vector eps 
)

store given eigenstrain components for given int. point

void storeeigstrain ( long  ipp,
vector eps 
)

storage of eigenstrains for given int. point

void storeeigstrain ( long  ipp,
long  fi,
long  ncomp,
vector eps 
)

store given eigenstrain components for given int. point

Function stores eigenstrains.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
eps - vector containing eigenstrain components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 2116 of file mechmat.cpp.

References eigstrain, eigstrains, est, tempstrain, and tempstrains.

void storeeigstrain ( long  ipp,
vector eps 
)

storage of eigenstrains for given int. point

Function stores eigenstrains at integration point.

Parameters:
ipp - number of integration point
eps - vector of eigenstrains
Returns:
The function does not return anything.

Created by JK, 3.3.2004

Definition at line 2085 of file mechmat.cpp.

References eigstrain, eigstrains, est, ip, intpoints::ncompstr, tempstrain, and tempstrains.

Referenced by eigenstresses(), linhex::tempstrains(), axisymqq::tempstrains(), and axisymlq::tempstrains().

void storeeigstress ( long  ipp,
long  fi,
long  ncomp,
vector sig 
)

storage of given eigenstress components on given int. point

void storeeigstress ( long  ipp,
vector sig 
)

storage of eigenstresses for given int. point

void storeeigstress ( long  ipp,
long  fi,
long  ncomp,
vector sig 
)

storage of given eigenstress components on given int. point

Function stores eigenstresses.

Parameters:

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
sig - vector containing eigenstress components
Returns:
The function does not return anything.

Created by JK, 27.11.2006

Definition at line 2239 of file mechmat.cpp.

References eigstresses.

void storeeigstress ( long  ipp,
vector sig 
)
void storeeqother ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

storage of given internal variable components on given int. point

void storeeqother ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

storage of given internal variable components on given int. point

Function stores components of array eqother.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
comp - vector containing components
Returns:
The function does not return anything.

Created by JK, 5.11.2002

Definition at line 2334 of file mechmat.cpp.

References intpoints::eqother, and ip.

Referenced by planeelemlq::mechq_nodval_comp(), and barel2d::mechq_nodval_comp().

void storeipvol ( long  ipp,
double  vol 
)

stores appropriate volume of element belonging to given int. point

void storeipvol ( long  ipp,
double  vol 
)

stores appropriate volume of element belonging to given int. point

Function stores volume belonging to the given integration point.

Parameters:
ipp - integration point number in the mechmat ip array.
vol - volume belonging to the integration point
Returns:
The function does not return anything.

Created by JK,

Definition at line 5256 of file mechmat.cpp.

References ipv.

Referenced by 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(), and barel2d::ipvolume().

void storenonloc ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

storage of given nonlocal values on given integration point

void storenonloc ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

storage of given nonlocal values on given integration point

Function stores components of array nonloc.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
comp - vector containing components
Returns:
The function does not return anything.

Created by TKo, 29.11.2013

Definition at line 2721 of file mechmat.cpp.

References ip, and intpoints::nonloc.

Referenced by planeelemlq::mechq_nodval_comp(), and barel2d::mechq_nodval_comp().

void storenonmechq ( nonmechquant  qt,
long  ipp,
double  val 
)

stores given non-mechanical quantity from nonmechq array on given integration point

void storenonmechq ( nonmechquant  qt,
long  ipp,
double  val 
)

stores given non-mechanical quantity from nonmechq array on given integration point

The function stores required non-mechanical quantity into the nonmechq array. It is used either in case of prescribed temperature changes in the input file or in case of coupled problems for retrieving of values passed between MEFEL and TRFEL.

Parameters:
qt - type of required quantity
ipp - integration point id
val - stored value
Returns:
The function stores required non-mechanical quantity.

Created by Tomas Koudelka, 7.10.2013

Definition at line 4029 of file mechmat.cpp.

References nmqid, nonmechq, nonmechquantstr, and print_err().

Referenced by effstress::initvalues(), intpointval(), intpointval2(), trfel_mefel_by_nodes(), and trfel_mefel_copyip().

void storeother ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

storage of given internal variable components on given int. point

void storeother ( long  ipp,
long  fi,
long  ncomp,
double *  comp 
)

storage of given internal variable components on given int. point

Function stores components of array other.

Parameters:
ipp - integration point pointer
fi - first index
ncomp - number of required components
comp - array containing components
Returns:
The function does not return anything.

Created by TKo, 29.11.2013

Definition at line 2382 of file mechmat.cpp.

References ip, and intpoints::other.

Referenced by planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), and hypoplast::nlstresses().

void storestrain ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
double *  eps 
)

storage of given number of strain components from given index on int. point for given load case

void storestrain ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector eps 
)

storage of given number of strain components from given index on int. point for given load case

void storestrain ( long  lcid,
long  ipp,
long  fi,
vector eps 
)

storage of strain components from given index on int. point for given load case

void storestrain ( long  lcid,
long  ipp,
vector eps 
)

storage of strains on given int. point for given load case

void storestrain ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
double *  eps 
)

storage of given number of strain components from given index on int. point for given load case

Function stores part of strains. ncomp is explicitly defined in order to save part of the array eps

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
ncomp - number of components
eps - array containing strain components
Returns:
The function does not return anything.

Created by TKo, 29.11.2013

Definition at line 1777 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::strain.

void storestrain ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector eps 
)

storage of given number of strain components from given index on int. point for given load case

Function stores part of strains. ncomp is explicitly defined in order to save part of the vector eps

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
ncomp - number of components
eps - vector containing strain components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 1750 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::strain.

void storestrain ( long  lcid,
long  ipp,
long  fi,
vector eps 
)

storage of strain components from given index on int. point for given load case

Function stores part of strains.

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
eps - vector containing strain components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 1722 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::strain.

void storestrain ( long  lcid,
long  ipp,
vector eps 
)

storage of strains on given int. point for given load case

The function stores all strains.

Parameters:
lcid - load case id
ipp - integration point pointer
eps - vector containing strain components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 1696 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::strain.

Referenced by soilplateq::allip_strains(), planeelemsubqt::allip_strains(), planeelemrotlt::allip_strains(), planeelemqt::allip_strains(), linhex::allip_strains(), axisymlq::allip_strains(), planeelemqt::compute_nlstress(), planeelemqt::compute_nlstressincr(), planeelemrotlt::compute_nonloc_nlstress(), planeelemqt::compute_nonloc_nlstress(), linhex::gl_internal_forces(), planeelemlq::gl_ip_strains(), linhexrot::gl_ip_strains(), linhex::gl_ip_strains(), linhex::gl_mainip_strains(), planeelemlq::gnl_ip_strains(), linhexrot::gnl_ip_strains(), linhex::gnl_ip_strains(), linhex::gnl_mainip_strains(), linhex::internal_forces(), linhex::internal_forces2(), 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(), planeelemrotlt::local_values(), planeelemqt::local_values(), linhex::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(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), beamgen3d::nodal_displ(), beamel3d::nodal_displ(), beamel2d::nodal_displ(), beam2dspec::res_mainip_strains(), springel::strains(), soilbeam::strains(), and beam2dspec::strains().

void storestress ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
double *  sig 
)

storage of stress components from given index on int. point for given load case

void storestress ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector sig 
)

storage of stress components from given index on int. point for given load case

void storestress ( long  lcid,
long  ipp,
long  fi,
vector sig 
)

storage of stress components from given index on int. point for given load case

void storestress ( long  lcid,
long  ipp,
vector sig 
)

storage of stresses on given int. point for given load case

void storestress ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
double *  sig 
)

storage of stress components from given index on int. point for given load case

Function stores part of stresses. ncomp is explicitly defined in order to save part of the array sig

Parameters:

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
ncomp - number of components
sig - array containing stress components
Returns:
The function does not return anything.

Created by TKo, 29.11.2013

Definition at line 1983 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::stress.

void storestress ( long  lcid,
long  ipp,
long  fi,
long  ncomp,
vector sig 
)

storage of stress components from given index on int. point for given load case

Function stores part of stresses. ncomp is explicitly defined in order to save part of the vector sig

Parameters:

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
ncomp - number of components
sig - vector containing stress components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 1955 of file mechmat.cpp.

References ip, intpoints::ncompstr, and intpoints::stress.

void storestress ( long  lcid,
long  ipp,
long  fi,
vector sig 
)

storage of stress components from given index on int. point for given load case

Function stores part of stresses.

Parameters:
lcid - load case id
ipp - integration point number
fi - first index
sig - vector containing stress components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 1926 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::stress.

void storestress ( long  lcid,
long  ipp,
vector sig 
)

storage of stresses on given int. point for given load case

Function stores all stresses.

Parameters:
lcid - load case id
ipp - integration point number
sig - vector containing stress components
Returns:
The function does not return anything.

Created by JK, 17.7.2001

Definition at line 1900 of file mechmat.cpp.

References ip, vector::n, intpoints::ncompstr, and intpoints::stress.

Referenced by soilplatetr::allip_stresses(), soilplateq::allip_stresses(), planeelemsubqt::allip_stresses(), planeelemrotlt::allip_stresses(), planeelemqt::allip_stresses(), linhex::allip_stresses(), axisymlq::allip_stresses(), q4plate::compute_nlstress(), dstelem::compute_nlstress(), dktelem::compute_nlstress(), cctelem::compute_nlstress(), ArgyrisTriangle::compute_nlstress(), soilplateq::compute_nonloc_nlstress(), mohrcoulomb::cutting_plane(), cutting_plane(), cutting_plane2(), 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(), soilplateq::local_values(), 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(), mohrcoulomb::mc_msurf_cp(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), mult_surf_cutting_plane(), newton_stress_return(), newton_stress_return_2(), microSIM::nlstresses(), microM4::nlstresses(), microfiber::nlstresses(), hissplas::nlstresses(), glasgmech::nlstresses(), geoelastmat::nlstresses(), drprag2::nlstresses(), layplate::nlstresses(), beamgen3d::nodal_forces(), beamel3d::nodal_forces(), beamel2d::nodal_forces(), microM4::nonloc_nlstresses(), consol::phase1(), stress_initdispl(), shefplast::stress_return(), and springel::stresses().

void temprstrains (  ) 

compute strains due to temperature changes (thermal strains)

Function computes strains caused by temperature.

Returns:
The function does not return anything.

Created by JK,

Definition at line 5366 of file mechmat.cpp.

References intpoints::hmt, intpoints::idm, ip, intpoints::nm, print_err(), therisomat::temprstrains(), therisodilat, and tidilat.

void temprstrains ( long  lcid  ) 

compute strains due to temperature changes (thermal strains)

Function computes strains caused by temperature.

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

Created by JK,

Definition at line 5068 of file mechmat.cpp.

References intpoints::hmt, intpoints::idm, ip, intpoints::nm, print_err(), therisomat::temprstrains(), therisodilat, tidilat, and tnip.

Referenced by loadcase::tempercontrib().

void totstrains (  ) 

reassambles total strains - adds eigenstrains and thermal strains to strains on integration points

void totstrains (  ) 

reassambles total strains - adds eigenstrains and thermal strains to strains on integration points

Function computes the total strains at all integration points.

Returns:
The function does not return anything.

Created by JK, 3.3.2004

Definition at line 5174 of file mechmat.cpp.

References eigstrains, mechtop::elements, mechtop::give_tnip(), Gtm, ip, element::ipp, gtopology::leso, Mt, intpoints::ncompstr, mechtop::ne, strain, and tempstrains.

Referenced by compute_req_val().

void updateipval ( void   ) 

updates internal variables for all int. points for the attained equilibrium state

void updateipval ( void   ) 
void updateipvalmat ( long  ipp,
long  im,
long  ido 
)

updates internal variables for given int. point after attaining of equilibrium state

void updateipvalmat ( long  ipp,
long  im,
long  ido 
)

updates internal variables for given int. point after attaining of equilibrium state

Function updates values of internal variables (eqother array) at integration points, it is used for nonlinear computations.

Parameters:
ipp - number of integration point
im - index of material type
ido - index in array other

Created by JK, Modified by TKo, TKr

Definition at line 5494 of file mechmat.cpp.

References anidam, anidamrot, anisodamage, anisodamagerot, boerm, boermaterial, cclay, cclayc, cebfipconmat, cebfipcontmat, chenplast, chplast, conmat, consolidation, contmat, crbaz, crdam, creep_damage, creep_updateval(), creepb3, creepbaz, creepdpl, creepeffym, creeprs, creffym, csol, damage_plasticity, dampl, drprm, drprm2, druckerprager, druckerprager2, effective_stress, elisomat, geoel, geoelast, glasgdam, glasgowdamage, graphm, hisspl, hissplasmat, hypopl, hypoplastmat, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, lemaitr, lenjonespot, mcoul, mcpar, microfibro, microplaneM4, microsimp, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, mpfib, mpM4, mpSIM, nonlocalmicroM4, nonlocdamgmat, nonlocplastmat, ortdam, ortdamrot, ortodamage, ortodamagerot, print_err(), scaldamage, scaldamagecc, scdam, scdamcc, shefpl, shmat, shpl, shrinkagemat, simplas1d, simvisc, spl1d, time_switchmat, tswmat, consol::updateval(), cebfipcontactmat::updateval(), contactmat::updateval(), creep_effym::updateval(), creepb::updateval(), visplast::updateval(), damplast::updateval(), anisodamrot::updateval(), anisodam::updateval(), ortodamrot::updateval(), ortodam::updateval(), scaldamcc::updateval(), scaldam::updateval(), geoelastmat::updateval(), timeswmat::updateval(), shrinkmat::updateval(), creepdam::updateval(), glasgowdam::updateval(), shefplast::updateval(), microfiber::updateval(), microSIM::updateval(), microM4::updateval(), hissplas::updateval(), hypoplast::updateval(), camclaycoup::updateval(), camclay::updateval(), chen::updateval(), drprag2::updateval(), drprag::updateval(), boermat::updateval(), mohrcoulombpar::updateval(), mohrcoulomb::updateval(), j2flow2::updateval(), j2flow::updateval(), splas1d::updateval(), varelisomat, viscoplasticity, and visplas.

Referenced by planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), updateipval(), timeswmat::updateval(), shrinkmat::updateval(), geoelastmat::updateval(), damplast::updateval(), and creepdam::updateval().

void updateq ( long  ipp,
long  idpm,
long  ido,
double  dgamma,
vector eps,
vector epsp,
matrix sig,
vector q 
)

updates of hardening parameters

void updateq ( long  ipp,
long  idpm,
long  ido,
double  dgamma,
vector eps,
vector epsp,
matrix sig,
vector q 
)

updates of hardening parameters

Function computes (updates) new hardening parameters depending on the actual values of the internal parameters (plastic strains) of the given plasticity model.

Parameters:
ipp - integration point id
idpm - id of plastic material
ido - index of internal variables for given material in the ipp other array
dgamma - increment of consistency parameter
eps - vector of actual strains
epsp - vector of actual plastic strains
sig - vector of actial stresses
q - vector of resulting hardening parameters (output)
Returns:
The function returns vetcor of updated hardening parameters in the parameter q.

Created by JK,

Definition at line 6784 of file mechmat.cpp.

References boermaterial, cclay, cclayc, chenplast, drprm, druckerprager, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, modcamclaycoupmat, modcamclaymat, mohrcoul, mohrcoulparab, print_err(), simplas1d, spl1d, camclaycoup::updateq(), camclay::updateq(), drprag::updateq(), j2flow2::updateq(), j2flow::updateq(), and splas1d::updateq().

Referenced by cutting_plane(), and cutting_plane2().

double yieldfunction ( long  ipp,
long  idpm,
matrix sig,
vector q 
)

retruns actual value of yield function for plasticity materials

double yieldfunction ( long  ipp,
long  idpm,
matrix sig,
vector q 
)

retruns actual value of yield function for plasticity materials

Function evaluates yield function for stresses and internal variables.

Parameters:
ipp - integration point pointer
idpm - id of plasticity model
sig - stress components
q - internal variables (hardening parameters)
Returns:
The function returns value of the yield function with respect to the actual values of stresses and internal variables.

Created by JK, TKo, 28.10.2001

Definition at line 5832 of file mechmat.cpp.

References boerm, boermaterial, cclay, cclayc, chenplast, chplast, drprm, druckerprager, f, hisspl, hissplasmat, intpoints::idm, ip, j2f, j2f2, jflow, jflow2, mcpar, modcamclaycoupmat, modcamclaymat, mohrcoulparab, print_err(), simplas1d, spl1d, hissplas::yieldfunction(), camclaycoup::yieldfunction(), camclay::yieldfunction(), chen::yieldfunction(), drprag::yieldfunction(), boermat::yieldfunction(), mohrcoulombpar::yieldfunction(), j2flow2::yieldfunction(), j2flow::yieldfunction(), and splas1d::yieldfunction().

Referenced by cutting_plane(), cutting_plane2(), newton_stress_return(), newton_stress_return_2(), and stiff_deps_vispl().


Member Data Documentation

aci78 model for creep and shrinkage

Definition at line 706 of file mechmat.h.

Referenced by mechmat(), readmattype(), stiff_eps(), and ~mechmat().

anisotropic damage material model with crack rotation

Definition at line 704 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), give_actual_fc(), give_actual_ft(), initvalues(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

cebfip78 model for creep and shrinkage

Definition at line 708 of file mechmat.h.

Referenced by mechmat(), readmattype(), stiff_eps(), and ~mechmat().

material model for contact problems according to MC90

Definition at line 766 of file mechmat.h.

Referenced by computenlstresses(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

material model for contact problems

Definition at line 763 of file mechmat.h.

Referenced by computenlstresses(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

model of creep based on Bazant theory

Definition at line 726 of file mechmat.h.

Referenced by computenlstresses(), giveirrstrains(), givencompeqother(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

artificial model for combination of damage and creep model

Definition at line 672 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), computenlstressesincr(), give_actual_fc(), give_actual_ft(), initvalues(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

model of creep based on effective Young modulus

Definition at line 728 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), give_actual_ft(), matstiff(), readmattype(), and updateipvalmat().

artificial model for combination of damage and plasticity model

Definition at line 749 of file mechmat.h.

Referenced by computenlstresses(), give_actual_ft(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

Double Drucker-Prager model.

Definition at line 675 of file mechmat.h.

Drucker-Prager model of plasticity prepare by Standa Sysala from IGN.

Definition at line 658 of file mechmat.h.

Referenced by computenlstresses(), give_consparam(), giveirrstrains(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

artificial material for effective stress concept

Definition at line 676 of file mechmat.h.

Referenced by computenlstresses(), give_reqnmq(), initvalues(), mechmat(), readmattype(), and ~mechmat().

double ** eigstrains

array containing eigenstrains the array is allocated only for several problems eigstrains[number of int. point][number of component] the array is allocated in function mechbclc::read

Definition at line 616 of file mechmat.h.

Referenced by alloceigstrains(), mechbclc::eigstrain_computation(), eigstrmod(), giveeigstrain(), homogenization(), mechmat(), nulleigstrains(), mechbclc::read_eigenstrains(), storeeigstrain(), totstrains(), and ~mechmat().

double ** eigstresses

array containing eigenstresses the array is allocated only for several problems eigstresses[number of int. point][number of component] the array is allocated in function mechbclc::read

Definition at line 621 of file mechmat.h.

Referenced by alloceigstresses(), mechbclc::eigstrain_computation(), giveeigstress(), hypoplast::initval(), mechmat(), mechbclc::read_eigenstrains(), storeeigstress(), and ~mechmat().

long ** eigstrid

array containing eigenstrains id the array is allocated in function mechbclc::read

Definition at line 611 of file mechmat.h.

Referenced by mechbclc::eigstrain_computation(), mechmat(), mechbclc::print_eigenstrains(), mechbclc::read_eigenstrains(), and ~mechmat().

elastic general 3D material

Definition at line 642 of file mechmat.h.

Referenced by computenlstresses(), elmatstiff(), matstiff(), mechmat(), readmattype(), and ~mechmat().

long * elip

elastic orthotropic linear material

Definition at line 657 of file mechmat.h.

Referenced by loc_elmatstiff(), and loc_transf_mat().

type of eigstrain

Definition at line 578 of file mechmat.h.

Referenced by giveeigstrain(), mefel_right_hand_side(), storeeigstrain(), and loadcase::tempercontrib().

orthotropic damage material model

Definition at line 714 of file mechmat.h.

combination of plasticity and special kind of elasticity (different loading and unloading modulus)

Definition at line 717 of file mechmat.h.

Referenced by computenlstresses(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

Glasgow damage model.

Definition at line 670 of file mechmat.h.

Referenced by computenlstresses(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

Glasgow scalar damage with a thermal influence.

Definition at line 668 of file mechmat.h.

Referenced by computenlstresses(), matstiff(), mechmat(), readmattype(), and ~mechmat().

material with explicit prescribed diagram force/displacement

Definition at line 711 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), matstiff(), mechmat(), readmattype(), and ~mechmat().

HISS plasticity model (Desai model).

Definition at line 666 of file mechmat.h.

Referenced by computenlstresses(), give_consparam(), giveirrstrains(), matstiff(), mechmat(), readmattype(), updateipvalmat(), yieldfunction(), and ~mechmat().

double ** ic

integration points

Definition at line 585 of file mechmat.h.

Referenced by add_macro_strains(), rspecmat::addirrstrains_eqother(), dplmat::addirrstrains_eqother(), b3mat::addirrstrains_eqother(), adjacip(), alloc_ic(), mechtop::alloc_nodes_arrays(), alloceigstrains(), alloceigstresses(), alloctempstrains(), arclopen(), arclsave(), loadcase::assemble(), nonlocplast::average(), nonlocmicroM4::average(), nonlocdamg::average(), b3mat::b3_law(), layplate::backup(), ortodamrot::brittle_damage(), ortodam::brittle_damage(), anisodamrot::brittle_damage(), anisodam::brittle_damage(), clean_ip(), mechtop::clean_ip_new_elem(), cleanstrain(), layplate::compeqother(), compnonloc_nlstresses(), layplate::compother(), rspecmat::compute_actual_ft(), rspecmat::compute_beta_t(), b3mat::compute_beta_t(), barel3d::compute_eigstress(), barel2d::compute_eigstress(), fixortodam::compute_eqdispl(), planeelemlq::compute_error(), glasgmech::compute_lits(), normmat::compute_z1(), normmat::compute_z2(), normmat::compute_z3p(), computenlstresses(), computenlstressesincr(), creep_aeging_strains(), creep_compute_actual_ym(), creep_compute_inital_ym(), creep_give_actual_fc(), rspecmat::creep_give_actual_ft(), dplmat::creep_give_actual_ft(), b3mat::creep_give_actual_ft(), creep_give_actual_ft(), creep_give_actual_ym(), creep_giveirrstrains(), creep_givestressincr(), creep_incrtotstresses(), creep_initmaterialmodel(), creep_matstiffchange(), creep_ncompo(), creep_nlstresses(), creep_nlstressesincr(), creep_number_rettimes(), creep_updateval(), creepbs::creepinit(), creepb::creepinit(), mohrcoulomb::cutting_plane(), cutting_plane(), cutting_plane2(), scaldamcc::damfuncpar(), scaldam::damfuncpar(), glasgowdam::damfuncpar(), glasgmech::damfuncpar(), damfuncpar(), scaldamcc::damfunction(), scaldam::damfunction(), glasgowdam::damfunction(), glasgmech::damfunction(), damfunction(), glasgmech::depseqdepsel(), camclaycoup::der_q_gamma(), camclay::der_q_gamma(), dfdqpar(), dfdsigma(), dfdsigmadq(), dfdsigmadsigma(), dgdqpar(), dgdsigma(), dgdsigmadq(), dgdsigmadsigma(), camclay::dhardfdq(), dhdgamma(), dhdqpar(), dhdsigma(), dist(), glasgmech::domegadkmd(), glasgmech::domegadt(), hypoplast::dstep_red(), layplate::dstep_red(), dstep_red_ip(), eigenstresses(), mechbclc::eigstrain_computation(), eigstrmod(), planeelemqt::elchar(), planeelemqq::elchar(), elmatcompl(), winpast::elmatstiff(), varelastisomat::elmatstiff(), scaldamcc::elmatstiff(), scaldam::elmatstiff(), ortodamrot::elmatstiff(), ortodam::elmatstiff(), anisodamrot::elmatstiff(), anisodam::elmatstiff(), elmatstiff(), epsefunction(), femplast_epressure(), glasgownew::free_thermal_strains(), creepbs::get_h(), creepbbeam::get_h(), creepb::get_h(), consol::get_hc(), creepbs::get_temp(), creepbbeam::get_temp(), creepb::get_temp(), drprag2::getImportantValues(), drprag2::getValueOfHardening(), shrinkmat::give_actual_fc(), give_actual_fc(), shrinkmat::give_actual_ft(), give_actual_ft(), camclay::give_actual_nu(), give_actual_nu(), ortodamrot::give_actual_param_a(), ortodam::give_actual_param_a(), anisodamrot::give_actual_param_a(), anisodam::give_actual_param_a(), camclay::give_actual_ym(), give_actual_ym(), rspecmat::give_agstrains_eqother(), dplmat::give_agstrains_eqother(), b3mat::give_agstrains_eqother(), nonlocdamg::give_aver_quantv(), give_aver_quantv(), rspecmat::give_beta_t_eqother(), b3mat::give_beta_t_eqother(), splas1d::give_consparam(), mohrcoulombpar::give_consparam(), mohrcoulomb::give_consparam(), j2flow2::give_consparam(), j2flow::give_consparam(), hissplas::give_consparam(), drprag::give_consparam(), chen::give_consparam(), camclaycoup::give_consparam(), camclay::give_consparam(), boermat::give_consparam(), give_consparam(), drprag2::give_consparam(), scaldam::give_crackwidth(), give_crackwidth(), rspecmat::give_creepdstrains_eqother(), dplmat::give_creepdstrains_eqother(), b3mat::give_creepdstrains_eqother(), give_dampar(), rspecmat::give_deps_free(), b3mat::give_deps_free(), rspecmat::give_deps_stressinduced(), b3mat::give_deps_stressinduced(), rspecmat::give_dstresses_eqother(), dplmat::give_dstresses_eqother(), b3mat::give_dstresses_eqother(), consol::give_dstresses_eqother(), rspecmat::give_emu_eqother(), dplmat::give_emu_eqother(), b3mat::give_emu_eqother(), give_first_derivative(), rspecmat::give_hidden_strains_eqother(), dplmat::give_hidden_strains_eqother(), b3mat::give_hidden_strains_eqother(), camclaycoup::give_iniporosity(), camclay::give_iniporosity(), give_iniporosity(), give_initial_nu(), give_initial_ym(), splas1d::give_interparam(), j2flow2::give_interparam(), j2flow::give_interparam(), chen::give_interparam(), give_interparam(), rspecmat::give_irrdstrains_eqother(), b3mat::give_irrdstrains_eqother(), rspecmat::give_J_E_mu(), give_kappa(), give_max_adjacip(), mechtop::give_maxncompo(), mechtop::give_maxncompstr(), rspecmat::give_nceqother(), dplmat::give_nceqother(), b3mat::give_nceqother(), rspecmat::give_ncother(), dplmat::give_ncother(), b3mat::give_ncother(), nonlocplast::give_num_averq(), nonlocmicroM4::give_num_averq(), nonlocdamg::give_num_averq(), give_num_averq(), give_num_interparam(), camclaycoup::give_preconspress(), camclay::give_preconspress(), give_preconspress(), give_proczonelength(), give_reqnmq(), give_second_derivative(), rspecmat::give_shrinkage_eqother(), b3mat::give_shrinkage_eqother(), rspecmat::give_strains_eqother(), dplmat::give_strains_eqother(), b3mat::give_strains_eqother(), rspecmat::give_stresses_eqother(), dplmat::give_stresses_eqother(), b3mat::give_stresses_eqother(), rspecmat::give_stresses_other(), dplmat::give_stresses_other(), b3mat::give_stresses_other(), rspecmat::give_stressirrdstrains_eqother(), b3mat::give_stressirrdstrains_eqother(), camclaycoup::give_virgporosity(), camclay::give_virgporosity(), give_virgporosity(), rspecmat::give_ym_eqother(), dplmat::give_ym_eqother(), b3mat::give_ym_eqother(), rspecmat::give_ym_old_eqother(), dplmat::give_ym_old_eqother(), b3mat::give_ym_old_eqother(), scaldam::givedamage(), giveeqother(), splas1d::giveirrstrains(), shrinkmat::giveirrstrains(), mohrcoulombpar::giveirrstrains(), mohrcoulomb::giveirrstrains(), j2flow2::giveirrstrains(), j2flow::giveirrstrains(), hissplas::giveirrstrains(), drprag::giveirrstrains(), creepb::giveirrstrains(), creep_effym::giveirrstrains(), camclaycoup::giveirrstrains(), camclay::giveirrstrains(), boermat::giveirrstrains(), giveirrstrains(), drprag2::giveirrstrains(), rspecmat::giveirrstrains_eqother(), dplmat::giveirrstrains_eqother(), b3mat::giveirrstrains_eqother(), givemechq(), givencompeqother(), givencompother(), givenonloc(), givenonlocid(), givestrain(), givestress(), visplast::givestressincr(), shrinkmat::givestressincr(), hypoplast::givestressincr(), givestressincr(), hardsoftfunction(), homogenization(), in_dist(), 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_ip_1(), init_ip_2(), initmaterialmodels(), hypoplast::initval(), camclaycoup::initval(), camclay::initval(), shrinkmat::initvalues(), rspecmat::initvalues(), b3mat::initvalues(), initvalues(), elemparticle::inter_forces_1d(), soilbeam::internal_forces(), normmat::internal_forces(), beam2dspec::internal_forces(), intpointalloc(), intpointinit(), loc_elmatstiff(), loc_transf_mat(), varelastisomat::matcompl(), matdilat(), winpast::matstiff(), splas1d::matstiff(), shrinkmat::matstiff(), scaldamcc::matstiff(), scaldam::matstiff(), hypoplast::matstiff(), graphmat::matstiff(), glasgowdam::matstiff(), glasgmech::matstiff(), fixortodam::matstiff(), elastortomat::matstiff(), damplast::matstiff(), creepbs::matstiff(), creepb::matstiff(), creep_effym::matstiff(), contactmat::matstiff(), consol::matstiff(), cebfipcontactmat::matstiff(), camclaycoup::matstiff(), camclay::matstiff(), matstiff(), layplate::matstiff(), creepbs::matstiffchange(), creepb::matstiffchange(), mohrcoulomb::mc_msurf_cp(), mechmat(), planeelemlq::mechq_nodval_comp(), barel2d::mechq_nodval_comp(), hexahedc::mefel_metr(), newton_raphson_restart(), newton_stress_return(), newton_stress_return_2(), winpast::nlstresses(), visplast::nlstresses(), varelastisomat::nlstresses(), splas1d::nlstresses(), shrinkmat::nlstresses(), shefplast::nlstresses(), scaldamcc::nlstresses(), scaldam::nlstresses(), ortodamrot::nlstresses(), ortodam::nlstresses(), mohrcoulombpar::nlstresses(), mohrcoulomb::nlstresses(), microSIM::nlstresses(), microM4::nlstresses(), microfiber::nlstresses(), j2flow2::nlstresses(), j2flow::nlstresses(), hypoplast::nlstresses(), hissplas::nlstresses(), graphmat::nlstresses(), glasgownew::nlstresses(), glasgowdam::nlstresses(), glasgmech::nlstresses(), geoelastmat::nlstresses(), fixortodam::nlstresses(), elastortomat::nlstresses(), elastisomat::nlstresses(), elastgmat3d::nlstresses(), effstress::nlstresses(), drprag::nlstresses(), damplast::nlstresses(), creepdam::nlstresses(), creepbs::nlstresses(), creepbbeam::nlstresses(), creepb::nlstresses(), creep_effym::nlstresses(), contactmat::nlstresses(), consol::nlstresses(), chen::nlstresses(), cebfipcontactmat::nlstresses(), camclaycoup::nlstresses(), camclay::nlstresses(), boermat::nlstresses(), anisodamrot::nlstresses(), anisodam::nlstresses(), drprag2::nlstresses(), doubdp::nlstresses(), layplate::nlstresses(), visplast::nlstressesincr(), shrinkmat::nlstressesincr(), creepdam::nlstressesincr(), consol::nlstressesincr(), planeelemrotlt::nod_others(), planeelemlt::nod_others(), linhex::nod_others(), nodal_pore_press_forces(), splas1d::nonloc_nlstresses(), shrinkmat::nonloc_nlstresses(), mohrcoulombpar::nonloc_nlstresses(), mohrcoulomb::nonloc_nlstresses(), microM4::nonloc_nlstresses(), j2flow2::nonloc_nlstresses(), j2flow::nonloc_nlstresses(), drprag::nonloc_nlstresses(), creepdam::nonloc_nlstresses(), chen::nonloc_nlstresses(), boermat::nonloc_nlstresses(), nonlocaverage(), nonlocradius(), planeelemlq::ntdbr_vector(), nulleigstrains(), nullstrains(), nullstresses(), nulltempstrains(), shefplast::numdiff_dfdsdkc(), shefplast::numdiff_dfdsdsc(), shefplast::numdiff_dhdsc(), ortodamrot::pelmatstiff(), ortodam::pelmatstiff(), mohrcoulomb::pelmatstiff(), creepbs::phase1(), creepbbeam::phase1(), creepb::phase1(), consol::phase1(), creepbs::phase2(), creepbbeam::phase2(), creepb::phase2(), consol::phase2(), plasmodscalar(), plasticmoduli(), pointoutm::print_other(), elemoutm::print_other(), print_other(), outdiagm::print_others(), elemoutm::print_stra(), outdiagm::print_strains(), elemoutm::print_stre(), outdiagm::print_stresses(), adaptivity::print_test(), ortodamrot::qbezier_damage(), ortodam::qbezier_damage(), mechbclc::read_eigenstrains(), readip(), refresh_plast(), beam2dspec::res_mainip_stresses(), restore_intpoints_bin(), restore_intpoints_txt(), layplate::restore_values(), save_intpoints_bin(), save_intpoints_txt(), scal_dam_sol(), search_reqnmq(), stiff_deps_vispl(), stiff_eps(), soilbeam::stiffness_matrix(), beam2dspec::stiffness_matrix_expl(), rspecmat::store_agstrains_eqother(), dplmat::store_agstrains_eqother(), b3mat::store_agstrains_eqother(), rspecmat::store_beta_t_eqother(), b3mat::store_beta_t_eqother(), rspecmat::store_creepdstrains_eqother(), dplmat::store_creepdstrains_eqother(), b3mat::store_creepdstrains_eqother(), rspecmat::store_dstresses_eqother(), dplmat::store_dstresses_eqother(), b3mat::store_dstresses_eqother(), rspecmat::store_emu_eqother(), dplmat::store_emu_eqother(), b3mat::store_emu_eqother(), rspecmat::store_ft_eqother(), rspecmat::store_hidden_strains_eqother(), dplmat::store_hidden_strains_eqother(), b3mat::store_hidden_strains_eqother(), rspecmat::store_hum_eqother(), b3mat::store_hum_eqother(), rspecmat::store_irrdstrains_eqother(), b3mat::store_irrdstrains_eqother(), rspecmat::store_shrinkage_eqother(), b3mat::store_shrinkage_eqother(), rspecmat::store_strains_eqother(), dplmat::store_strains_eqother(), b3mat::store_strains_eqother(), rspecmat::store_stresses_eqother(), dplmat::store_stresses_eqother(), b3mat::store_stresses_eqother(), rspecmat::store_stresses_other(), dplmat::store_stresses_other(), b3mat::store_stresses_other(), rspecmat::store_stressirrdstrains_eqother(), b3mat::store_stressirrdstrains_eqother(), rspecmat::store_temp_eqother(), b3mat::store_temp_eqother(), rspecmat::store_ym_eqother(), dplmat::store_ym_eqother(), b3mat::store_ym_eqother(), rspecmat::store_ym_old_eqother(), dplmat::store_ym_old_eqother(), b3mat::store_ym_old_eqother(), storeeigstrain(), storeeqother(), storenonloc(), storeother(), storestrain(), storestress(), visplast::storestressincr(), layplate::stress_calc(), stress_initdispl(), shefplast::stress_return(), beam2dspec::stresses(), shefplast::tangentstiff(), mohrcoulomb::tangentstiff(), j2flow2::tangentstiff(), j2flow::tangentstiff(), drprag::tangentstiff(), chen::tangentstiff(), drprag2::tangentstiff(), therisomat::temprstrains(), temprstrains(), fixortodam::tmatstiff(), anisodam::tmatstiff(), totstrains(), trfel_mefel_by_nodes(), trfel_mefel_copyip(), updateipvalmat(), drprag::updateq(), camclaycoup::updateq(), camclay::updateq(), updateq(), visplast::updateval(), splas1d::updateval(), shrinkmat::updateval(), shefplast::updateval(), scaldamcc::updateval(), scaldam::updateval(), ortodamrot::updateval(), ortodam::updateval(), mohrcoulombpar::updateval(), mohrcoulomb::updateval(), microSIM::updateval(), microM4::updateval(), microfiber::updateval(), j2flow2::updateval(), j2flow::updateval(), hypoplast::updateval(), hissplas::updateval(), glasgownew::updateval(), glasgowdam::updateval(), geoelastmat::updateval(), fixortodam::updateval(), drprag::updateval(), creep_effym::updateval(), contactmat::updateval(), consol::updateval(), chen::updateval(), cebfipcontactmat::updateval(), camclaycoup::updateval(), camclay::updateval(), boermat::updateval(), anisodamrot::updateval(), anisodam::updateval(), drprag2::updateval(), doubdp::updateval(), layplate::updateval(), rspecmat::updatevalues(), b3mat::updatevalues(), write_elemscalar(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), write_gid_elem_type_vector(), yieldfunction(), and ~mechmat().

double * ipv

array containing volume appropriate to integration points

Definition at line 599 of file mechmat.h.

Referenced by nonlocplast::average(), nonlocmicroM4::average(), nonlocdamg::average(), ipvolume(), mechmat(), storeipvol(), and ~mechmat().

double ** lcsbase

array containing local coordinate system basis for integration points

Definition at line 593 of file mechmat.h.

long * lcsip

pointers to local coordinate systems in integration points

Definition at line 591 of file mechmat.h.

Lennard-Jones interatomic potential.

Definition at line 760 of file mechmat.h.

Referenced by give_first_derivative(), give_second_derivative(), mechmat(), readmattype(), and ~mechmat().

Lemaitre visco-plastic model.

Definition at line 689 of file mechmat.h.

Referenced by mechmat(), readmattype(), stiff_deps_vispl(), and ~mechmat().

layered model for plates

Definition at line 791 of file mechmat.h.

maximum number of component of eqother array on elements

Definition at line 607 of file mechmat.h.

Referenced by mechmat(), mefel_init(), metr_init(), pmefel_init(), pmetr_init(), elemoutgm::print_gr_oth_mtx(), elemoutgm::print_gr_oth_scal(), and elemoutgm::print_gr_oth_vec().

maximum number of component of strain/stress array on elements

Definition at line 603 of file mechmat.h.

Referenced by mechmat(), mefel_init(), metr_init(), pmefel_init(), pmetr_init(), elemoutgm::print_gr_stra_scal(), elemoutgm::print_gr_stra_vec(), elemoutgm::print_gr_stre_scal(), and elemoutgm::print_gr_stre_vec().

maximum number of component of other array at nodes

Definition at line 605 of file mechmat.h.

Referenced by mechmat(), mefel_init(), metr_init(), pmefel_init(), pmetr_init(), nodeoutgm::print_gr_oth_scal(), and nodeoutgm::print_gr_oth_vec().

simplifed version of microplane

Definition at line 680 of file mechmat.h.

Referenced by computenlstresses(), givencompeqother(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

material types

Definition at line 772 of file mechmat.h.

Referenced by mechmat(), print(), readmatchar(), dbmat::readmm(), and ~mechmat().

nonlocal damage models

Definition at line 746 of file mechmat.h.

Referenced by give_aver_quantv(), give_num_averq(), mechmat(), nonlocaverage(), nonlocradius(), readmattype(), and ~mechmat().

nonlocal plasticity models

Definition at line 743 of file mechmat.h.

Referenced by give_aver_quantv(), give_num_averq(), mechmat(), nonlocaverage(), nonlocradius(), readmattype(), and ~mechmat().

Definition at line 734 of file mechmat.h.

Referenced by give_num_averq(), mechmat(), nonlocaverage(), nonlocradius(), readmattype(), and ~mechmat().

long nmqid

array of indices in nonmechq for particular non-mechanical quantities

Definition at line 637 of file mechmat.h.

Referenced by alloc_nonmechq(), givenonmechq(), givenonmechqid(), givestatusnmq(), init_ip_2(), mechmat(), metr_init(), pmetr_init(), restore_intpoints_bin(), restore_intpoints_txt(), save_intpoints_bin(), save_intpoints_txt(), and storenonmechq().

array with ordering of used non-mechanical quantities (its size is nnmq)

Definition at line 633 of file mechmat.h.

Referenced by alloc_nonmechq(), init_ip_2(), init_trfel_mefel(), mechmat(), metr_init(), pmetr_init(), trfel_mefel(), trfel_mefel_copyip(), and ~mechmat().

long nmt

number of material types

Definition at line 581 of file mechmat.h.

Referenced by mechmat(), print(), readmatchar(), and dbmat::readmm().

long nnmq

number of actually used non-mechanical quantities (it is set by METR or according to temperature in the input file)

Definition at line 631 of file mechmat.h.

Referenced by alloc_nonmechq(), init_trfel_mefel(), mechmat(), restore_intpoints_bin(), restore_intpoints_txt(), save_intpoints_bin(), save_intpoints_txt(), trfel_mefel(), trfel_mefel_by_nodes(), trfel_mefel_copyip(), and ~mechmat().

double ** nonmechq

array containing non-mechanical quantities used for coupled problems nonmechq[quantity no.][number of integ. point] - nonmechanical quantity at the required integration point

Definition at line 629 of file mechmat.h.

Referenced by alloc_nonmechq(), givenonmechq(), mechmat(), restore_intpoints_bin(), restore_intpoints_txt(), save_intpoints_bin(), save_intpoints_txt(), storenonmechq(), and ~mechmat().

long * numtype

numbers of particular material types

Definition at line 774 of file mechmat.h.

Referenced by mechmat(), print(), readmatchar(), dbmat::readmm(), and ~mechmat().

ortotropic damage material model with crack rotation

Definition at line 700 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), give_actual_fc(), give_actual_ft(), initvalues(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

long plast

indicator of plastic regime in domain

Definition at line 575 of file mechmat.h.

Referenced by arclength(), arclength15(), arclengthadapt(), arclengthrv(), mechmat(), nonlinear_solver_adaptiv(), refresh_plast(), and refresh_plast().

model of stress relaxation based on Eurocode 2

Definition at line 740 of file mechmat.h.

Referenced by eigenstresses(), mechmat(), printmatchar(), readmattype(), and ~mechmat().

simple damage 3D material with crack closure

Definition at line 695 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), damfuncpar(), damfunction(), epsefunction(), matstiff(), readmattype(), and updateipvalmat().

Sheffield plasticity model.

Definition at line 664 of file mechmat.h.

Referenced by computenlstresses(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

svisplas * svipl

simple visco-plastic material

Definition at line 687 of file mechmat.h.

Referenced by mechmat().

simple model of viscosity

Definition at line 685 of file mechmat.h.

Referenced by mechmat(), readmattype(), stiff_deps_vispl(), and ~mechmat().

double ** tempstrains

array containing strains caused by temperature tempstrains[number of int. point][number of component]

Definition at line 624 of file mechmat.h.

Referenced by alloctempstrains(), eigstrmod(), giveeigstrain(), mechmat(), nulltempstrains(), storeeigstrain(), therisomat::temprstrains(), totstrains(), and ~mechmat().

long tnip
static const long tnknmq = sizeof(nonmechquantstr)/sizeof(*nonmechquantstr) [static]

total number of known(=implemented) non-mechanical quantities

Definition at line 635 of file mechmat.h.

Referenced by alloc_nonmechq(), mechmat(), restore_intpoints_txt(), save_intpoints_txt(), search_reqnmq(), trfel_mefel_by_nodes(), and trfel_mefel_copyip().

artificial model for combination of several time dependent material models switched on in the given time

Definition at line 674 of file mechmat.h.

Referenced by computenlstresses(), give_actual_ft(), give_actual_nu(), give_actual_ym(), give_initial_nu(), give_initial_ym(), givencompeqother(), givencompother(), initvalues(), matstiff(), mechmat(), readmattype(), updateipvalmat(), and ~mechmat().

material with variable elastic parameters E and nu

Definition at line 714 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), elmatcompl(), elmatstiff(), give_initial_nu(), give_initial_ym(), matstiff(), mechmat(), readmattype(), and ~mechmat().

Winkler-Pasternak material model of subsoil.

Definition at line 732 of file mechmat.h.

Referenced by compnonloc_nlstresses(), computenlstresses(), consol::matstiff(), matstiff(), mechmat(), readmattype(), and ~mechmat().


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

Generated by  doxygen 1.6.2