#include <outdriverm.h>
Public Member Functions | |
void | conv_sel_prop (siftop *top) |
converts selections given by property id to list or range type | |
elemoutgm () | |
constructor | |
void | print (FILE *out) |
prints description data to file | |
void | print_gr_oth_mtx (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected other items as tensors to several graphics files | |
void | print_gr_oth_mtx (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected other items as tensors to graphics file | |
void | print_gr_oth_scal (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected other items as scalars to several graphics files | |
void | print_gr_oth_scal (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected other items as scalars to graphics file | |
void | print_gr_oth_vec (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected other items as vectors to several graphics files | |
void | print_gr_oth_vec (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected other items as vectors to graphics file | |
void | print_gr_stra_mtx (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected strains as tensors to several graphics files | |
void | print_gr_stra_mtx (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected strains as tensors to graphics file | |
void | print_gr_stra_scal (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected strains as scalars to several graphics files | |
void | print_gr_stra_scal (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected strains as scalars to graphics file | |
void | print_gr_stra_vec (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected strains as vectors to several graphics files | |
void | print_gr_stra_vec (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected strains as vectors to graphics file | |
void | print_gr_stre_mtx (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected stresses as tensors to sevral graphics files | |
void | print_gr_stre_mtx (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected stresses as tensors to graphics file | |
void | print_gr_stre_scal (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected stresses as scalars to several graphics files | |
void | print_gr_stre_scal (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected stresses as scalars to graphics file | |
void | print_gr_stre_vec (const char *outfn, const char *mode, long lcid, const char *desclcid) |
prints values of selected stresses as vectors to several graphics files | |
void | print_gr_stre_vec (FILE *out, long lcid, const char *desclcid, graphfmt gf) |
prints values of selected stresses as vectors to graphics file | |
void | print_graphics (const char *outfn, const char *mode, long lcid, const char *desclcid, graphfmt gf, long idelem1) |
prints values for selected items to to several grahics file | |
void | print_graphics (FILE *out, long lcid, const char *desclcid, graphfmt gf, long idelem1) |
prints values for selected items to grahics file | |
long | read (XFILE *in) |
reads data from file | |
~elemoutgm () | |
destructor | |
Public Attributes | |
sel | dstep |
prints element values at selected steps | |
long | ide1 |
number of the first element for GiD output (normally should be 1), set by print_graphics function | |
matrix * | lcs |
array of transformation matrices for individual local coordinate systems | |
long | nlcs |
number of local coordinate systems used at output procedures | |
sel | seleoth |
selection of items for other values | |
sel | selestra |
selection of items for strains | |
sel | selestre |
selection of items for stresses | |
sel | sellc |
selections for load cases | |
sel * | seloth |
selections for other values | |
sel * | selstra |
selections for strains | |
sel * | selstre |
selections for stresses | |
long * | transtra |
indices of local coordinate systems for strains | |
long * | transtre |
indices of local coordinate systems for stresses |
Definition at line 235 of file outdriverm.h.
elemoutgm | ( | ) |
~elemoutgm | ( | ) |
void conv_sel_prop | ( | siftop * | top | ) |
converts selections given by property id to list or range type
Converts selections given by property id to list or range type in all output collections according element properties defined in the topology top.
top | - mesh topology with defined properties of elements |
Created by Tomas Koudelka, 9.1.2015
Definition at line 4847 of file outdriverm.cpp.
References sel::conv_selprop(), gnod, sel_prop, seleoth, selestra, selestre, and sel::st.
Referenced by outdriverm::conv_sel_prop().
void print | ( | FILE * | out | ) |
prints description data to file
Function prints data with description for output of element values to the text file.
out | - pointer to the opened text file |
Created by Tomas Koudelka
Definition at line 3776 of file outdriverm.cpp.
References dstep, sel::n, sel::print(), print_err(), sel_all, sel_list, sel_no, sel_range, seleoth, selestra, selestre, sellc, seloth, selstra, selstre, sel::st, transtra, and transtre.
Referenced by outdriverm::print().
void print_gr_oth_mtx | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected other items as tensors to several graphics files
Function prints values of selected other items as tensors for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4784 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, sel::id1, ide1, mechmat::max_encompo, Mm, sel::n, sel::ncomp, other, print_err(), sel_mtx, sel_no, sel_range_mtx, seleoth, seloth, sel::st, and write_gid_elemtensor().
void print_gr_oth_mtx | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected other items as tensors to graphics file
Function prints values of selected other items as tensors for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 4241 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_encompo, Mm, sel::n, sel::ncomp, other, print_err(), sel_mtx, sel_no, sel_range_mtx, seleoth, seloth, sel::st, and write_gid_elemtensor().
Referenced by print_graphics().
void print_gr_oth_scal | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected other items as scalars to several graphics files
Function prints values of selected other items as scalars for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4446 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, ide1, mechmat::max_encompo, Mm, sel::n, other, print_err(), sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, seleoth, seloth, sel::st, and write_gid_elemscalar().
void print_gr_oth_scal | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected other items as scalars to graphics file
Function prints values of selected other items as scalars for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 3977 of file outdriverm.cpp.
References grfmt_femcad, grfmt_gid, mechmat::max_encompo, Mm, sel::n, other, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, seleoth, seloth, sel::st, write_elemscalar(), and write_gid_elemscalar().
Referenced by print_graphics().
void print_gr_oth_vec | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected other items as vectors to several graphics files
Function prints values of selected other items as vectors for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4619 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, sel::id1, ide1, mechmat::max_encompo, Mm, sel::n, sel::ncomp, other, print_err(), sel_no, sel_range_vec, seleoth, seloth, sel::st, and write_gid_elemvector().
void print_gr_oth_vec | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected other items as vectors to graphics file
Function prints values of selected other items as vectors for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 4111 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_encompo, Mm, sel::n, sel::ncomp, other, print_err(), sel_no, sel_range_vec, seleoth, seloth, sel::st, and write_gid_elemvector().
Referenced by print_graphics().
void print_gr_stra_mtx | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected strains as tensors to several graphics files
Function prints values of selected strains as tensors for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4678 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, ide1, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selestra, selstra, sel::st, strain, and write_gid_elemtensor().
void print_gr_stra_mtx | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected strains as tensors to graphics file
Function prints values of selected strains as tensors for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 4159 of file outdriverm.cpp.
References grfmt_gid, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selestra, selstra, sel::st, strain, and write_gid_elemtensor().
Referenced by print_graphics().
void print_gr_stra_scal | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected strains as scalars to several graphics files
Function prints values of selected strains as scalars for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4336 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, ide1, mechmat::max_ncompstre, Mm, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selestra, selstra, sel::st, strain, and write_gid_elemscalar().
void print_gr_stra_scal | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected strains as scalars to graphics file
Function prints values of selected strains as scalars for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 3897 of file outdriverm.cpp.
References grfmt_femcad, grfmt_gid, mechmat::max_ncompstre, Mm, sel::n, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selestra, selstra, sel::st, strain, write_elemscalar(), and write_gid_elemscalar().
Referenced by print_graphics().
void print_gr_stra_vec | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected strains as vectors to several graphics files
Function prints values of selected strains as vectors for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4501 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, sel::id1, ide1, mechmat::max_ncompstre, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selestra, selstra, sel::st, strain, and write_gid_elemvector().
void print_gr_stra_vec | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected strains as vectors to graphics file
Function prints values of selected strains as vectors for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 4017 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_ncompstre, mechmat::max_ncompstrn, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selestra, selstra, sel::st, strain, and write_gid_elemvector().
Referenced by print_graphics().
void print_gr_stre_mtx | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected stresses as tensors to sevral graphics files
Function prints values of selected stresses as tensors for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4731 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, ide1, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selestre, selstre, sel::st, stress, and write_gid_elemtensor().
void print_gr_stre_mtx | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected stresses as tensors to graphics file
Function prints values of selected stresses as tensors for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 4200 of file outdriverm.cpp.
References grfmt_gid, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selestre, selstre, sel::st, stress, and write_gid_elemtensor().
Referenced by print_graphics().
void print_gr_stre_scal | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected stresses as scalars to several graphics files
Function prints values of selected stresses as scalars for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4391 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, ide1, mechmat::max_ncompstre, Mm, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selestre, selstre, sel::st, stress, and write_gid_elemscalar().
void print_gr_stre_scal | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected stresses as scalars to graphics file
Function prints values of selected stresses as scalars for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 3937 of file outdriverm.cpp.
References grfmt_femcad, grfmt_gid, mechmat::max_ncompstre, Mm, sel::n, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selestre, selstre, sel::st, stress, write_elemscalar(), and write_gid_elemscalar().
Referenced by print_graphics().
void print_gr_stre_vec | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid | |||
) |
prints values of selected stresses as vectors to several graphics files
Function prints values of selected stresses as vectors for selected load case to separated graphics files named by printed quantity component.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description |
Created by Tomas Koudelka
Definition at line 4560 of file outdriverm.cpp.
References export_gid_gauss_pt(), FNAMELEN, sel::id1, ide1, mechmat::max_ncompstre, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selestre, selstre, sel::st, stress, and write_gid_elemvector().
void print_gr_stre_vec | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf | |||
) |
prints values of selected stresses as vectors to graphics file
Function prints values of selected stresses as vectors for selected load case to graphics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format |
Created by Tomas Koudelka
Definition at line 4064 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_ncompstre, mechmat::max_ncompstrn, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selestre, selstre, sel::st, stress, and write_gid_elemvector().
Referenced by print_graphics().
void print_graphics | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf, | |||
long | idelem1 | |||
) |
prints values for selected items to to several grahics file
Function prints required output values for selected elements and for given load case and step to the several output grahics files named by printed quantity component. If the opening mode is "wt", than the output graphics files are only opened and header is printed, no data are written.
outfn | - string with file name part | |
mode | - opening mode for graphics files | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format | |
idelem1 | - number of the first element for GiD output (normally should be 1), set by print_graphics function |
Created by Tomas Koudelka
Definition at line 4299 of file outdriverm.cpp.
References grfmt_gid_sep, ide1, print_err(), print_gr_oth_mtx(), print_gr_oth_scal(), print_gr_oth_vec(), print_gr_stra_mtx(), print_gr_stra_scal(), print_gr_stra_vec(), print_gr_stre_mtx(), print_gr_stre_scal(), and print_gr_stre_vec().
void print_graphics | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf, | |||
long | idelem1 | |||
) |
prints values for selected items to grahics file
Function prints required output values for selected elements and for given load case and step to the output grahics file.
out | - pointer to the opened grahics file | |
lcid | - load case id | |
desclcid | - load case description | |
gf | - graphics format | |
idelem1 | - number of the first element for GiD output (normally should be 1), set by print_graphics function |
Created by Tomas Koudelka
Definition at line 3863 of file outdriverm.cpp.
References grfmt_open_dx, ide1, print_gr_oth_mtx(), print_gr_oth_scal(), print_gr_oth_vec(), print_gr_stra_mtx(), print_gr_stra_scal(), print_gr_stra_vec(), print_gr_stre_mtx(), print_gr_stre_scal(), and print_gr_stre_vec().
Referenced by outdriverm::create_files_gidsp(), outdriverm::print_graphics(), and outdriverm::print_graphics_forced().
long read | ( | XFILE * | in | ) |
reads data from file
Function reads data with description for output of element values from the text file.
in | - pointer to the opened text file |
0 | - on success | |
1 | - error reading step | |
2 | - error reading strain selection | |
3 | - error reading stress selection | |
4 | - error reading other values selection |
Created by Tomas Koudelka
Definition at line 3654 of file outdriverm.cpp.
References dstep, memset(), Mp, sel::n, probdesc::othercomp, probdesc::otherpos, print_err(), sel::read(), sel_all, sel_list, sel_no, sel_range, seleoth, selestra, selestre, sellc, seloth, selstra, selstre, sel::st, probdesc::straincomp, probdesc::strainpos, probdesc::stresscomp, probdesc::stresspos, transtra, transtre, and xfscanf().
Referenced by outdriverm::read().
prints element values at selected steps
Definition at line 297 of file outdriverm.h.
Referenced by outdriverm::create_files_gidsp(), print(), outdriverm::print_graphics(), read(), and outdriverm::read().
long ide1 |
number of the first element for GiD output (normally should be 1), set by print_graphics function
Definition at line 322 of file outdriverm.h.
Referenced by elemoutgm(), print_gr_oth_mtx(), print_gr_oth_scal(), print_gr_oth_vec(), print_gr_stra_mtx(), print_gr_stra_scal(), print_gr_stra_vec(), print_gr_stre_mtx(), print_gr_stre_scal(), print_gr_stre_vec(), and print_graphics().
array of transformation matrices for individual local coordinate systems
Definition at line 327 of file outdriverm.h.
long nlcs |
number of local coordinate systems used at output procedures
Definition at line 325 of file outdriverm.h.
selection of items for other values
Definition at line 317 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_gr_oth_mtx(), print_gr_oth_scal(), print_gr_oth_vec(), read(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), and write_gid_elem_type_vector().
selection of items for strains
Definition at line 303 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_gr_stra_mtx(), print_gr_stra_scal(), print_gr_stra_vec(), read(), outdriverm::testlcs(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), and write_gid_elem_type_vector().
selection of items for stresses
Definition at line 310 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_gr_stre_mtx(), print_gr_stre_scal(), print_gr_stre_vec(), read(), outdriverm::testlcs(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), and write_gid_elem_type_vector().
selections for load cases
Definition at line 300 of file outdriverm.h.
Referenced by print(), outdriverm::print_graphics(), outdriverm::print_graphics_forced(), and read().
selections for other values
Definition at line 319 of file outdriverm.h.
Referenced by elemoutgm(), print(), print_gr_oth_mtx(), print_gr_oth_scal(), print_gr_oth_vec(), read(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), write_gid_elem_type_vector(), and ~elemoutgm().
selections for strains
Definition at line 305 of file outdriverm.h.
Referenced by elemoutgm(), print(), print_gr_stra_mtx(), print_gr_stra_scal(), print_gr_stra_vec(), read(), write_gid_elem_type_scalar(), write_gid_elem_type_vector(), and ~elemoutgm().
selections for stresses
Definition at line 312 of file outdriverm.h.
Referenced by elemoutgm(), print(), print_gr_stre_mtx(), print_gr_stre_scal(), print_gr_stre_vec(), read(), write_gid_elem_type_scalar(), write_gid_elem_type_vector(), and ~elemoutgm().
long* transtra |
indices of local coordinate systems for strains
Definition at line 307 of file outdriverm.h.
Referenced by elemoutgm(), print(), read(), outdriverm::testlcs(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), and ~elemoutgm().
long* transtre |
indices of local coordinate systems for stresses
Definition at line 314 of file outdriverm.h.
Referenced by elemoutgm(), print(), read(), outdriverm::testlcs(), write_gid_elem_type_scalar(), write_gid_elem_type_tensor(), and ~elemoutgm().