#include <stdio.h>
#include "alias.h"
Go to the source code of this file.
Functions | |
void | aux_mech_nonlin_print (FILE *aux, double *r, double l) |
void | aux_mech_time_print (FILE *aux, double *r, double l) |
void | export_femcad (FILE *out) |
void | export_gid_2dmesh (FILE *out, long icut, long idn1, long ide1) |
void | export_gid_gauss_pt (FILE *out, long ide1) |
void | export_gid_mesh (FILE *out, long idn1, long ide1) |
void | print_close () |
void | print_default_dx (gtopology *gt, probdesc *mp, mechtop *mt, mechmat *mm, long lcid, const char *file) |
void | print_displacements (FILE *out, long lcid) |
void | print_eigenvalues (double *w) |
void | print_eigenvect_martin (FILE *out) |
void | print_eigenvectors () |
void | print_flush () |
void | print_init (long istep, const char *mode, long idn1=1, long ide1=1) |
void | print_intforces (FILE *out, double *fi) |
void | print_multipliers (FILE *out) |
void | print_other (FILE *out, long lcid) |
void | print_reactions (FILE *out, long lcid) |
void | print_step (long lcid, long istep, double lambda, double *fi) |
void | print_step_forced (long lcid, long istep, double lambda, double *fi) |
void | print_strains_nodes (FILE *out, long lcid) |
void | print_strains_old (FILE *out, long lcid) |
void | print_strains_udp (FILE *out, long eid) |
void | print_stresses_nodes (FILE *out, long lcid) |
void | print_stresses_old (FILE *out, long lcid) |
void | print_stresses_udp (FILE *out, long eid) |
void | print_valel (gtopology *gt, probdesc *mp, const char *file, char *caption, double *valel, char flag) |
void | write_deflection (FILE *out, long lcid, long dir, const char *desclcid) |
void | write_displ (FILE *out, long lcid, const char *deslcid) |
void | write_elements (FILE *out) |
void | write_elements_prep (FILE *out, siftop *st) |
void | write_elemscalar (FILE *out, double *val, const char *descr, const char *desclcid) |
void | write_elemscalar (FILE *out, strastre scal, long lcid, long dir, const char *desclcid) |
void | write_gid_2delement (FILE *out, long i, long id1, long nne, long icut, long di, long idn1, long ide1) |
void | write_gid_contact_element (FILE *out, long i, long idn1, long ide1) |
void | write_gid_displ (FILE *out, long lcid, const char *desclcid) |
void | write_gid_elem_type_scalar (FILE *out, strastre scal, long lcid, long dir, const char *desclcid, elemtype te) |
void | write_gid_elem_type_tensor (FILE *out, strastre q, long lcid, long sid, const char *desclcid, elemtype te) |
void | write_gid_elem_type_vector (FILE *out, strastre q, long lcid, long sid, const char *desclcid, elemtype te) |
void | write_gid_element (FILE *out, long i, long idn1, long ide1) |
void | write_gid_elemscalar (FILE *out, strastre scal, long lcid, long dir, const char *desclcid) |
void | write_gid_elemtensor (FILE *out, strastre q, long lcid, long sid, const char *desclcid) |
void | write_gid_elemvector (FILE *out, strastre q, long lcid, long sid, const char *desclcid) |
void | write_gid_nforces (FILE *out, long lcid, const char *desclcid, double *ifor) |
void | write_gid_nodes (FILE *out, long idn1) |
void | write_gid_nodscalar (FILE *out, strastre scal, long lcid, long dir, const char *desclcid) |
void | write_gid_nodtensor (FILE *out, strastre q, long lcid, long sid, const char *desclcid) |
void | write_gid_nodvector (FILE *out, strastre q, long lcid, long sid, const char *desclcid) |
void | write_nforces (FILE *out, long lcid, const char *desclcid, double *ifor) |
void | write_nodes (FILE *out) |
void | write_nodes_prep (FILE *out, siftop *st) |
void | write_nodscalar (FILE *out, long dir, const char *desclcid) |
void | write_nodscalar (FILE *out, double *val, const char *descr, const char *desclcid) |
void | write_nodscalar (FILE *out, strastre scal, long lcid, long dir, const char *desclcid) |
void aux_mech_nonlin_print | ( | FILE * | aux, | |
double * | r, | |||
double | l | |||
) |
function compiles data for printing file.dx data = deformation(from Lsrs), all components from arrays Mt->strain, Mt->stress and Mt->eqother
gt | - gtopology | |
mp | - probdesc | |
mt | - mechtop | |
lcid | - id of load case | |
file | - name of "dx" file |
created 20.4.2003, Ladislav Svoboda, termit@cml.fsv.cvut.cz
Definition at line 5948 of file mechprint.cpp.
void aux_mech_time_print | ( | FILE * | aux, | |
double * | r, | |||
double | l | |||
) |
Definition at line 5967 of file mechprint.cpp.
void export_femcad | ( | FILE * | out | ) |
The function exports mesh topology to the opened text file in FemCAD format.
out | - pointer to the opened file |
Created by Tomas Koudelka 2003
Definition at line 3822 of file mechprint.cpp.
References write_elements(), and write_nodes().
Referenced by print_init().
void export_gid_2dmesh | ( | FILE * | out, | |
long | icut, | |||
long | idn1, | |||
long | ide1 | |||
) |
The function exports from 3D brick element mesh the 2D plane element cuts to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
icut | - index of the cut - will be used in the element property | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default should be ide1 = 1 -> elements are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1394 of file mechprint.cpp.
References mechtop::elements, Gtm, gtopology::leso, linearhex, Mt, mechtop::ne, element::te, write_gid_2delement(), and write_gid_nodes().
Referenced by print_init().
void export_gid_gauss_pt | ( | FILE * | out, | |
long | ide1 | |||
) |
The function exports sets of gausspoints of used elements to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
ide1 | - id of the first element for GiD mesh (default is ide1 = 1 -> elements are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 742 of file mechprint.cpp.
References vector::a, allocv(), Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, bar2d, bar3d, barq2d, barq3d, beam2d, beam3d, Cct, cctel, destrv(), Dkt, dktel, mechtop::elements, gauss_points(), gauss_points_tet(), gauss_points_tr(), mechtop::give_totnip(), Gtm, quadhex::intordsm, linhex::intordsm, quadtet::intordsm, lintet::intordsm, axisymqq::intordsm, planeelemqq::intordsm, planeelemrotlq::intordsm, planeelemlq::intordsm, axisymlq::intordsm, planeelemqt::intordsm, planeelemrotlt::intordsm, soilplatetr::intordsm, dktelem::intordsm, cctelem::intordsm, axisymlt::intordsm, gtopology::leso, Lhex, linearhex, lineartet, Ltet, Mt, quadhex::nb, linhex::nb, quadtet::nb, lintet::nb, axisymqq::nb, planeelemqq::nb, planeelemrotlq::nb, axisymlq::nb, planeelemqt::nb, planeelemrotlt::nb, soilplatetr::nb, dktelem::nb, cctelem::nb, axisymlt::nb, mechtop::ne, Pelq, Peqq, Peqt, Perlq, Perlt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planequadcontact, Qhex, Qtet, quadrhex, quadrtet, Spltr, subsoilbeam, subsoilplatetr, and element::te.
Referenced by elemoutgm::print_gr_oth_mtx(), elemoutgm::print_gr_oth_scal(), elemoutgm::print_gr_oth_vec(), elemoutgm::print_gr_stra_mtx(), elemoutgm::print_gr_stra_scal(), elemoutgm::print_gr_stra_vec(), elemoutgm::print_gr_stre_mtx(), elemoutgm::print_gr_stre_scal(), elemoutgm::print_gr_stre_vec(), and print_init().
void export_gid_mesh | ( | FILE * | out, | |
long | idn1, | |||
long | ide1 | |||
) |
The function exports sets of used elements to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default should be ide1 = 1 -> elements are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 399 of file mechprint.cpp.
References axisymmlq, axisymmlt, axisymmqq, bar2d, bar3d, barq2d, barq3d, beam2d, beam3d, cctel, dktel, dstel, mechtop::elements, Gtm, gtopology::leso, linearhex, lineartet, Mt, mechtop::ne, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planequadcontact, q4plateel, quadrhex, quadrtet, subsoilbeam, subsoilplateq, subsoilplatetr, element::te, write_gid_contact_element(), write_gid_element(), and write_gid_nodes().
Referenced by print_init().
void print_close | ( | ) |
The function performs closing of all opened files managed by the outdriver.
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 369 of file mechprint.cpp.
References outdriverm::ndiag, outdriverm::outdiagf, Outdm, outdriverm::outf, and outdriverm::outgr.
Referenced by arclength(), arclengthadapt(), arclengthrv(), difference_method(), displ_control(), femplast_epressure(), general_epressure(), general_epressure_varsup(), newmark_method(), newton_raphson(), newton_raphson_coupl_new(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), newton_raphson_restart(), newton_raphsonrv1(), nonlin_newmark_method(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_comp(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_solve_linear_statics(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob2(), par_solve_timemech_prob_old(), parallel_solution_eigen_dynamics(), solve_eigen_dynamics(), solve_hemivariational_inequalities(), solve_incremental_floating_subdomains(), solve_layered_linear_statics(), solve_linear_floating_subdomains(), solve_linear_floating_subdomains2(), solve_linear_floating_subdomains_old(), solve_linear_statics(), solve_load_balancing(), solve_molecular_dynamics(), solve_nonlinear_statics(), solve_prob_constr_phases(), solve_var_stiff_method(), verlet_method(), visco_solver(), and visco_solver2().
void print_default_dx | ( | gtopology * | gt, | |
probdesc * | mp, | |||
mechtop * | mt, | |||
mechmat * | mm, | |||
long | lcid, | |||
const char * | file | |||
) |
function compiles data(from array 'valnod') for printing file.dx(.ex)
gt | - gtopology | |
mp | - probdesc | |
mt | - mechtop | |
file | - name of "dx"("ex") file; if file=NULL file is generated automatically from 'cap' | |
caption | - name=caption of 'value' | |
valnod | - array of 'values' on nodes, one node = one value, => dimension is gt->nn | |
flag | - type of file - "d" = file.dx(for OpenDx) , "e" = file.ex(for Elixir) |
created 5.2.2003, Ladislav Svoboda, termit@cml.fsv.cvut.cz function compiles data for printing file.dx data = deformation(from Lsrs), all components of strain and stress(from mt->nodes)
gt | - gtopology | |
mp | - probdesc | |
mt | - mechtop | |
mm | - mechmat | |
lcid | - id of load case | |
file | - name of "dx" file |
created 20.11.2002, Ladislav Svoboda, termit@cml.fsv.cvut.cz
Definition at line 5754 of file mechprint.cpp.
References probdesc::detnodstrain, mechtop::elements, mechtop::give_tncomp(), linearhex, lineartet, planeelemqq::midpoints(), gtopology::ne, gtopology::nn, noddispl(), mechtop::nodes, Peqq, planeelementlq, planeelementlt, planeelementqq, planeelementqt, print_dx(), print_err(), quadrtet, node::strain, node::stress, and element::te.
Referenced by outdriverm::print_graphics(), and outdriverm::print_graphics_forced().
void print_displacements | ( | FILE * | out, | |
long | lcid | |||
) |
function prints displacements
out | - output stream | |
lcid | - load case id |
Definition at line 4591 of file mechprint.cpp.
References earth_pressure, eigen_dynamics, forced_dynamics, geom_nonlinear_statics, gtopology::give_dof(), mechtop::give_ndofn(), growing_mech_structure, Gtm, layered_linear_statics, mechbclc::lc, lhsrhs::lhs, lin_floating_subdomain, linear_statics, Lsrs, mat_nonlinear_statics, Mb, mech_timedependent_prob, Mp, Mt, Ndofm, mechtop::nn, nonlin_floating_subdomain, loadcase::pd, print_err(), and probdesc::tprob.
void print_eigenvalues | ( | double * | w | ) |
Definition at line 5368 of file mechprint.cpp.
References probdesc::eigsol, Mp, eigvalsol::neigv, and Out.
Referenced by parallel_solution_eigen_dynamics(), and solve_eigen_dynamics().
void print_eigenvect_martin | ( | FILE * | out | ) |
Definition at line 5509 of file mechprint.cpp.
References probdesc::eigsol, gtopology::give_dof(), lhsrhs::give_lhs(), mechtop::give_ndofn(), Gtm, Lsrs, Mp, Mt, eigvalsol::neigv, and mechtop::nn.
void print_eigenvectors | ( | ) |
Definition at line 5384 of file mechprint.cpp.
References probdesc::eigsol, lhsrhs::give_lhs(), Lsrs, Mp, Ndofm, eigvalsol::neigv, and Out.
Referenced by parallel_solution_eigen_dynamics(), and solve_eigen_dynamics().
void print_flush | ( | ) |
The function performs buffer flush of all opened files managed by the outdriver. It is usefull for imadiate output of required values and should be called at solver after the function print_step is called.
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 346 of file mechprint.cpp.
References outdriverm::ndiag, outdriverm::outdiagf, Outdm, outdriverm::outf, and outdriverm::outgr.
Referenced by arclength(), arclengthadapt(), arclengthrv(), arclengthrv1(), difference_method(), displ_control(), garclength(), gnewton_raphson(), gnewton_raphson2(), newmark_method(), newton_raphson(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), newton_raphson_restart(), newton_raphsonep(), newton_raphsonrv1(), nonlin_newmark_method(), one_step_arcl(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_comp(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_one_step(), par_one_step_mefel(), par_solve_linear_statics(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob2(), par_solve_timemech_prob_old(), par_visco_mefel_init(), par_visco_solver_init(), solve_nonlinear_statics(), solve_prob_constr_phases(), verlet_method(), visco_solver(), visco_solver2(), and visco_solver_init().
void print_init | ( | long | istep, | |
const char * | mode, | |||
long | idn1, | |||
long | ide1 | |||
) |
Function opens data files for each type of outputfile
istep | - step id. The parameter enables to open file with name enhanced by the step id - istep >= 0 or it leaves required filename untouched for instance that istep < 0. In case of stochastic calculations and in case istep >= 0, the istep precedes the stochastic step id. | |
mode | - string with control sequence for the file opening. It enables to open new file (mode = "wt") or to append existing ones (mode = "at"). | |
idn1 | - id of the first node for GiD mesh (default is idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default is ide1 = 1 -> elements are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 48 of file mechprint.cpp.
References outdriverm::create_files_gidsp(), export_femcad(), export_gid_2dmesh(), export_gid_gauss_pt(), export_gid_mesh(), filename_decomposition(), FNAMELEN, outdriverm::gf, grfmt_femcad, grfmt_gid, grfmt_gid_sep, grfmt_no, grfmt_open_dx, grfmt_vtk, outdriverm::ide1, outdriverm::idn1, Mp, outdriverm::ncut, outdriverm::ndiag, probdesc::ns, outdriverm::outdiagf, outdriverm::outdiagfn, Outdm, outdriverm::outf, outdriverm::outfn, outdriverm::outgr, outdriverm::outgrfn, outdriverm::outgrfngs, print_err(), outdriverm::print_header(), St, and outdriverm::textout.
Referenced by arclength(), arclengthadapt(), arclengthrv(), difference_method(), displ_control(), femplast_epressure(), general_epressure(), general_epressure_varsup(), newmark_method(), newton_raphson(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), newton_raphson_restart(), newton_raphsonrv1(), nonlin_newmark_method(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_solve_linear_statics(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob_old(), par_visco_mefel_init(), par_visco_solver_init(), parallel_solution_eigen_dynamics(), solve_eigen_dynamics(), solve_hemivariational_inequalities(), solve_incremental_floating_subdomains(), solve_layered_linear_statics(), solve_linear_floating_subdomains(), solve_linear_floating_subdomains2(), solve_linear_floating_subdomains_old(), solve_linear_statics(), solve_load_balancing(), solve_molecular_dynamics(), solve_nonlinear_statics(), solve_prob_constr_phases(), solve_var_stiff_method(), verlet_method(), visco_solver(), and visco_solver_init().
void print_intforces | ( | FILE * | out, | |
double * | fi | |||
) |
Definition at line 5333 of file mechprint.cpp.
References gtopology::give_dof(), mechtop::give_ndofn(), Gtm, Mt, and mechtop::nn.
void print_multipliers | ( | FILE * | out | ) |
Definition at line 4667 of file mechprint.cpp.
References gtopology::give_mult_code_numbers(), gtopology::give_nmult(), Gtm, layered_linear_statics, gtopology::lgnodes, lhsrhs::lhs, Lsrs, Mp, Mt, lgnode::nl, mechtop::nln, print_err(), and probdesc::tprob.
void print_other | ( | FILE * | out, | |
long | lcid | |||
) |
Definition at line 5235 of file mechprint.cpp.
References intpoints::eqother, mechmat::ip, Mm, intpoints::ncompother, and mechmat::tnip.
void print_reactions | ( | FILE * | out, | |
long | lcid | |||
) |
Definition at line 5351 of file mechprint.cpp.
References mechtop::give_ndofn(), Mt, mechtop::nn, mechtop::nodes, node::r, and node::react.
void print_step | ( | long | lcid, | |
long | istep, | |||
double | lambda, | |||
double * | fi | |||
) |
The function performs all prints requirements for given step.
lcid | - load case id | |
istep | - step id | |
lambda | - load coefficient or time (it depends on problem type and solver) | |
fi | - array of additional values at nodes which should be printed. It depends on problem and solver type. For example for nonlinear statics it contains the internal forces. |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 244 of file mechprint.cpp.
References earth_pressure, eigen_dynamics, forced_dynamics, geom_nonlinear_statics, growing_mech_structure, layered_linear_statics, lin_floating_subdomain, linear_statics, load_balancing, mat_nonlinear_statics, mech_timedependent_prob, Mp, nonlin_floating_subdomain, Outdm, outdriverm::outf, outdriverm::outgr, outdriverm::print_diags(), print_err(), outdriverm::print_graphics(), outdriverm::print_newstep(), outdriverm::print_out(), and probdesc::tprob.
Referenced by arclength(), arclengthadapt(), arclengthrv(), arclengthrv1(), difference_method(), displ_control(), garclength(), general_epressure(), general_epressure_varsup(), gnewton_raphson(), gnewton_raphson2(), newmark_method(), newton_raphson(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), newton_raphson_restart(), newton_raphsonep(), newton_raphsonrv1(), nonlin_newmark_method(), one_step_arcl(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_one_step(), par_one_step_mefel(), par_solve_linear_statics(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob_old(), par_visco_mefel_init(), par_visco_solver_init(), parallel_solution_eigen_dynamics(), solve_eigen_dynamics(), solve_hemivariational_inequalities(), solve_incremental_floating_subdomains(), solve_layered_linear_statics(), solve_linear_floating_subdomains(), solve_linear_floating_subdomains2(), solve_linear_floating_subdomains_old(), solve_linear_statics(), solve_load_balancing(), solve_molecular_dynamics(), solve_nonlinear_statics(), solve_prob_constr_phases(), solve_var_stiff_method(), visco_solver(), visco_solver2(), and visco_solver_init().
void print_step_forced | ( | long | lcid, | |
long | istep, | |||
double | lambda, | |||
double * | fi | |||
) |
The function performs all prints requirements without respect to to selected step/time (forced printing).
lcid | - load case id | |
istep | - step id | |
lambda | - load coefficient or time (it depends on problem type and solver) | |
fi | - array of additional values at nodes which should be printed. It depends on problem and solver type. For example for nonlinear statics it contains the internal forces. |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 298 of file mechprint.cpp.
References earth_pressure, eigen_dynamics, forced_dynamics, geom_nonlinear_statics, growing_mech_structure, layered_linear_statics, lin_floating_subdomain, linear_statics, load_balancing, mat_nonlinear_statics, mech_timedependent_prob, Mp, nonlin_floating_subdomain, Outdm, outdriverm::outf, outdriverm::outgr, outdriverm::print_diags_forced(), print_err(), outdriverm::print_graphics_forced(), outdriverm::print_newstep(), outdriverm::print_out_forced(), and probdesc::tprob.
Referenced by garclength(), gnewton_raphson(), gnewton_raphson2(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_comp(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_nonlin(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob2(), visco_solver(), and visco_solver2().
void print_strains_nodes | ( | FILE * | out, | |
long | lcid | |||
) |
function prints strains computed in nodes
out | - output file | |
eid | - element id |
19.5.2002
Definition at line 4877 of file mechprint.cpp.
References Mt, node::ncompstr, mechtop::nn, mechtop::nodes, and node::strain.
void print_strains_old | ( | FILE * | out, | |
long | lcid | |||
) |
Definition at line 4701 of file mechprint.cpp.
void print_strains_udp | ( | FILE * | out, | |
long | eid | |||
) |
function prints strains computed in user defined points
out | - output file | |
eid | - element id |
23.2.2002
Definition at line 4900 of file mechprint.cpp.
References aepoints::ev, mechtop::give_tncomp(), Mm, Mt, aepoints::nape, and mechmat::stra.
void print_stresses_nodes | ( | FILE * | out, | |
long | lcid | |||
) |
function prints strains computed in integration points
out | - output file | |
lcid | - load case id |
19.5.2002 function prints strains on elements
out | - output stream |
23.2.2002 function prints stresses computed in nodes
out | - output file | |
eid | - element id |
19.5.2002
Definition at line 4972 of file mechprint.cpp.
References Mt, node::ncompstr, mechtop::nn, mechtop::nodes, and node::stress.
void print_stresses_old | ( | FILE * | out, | |
long | lcid | |||
) |
function prints stresses computed in integration points
out | - output file | |
eid | - element id |
23.2.2002 function prints stresses on elements
out | - output stream |
19.5.2002 function prints stresses computed in integration points
out | - output stream | |
lcid | - load case id |
Definition at line 5070 of file mechprint.cpp.
void print_stresses_udp | ( | FILE * | out, | |
long | eid | |||
) |
function prints stresses computed in user defined points
out | - output file | |
eid | - element id |
23.2.2002
Definition at line 4995 of file mechprint.cpp.
References aepoints::ev, mechtop::give_tncomp(), Mm, Mt, aepoints::nape, mechmat::stra, and mechmat::stre.
void print_valel | ( | gtopology * | gt, | |
probdesc * | mp, | |||
const char * | file, | |||
char * | caption, | |||
double * | valel, | |||
char | flag | |||
) |
function compiles data(from array 'valel') for printing file.dx(.ex)
gt | - gtopology | |
mp | - probdesc | |
file | - name of "dx"("ex") file; if file=NULL file is generated automatically from 'caption' | |
caption | - name=caption of 'value' | |
valel | - array of 'values' on elements, one element = one value, => dimension is gt->ne | |
flag | - type of file - "d" = file.dx(for OpenDx) , "e" = file.ex(for Elixir) |
created 20.11.2002, Ladislav Svoboda, termit@cml.fsv.cvut.cz
Definition at line 5620 of file mechprint.cpp.
References gtopology::adjacelem(), gtopology::adjelnod, gtopology::nadjelnod, gtopology::nn, Out, probdesc::path, print_dx(), and print_ex().
void write_deflection | ( | FILE * | out, | |
long | lcid, | |||
long | dir, | |||
const char * | desclcid | |||
) |
The function writes required component of nodal displacements from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
lcid | - load case id | |
dir | - component of the required quantity | |
desclcid | - string with load case description |
Created by Tomas Koudelka 2003
Definition at line 4568 of file mechprint.cpp.
References gtopology::gnodes, Gtm, Mt, gnode::ndofn, mechtop::nn, and noddispl().
void write_displ | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid | |||
) |
The function writes nodal displacements from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
lcid | - load case id | |
desclcid | - string with load case description |
Created by Tomas Koudelka 2003
Definition at line 3996 of file mechprint.cpp.
References gtopology::gnodes, Gtm, Mt, gnode::ndofn, mechtop::nn, and noddispl().
Referenced by nodeoutgm::print_graphics().
void write_elements | ( | FILE * | out | ) |
The function exports elelemnts to the opened text file in FemCAD format.
out | - pointer to the opened file |
Created by Tomas Koudelka 2003
Definition at line 3858 of file mechprint.cpp.
References bar2d, bar3d, barq2d, barq3d, beam2d, beam3d, cctel, dktel, dstel, mechtop::elements, gtopology::gelements, Gtm, gtopology::leso, linearhex, Mt, mechtop::ne, gelement::nne, gelement::nodes, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, print_err(), q4plateel, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, and element::te.
Referenced by export_femcad().
void write_elements_prep | ( | FILE * | out, | |
siftop * | st | |||
) |
The function exports elelemnts to the opened text file in FemCAD format. The source of data is initialized siftop object.
out | - pointer to the opened file | |
st | - pointer to the siftop object with required topology |
Created by Tomas Koudelka 2003
Definition at line 3968 of file mechprint.cpp.
void write_elemscalar | ( | FILE * | out, | |
double * | val, | |||
const char * | descr, | |||
const char * | desclcid | |||
) |
The function writes required values on elements from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
val | - vector of values on elements | |
descr | - string with quantity description | |
desclcid | - string with load case description |
Created by Tomas Koudelka 2003
Definition at line 4540 of file mechprint.cpp.
References Gtm, gtopology::leso, Mt, and mechtop::ne.
void write_elemscalar | ( | FILE * | out, | |
strastre | scal, | |||
long | lcid, | |||
long | dir, | |||
const char * | desclcid | |||
) |
The function writes value of required quantity on elements from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
scal | - type of required quantity | |
lcid | - load case id | |
dir | - component of the required quantity | |
desclcid | - string with load case description |
Created by Tomas Koudelka 2003
Definition at line 4264 of file mechprint.cpp.
References mechtop::elements, intpoints::eqother, Gtm, mechmat::ip, element::ipp, gtopology::leso, Mm, Mt, intpoints::ncompother, intpoints::ncompstr, mechtop::ne, mechtop::nn, other, print_err(), intpoints::strain, strain, intpoints::stress, and stress.
Referenced by femplast_epressure(), elemoutgm::print_gr_oth_scal(), elemoutgm::print_gr_stra_scal(), and elemoutgm::print_gr_stre_scal().
void write_gid_2delement | ( | FILE * | out, | |
long | i, | |||
long | id1, | |||
long | nne, | |||
long | icut, | |||
long | di, | |||
long | idn1, | |||
long | ide1 | |||
) |
The function exports 3D brick element as 2D plane element to the file given by parameter out in GiD format. Purpose of the function is to perform cuts of the domain which consists of the regular mesh of brick elements.
out | - pointer to the opened text file where the output will be produced | |
i | - brick element id | |
id1 | - brick element index of the first node for plane element | |
nne | - brick element index of the last node for plane element | |
icut | - index of the cut - will be used in the element property | |
di | - the start index of the plane elements | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default should be ide1 = 1 -> elements are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1525 of file mechprint.cpp.
References mechtop::elements, gtopology::gelements, Gtm, element::idm, Mt, and gelement::nodes.
Referenced by export_gid_2dmesh().
void write_gid_contact_element | ( | FILE * | out, | |
long | i, | |||
long | idn1, | |||
long | ide1 | |||
) |
The function exports contact element to the file given by parameter out in GiD format. Nodes from half of element are exported only.
out | - pointer to the opened text file where the output will be produced | |
i | - element id | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default should be ide1 = 1 -> elements are numbered from 1) |
Created 2013 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1496 of file mechprint.cpp.
References mechtop::elements, gtopology::gelements, gelement::give_nne(), Gtm, element::idm, Mt, and gelement::nodes.
Referenced by export_gid_mesh().
void write_gid_displ | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid | |||
) |
The function writes displacement vector for all nodes to the file given by parameter out in GiD format. The results are printed for all nodes with no dependency on the outdriver selection.
out | - pointer to the opened text file where the output will be produced | |
lcid | - load case id | |
desclcid | - string with description of loadcase |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1551 of file mechprint.cpp.
References vector::a, copyv(), node::e1, node::e2, node::e3, fillm(), g, mechtop::give_maxndofn(), mechtop::give_ndofn(), Gtm, outdriverm::idn1, gtopology::lnso, Mt, mxv(), mechtop::nn, noddispl(), mechtop::nodes, Outdm, reallocm(), reallocv(), and node::transf.
Referenced by nodeoutgm::print_graphics().
void write_gid_elem_type_scalar | ( | FILE * | out, | |
strastre | scal, | |||
long | lcid, | |||
long | dir, | |||
const char * | desclcid, | |||
elemtype | te | |||
) |
The function writes a scalar value given by parameter scal on elements of given type (parameter te) to the file given by parameter out in GiD format. The results are printed at each element integration points.
out | - pointer to the opened text file where the output will be produced | |
scal | - specifies type of required scalar quantity (strain/stres/other) | |
lcid | - load case id | |
dir | - specifies which component of the quantity array will be printed | |
desclcid | - string with description of loadcase | |
te | - required element type |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 2425 of file mechprint.cpp.
References vector::a, allocm(), allocv(), axisymm, bar, bar2d, bar3d, barq2d, barq3d, beam2d, beam3d, mechtop::elements, mechmat::elip, outdriverm::eog, intpoints::eqother, gfmatrix::evaluate_t(), mechtop::give_totnip(), gl_comp_engvectortransf(), Gtm, outdriverm::ide1, mechmat::ip, ipcoord(), element::ipp, outdriverm::lcs, gtopology::leso, Mm, Mt, vector::n, intpoints::ncompeqother, intpoints::ncompstr, mechtop::ne, outdriverm::nlcs, other, Outdm, p, planeelementlq, planestrain, planestress, platek, plates, plbeam, sel::presence_id(), print_err(), sel_all, elemoutgm::seleoth, elemoutgm::selestra, elemoutgm::selestre, elemoutgm::seloth, elemoutgm::selstra, elemoutgm::selstre, shell, spacestress, intpoints::ssst, sel::st, intpoints::strain, strain, intpoints::stress, stress, subsoilbeam, subsoilplatetr, element::te, elemoutgm::transtra, and elemoutgm::transtre.
Referenced by write_gid_elemscalar().
void write_gid_elem_type_tensor | ( | FILE * | out, | |
strastre | q, | |||
long | lcid, | |||
long | sid, | |||
const char * | desclcid, | |||
elemtype | te | |||
) |
The function writes a tensor(matrix) quantity given by parameter q on elements of given type (parameter te) to the file given by parameter out in GiD format. The results are printed at each element integration points.
out | - pointer to the opened text file where the output will be produced | |
q | - specifies type of required scalar quantity (strain/stres/other) | |
lcid | - load case id | |
sid | - index of selection of elements which will be printed | |
desclcid | - string with description of loadcase | |
te | - required element type |
created 4.10.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 3537 of file mechprint.cpp.
References allocm(), allocv(), bar2d, bar3d, barq2d, barq3d, beam2d, beam3d, copyv(), destrv(), mechtop::elements, mechmat::elip, outdriverm::eog, intpoints::eqother, gfmatrix::evaluate_t(), mechtop::give_totnip(), glmatrixtransf(), Gtm, guess_ssst(), sel::id1, outdriverm::ide1, mechmat::ip, ipcoord(), element::ipp, outdriverm::lcs, gtopology::leso, Mm, Mt, sel::ncomp, intpoints::ncompeqother, intpoints::ncompstr, mechtop::ne, outdriverm::nlcs, other, Outdm, p, planeelementlq, sel::presence_id(), print_err(), elemoutgm::seleoth, elemoutgm::selestra, elemoutgm::selestre, elemoutgm::seloth, intpoints::ssst, intpoints::strain, strain, intpoints::stress, stress, subsoilbeam, element::te, elemoutgm::transtra, elemoutgm::transtre, and vector_tensor().
Referenced by write_gid_elemtensor().
void write_gid_elem_type_vector | ( | FILE * | out, | |
strastre | q, | |||
long | lcid, | |||
long | sid, | |||
const char * | desclcid, | |||
elemtype | te | |||
) |
The function writes a vector quantity given by parameter q on elements of given type (parameter te) to the file given by parameter out in GiD format. The results are printed at each element integration points.
out | - pointer to the opened text file where the output will be produced | |
q | - specifies type of required vector quantity (strain/stres/other) | |
lcid | - load case id | |
sid | - index of selection of elements which will be printed | |
desclcid | - string with description of loadcase | |
te | - required element type |
created 4.10.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 3204 of file mechprint.cpp.
References bar2d, bar3d, barq2d, barq3d, beam2d, beam3d, mechtop::elements, outdriverm::eog, intpoints::eqother, mechtop::give_totnip(), Gtm, sel::id1, outdriverm::ide1, mechmat::ip, element::ipp, gtopology::leso, Mm, Mt, sel::ncomp, intpoints::ncompeqother, intpoints::ncompstr, mechtop::ne, other, Outdm, planeelementlq, sel::presence_id(), print_err(), elemoutgm::seleoth, elemoutgm::selestra, elemoutgm::selestre, elemoutgm::seloth, elemoutgm::selstra, elemoutgm::selstre, intpoints::strain, strain, intpoints::stress, stress, subsoilbeam, and element::te.
Referenced by write_gid_elemvector().
void write_gid_element | ( | FILE * | out, | |
long | i, | |||
long | idn1, | |||
long | ide1 | |||
) |
The function exports element to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
i | - element id | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default should be ide1 = 1 -> elements are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
The function exports element to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
i | - element id | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) | |
ide1 | - id of the first element for GiD mesh (default should be ide1 = 1 -> elements are numbered from 1) |
Created 2010 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1468 of file mechprint.cpp.
References mechtop::elements, gtopology::gelements, gelement::give_nne(), Gtm, element::idm, Mt, gelement::nodes, and element::tm.
Referenced by export_gid_mesh().
void write_gid_elemscalar | ( | FILE * | out, | |
strastre | scal, | |||
long | lcid, | |||
long | dir, | |||
const char * | desclcid | |||
) |
The function writes a scalar quantity given by parameters scal and dir on all elements to the file given by parameter out in GiD format. The results are printed at each integration point on given element.
out | - pointer to the opened text file where the output will be produced | |
scal | - specifies type of required scalar quantity (strain/stres/other) | |
lcid | - load case id | |
dir | - specifies which component of the quantity array will be printed | |
desclcid | - string with description of loadcase |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 2298 of file mechprint.cpp.
References Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, bar2d, Bar2d, bar3d, Bar3d, barq2d, Barq2d, barq3d, Barq3d, beam2d, Beam2d, beam3d, Beam3d, Cct, cctel, Dkt, dktel, Dst, dstel, Lhex, linearhex, lineartet, linearwed, Ltet, Lwed, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, and write_gid_elem_type_scalar().
Referenced by elemoutgm::print_gr_oth_scal(), elemoutgm::print_gr_stra_scal(), and elemoutgm::print_gr_stre_scal().
void write_gid_elemtensor | ( | FILE * | out, | |
strastre | q, | |||
long | lcid, | |||
long | sid, | |||
const char * | desclcid | |||
) |
The function writes a tensor quantity given by parameters q and sid on all selected elements to the file given by parameter out in GiD format. The results are printed at each integration point on given element.
out | - pointer to the opened text file where the output will be produced | |
q | - specifies type of required tensor quantity (strain/stres/other) | |
lcid | - load case id | |
sid | - index of element selection whose selected quantity array will be printed | |
desclcid | - string with description of loadcase |
created 4.10.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 3410 of file mechprint.cpp.
References Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, bar2d, Bar2d, bar3d, Bar3d, barq2d, Barq2d, barq3d, Barq3d, beam2d, Beam2d, beam3d, Beam3d, Cct, cctel, Dkt, dktel, Dst, dstel, Lhex, linearhex, lineartet, linearwed, Ltet, Lwed, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, and write_gid_elem_type_tensor().
Referenced by elemoutgm::print_gr_oth_mtx(), elemoutgm::print_gr_stra_mtx(), and elemoutgm::print_gr_stre_mtx().
void write_gid_elemvector | ( | FILE * | out, | |
strastre | q, | |||
long | lcid, | |||
long | sid, | |||
const char * | desclcid | |||
) |
The function writes a vector quantity given by parameters q and sid on all selected elements to the file given by parameter out in GiD format. The results are printed at each integration point on given element.
out | - pointer to the opened text file where the output will be produced | |
q | - specifies type of required vector quantity (strain/stres/other) | |
lcid | - load case id | |
sid | - index of element selection whose selected quantity array will be printed | |
desclcid | - string with description of loadcase |
created 4.10.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 3077 of file mechprint.cpp.
References Asymlq, Asymlt, Asymqq, axisymmlq, axisymmlt, axisymmqq, bar2d, Bar2d, bar3d, Bar3d, barq2d, Barq2d, barq3d, Barq3d, beam2d, Beam2d, beam3d, Beam3d, Cct, cctel, Dkt, dktel, Dst, dstel, Lhex, linearhex, lineartet, linearwed, Ltet, Lwed, Pelq, Pelt, Peqq, Peqt, Perlq, Perlt, Pesqt, planeelementlq, planeelementlt, planeelementqq, planeelementqt, planeelementrotlq, planeelementrotlt, planeelementsubqt, planequadcontact, Pqcon, Q4pl, q4plateel, Qhex, Qtet, quadrhex, quadrtet, quadrwed, Qwed, Sbeam, shellqelem, shelltrelem, Shq, Shtr, Splq, Spltr, Spring, spring_1, spring_2, spring_3, spring_4, spring_5, spring_6, subsoilbeam, subsoilplateq, subsoilplatetr, and write_gid_elem_type_vector().
Referenced by elemoutgm::print_gr_oth_vec(), elemoutgm::print_gr_stra_vec(), and elemoutgm::print_gr_stre_vec().
void write_gid_nforces | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
double * | ifor | |||
) |
The function writes vector of forces for all nodes to the file given by parameter out in GiD format. The results are printed for all nodes with no dependency on the outdriver selection.
out | - pointer to the opened text file where the output will be produced | |
lcid | - load case id | |
desclcid | - string with description of loadcase | |
ifor | - vector of nodal forces |
created 06.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1631 of file mechprint.cpp.
References copyv(), node::e1, node::e2, node::e3, f, fillm(), g, mechtop::give_ndofn(), Gtm, outdriverm::idn1, gtopology::lnso, Mt, mxv(), mechtop::nn, mechtop::nodes, nodforce(), Outdm, reallocm(), reallocv(), and node::transf.
Referenced by nodeoutgm::print_graphics().
void write_gid_nodes | ( | FILE * | out, | |
long | idn1 | |||
) |
The function exports nodes to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
The function exports nodes to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
idn1 | - id of the first node for GiD mesh (default should be idn1 = 1 -> nodes are numbered from 1) |
Created 2010 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1445 of file mechprint.cpp.
References gtopology::gnodes, Gtm, Mt, mechtop::nn, gnode::x, gnode::y, and gnode::z.
Referenced by export_gid_2dmesh(), and export_gid_mesh().
void write_gid_nodscalar | ( | FILE * | out, | |
strastre | scal, | |||
long | lcid, | |||
long | dir, | |||
const char * | desclcid | |||
) |
The function writes a scalar value given by parameter scal on all nodes to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
scal | - specifies type of required scalar quantity (strain/stres/other) | |
lcid | - load case id | |
dir | - specifies which component of the quantity array will be printed | |
desclcid | - string with description of loadcase |
Created 2004 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1713 of file mechprint.cpp.
References vector::a, allocm(), allocv(), gfmatrix::evaluate_t(), mechtop::give_nodal_coord(), gl_comp_engvectortransf(), Gtm, outdriverm::idn1, outdriverm::lcs, gtopology::lnso, mechmat::max_ncompstrn, Mm, Mt, vector::n, node::ncompother, node::ncompstr, outdriverm::nlcs, mechtop::nn, mechtop::nodes, outdriverm::nog, node::other, other, Outdm, p, planestrain, sel::presence_id(), print_err(), node::pstra, pstrain, node::pstre, pstress, nodeoutgm::selnoth, nodeoutgm::selnstra, nodeoutgm::selnstre, nodeoutgm::seloth, nodeoutgm::selstra, nodeoutgm::selstre, spacestress, node::strain, strain, node::stress, stress, nodeoutgm::transtra, and nodeoutgm::transtre.
Referenced by nodeoutgm::print_gr_oth_scal(), nodeoutgm::print_gr_stra_scal(), and nodeoutgm::print_gr_stre_scal().
void write_gid_nodtensor | ( | FILE * | out, | |
strastre | q, | |||
long | lcid, | |||
long | sid, | |||
const char * | desclcid | |||
) |
The function writes a tensor(matrix) quantity given by parameter q on elements of given type (parameter te) to the file given by parameter out in GiD format. The results are printed at each element integration points.
out | - pointer to the opened text file where the output will be produced | |
q | - specifies type of required scalar quantity (strain/stres/other) | |
lcid | - load case id | |
sid | - index of selection of elements which will be printed | |
desclcid | - string with description of loadcase | |
te | - required element type |
created 4.10.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 2117 of file mechprint.cpp.
References allocm(), allocv(), copyv(), destrv(), gfmatrix::evaluate_t(), mechtop::give_nodal_coord(), glmatrixtransf(), Gtm, guess_ssst(), sel::id1, outdriverm::idn1, outdriverm::lcs, gtopology::lnso, Mt, sel::ncomp, node::ncompother, node::ncompstr, outdriverm::nlcs, mechtop::nn, mechtop::nodes, nodes, outdriverm::nog, node::other, other, Outdm, p, sel::presence_id(), print_err(), nodeoutgm::selnoth, nodeoutgm::selnstra, nodeoutgm::selnstre, nodeoutgm::seloth, nodeoutgm::selstra, nodeoutgm::selstre, node::strain, strain, node::stress, stress, nodeoutgm::transtra, nodeoutgm::transtre, and vector_tensor().
Referenced by nodeoutgm::print_gr_oth_mtx(), nodeoutgm::print_gr_stra_mtx(), and nodeoutgm::print_gr_stre_mtx().
void write_gid_nodvector | ( | FILE * | out, | |
strastre | q, | |||
long | lcid, | |||
long | sid, | |||
const char * | desclcid | |||
) |
The function writes a vector value given by parameter scal for nodes slected by selection with index sid to the file given by parameter out in GiD format.
out | - pointer to the opened text file where the output will be produced | |
q | - specifies type of required quantity (strain/stres/other) | |
lcid | - load case id | |
sid | - index of nodal selection which will be printed | |
desclcid | - string with description of loadcase |
created 3.10.2007 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz
Definition at line 1992 of file mechprint.cpp.
References Gtm, sel::id1, outdriverm::idn1, gtopology::lnso, Mt, sel::ncomp, node::ncompother, node::ncompstr, mechtop::nn, mechtop::nodes, outdriverm::nog, node::other, other, Outdm, sel::presence_id(), print_err(), nodeoutgm::selnoth, nodeoutgm::selnstra, nodeoutgm::selnstre, nodeoutgm::seloth, nodeoutgm::selstra, nodeoutgm::selstre, node::strain, strain, node::stress, and stress.
Referenced by nodeoutgm::print_gr_oth_vec(), nodeoutgm::print_gr_stra_vec(), and nodeoutgm::print_gr_stre_vec().
void write_nforces | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
double * | ifor | |||
) |
The function writes nodal forces from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
lcid | - load case id | |
desclcid | - string with load case description | |
ifor | - vector of nodal force |
Created by Tomas Koudelka 2003
Definition at line 4029 of file mechprint.cpp.
References allocm(), allocv(), copyv(), destrm(), destrv(), node::e1, node::e2, node::e3, f, fillm(), g, mechtop::give_dof(), mechtop::give_ndofn(), gtopology::gnodes, Gtm, Mt, mxv(), gnode::ndofn, mechtop::nn, mechtop::nodes, node::r, and node::transf.
Referenced by nodeoutgm::print_graphics().
void write_nodes | ( | FILE * | out | ) |
The function exports nodal coordinates to the opened text file in FemCAD format.
out | - pointer to the opened file |
Created by Tomas Koudelka 2003
Definition at line 3839 of file mechprint.cpp.
References gtopology::gnodes, Gtm, gtopology::nn, gnode::x, gnode::y, and gnode::z.
Referenced by export_femcad().
void write_nodes_prep | ( | FILE * | out, | |
siftop * | st | |||
) |
The function exports nodal coordinates to the opened text file in FemCAD format. The source of data is initialized siftop object.
out | - pointer to the opened file | |
st | - pointer to the siftop object with required topology |
Created by Tomas Koudelka 2003
Definition at line 3947 of file mechprint.cpp.
void write_nodscalar | ( | FILE * | out, | |
long | dir, | |||
const char * | desclcid | |||
) |
The function writes required values of principal strains/stresses at nodes from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
dir | - indicator of required values (-1, -2, -3 => eps1, eps2, eps3; 0, 1, 2, 3 => psig1, psig2, psig3, tau_max) | |
desclcid | - string with load case description |
Created by Tomas Koudelka 2003
Definition at line 4444 of file mechprint.cpp.
References Mt, mechtop::nn, mechtop::nodes, node::pstra, and node::pstre.
void write_nodscalar | ( | FILE * | out, | |
double * | val, | |||
const char * | descr, | |||
const char * | desclcid | |||
) |
void write_nodscalar | ( | FILE * | out, | |
strastre | scal, | |||
long | lcid, | |||
long | dir, | |||
const char * | desclcid | |||
) |
The function writes value of required nodal quantity from the given load case to the opened text file in FemCAD format.
out | - pointer to the opened file | |
scal | - type of required quantity | |
lcid | - load case id | |
dir | - component of the required quantity | |
desclcid | - string with load case description |
Created by Tomas Koudelka 2003
Definition at line 4113 of file mechprint.cpp.
References Mt, node::ncompother, node::ncompstr, mechtop::nn, mechtop::nodes, node::other, other, print_err(), node::strain, strain, node::stress, and stress.
Referenced by nodeoutgm::print_gr_oth_scal(), nodeoutgm::print_gr_stra_scal(), and nodeoutgm::print_gr_stre_scal().