#include <outdriverm.h>
Public Member Functions | |
void | conv_sel_prop (siftop *top) |
converts selections given by property id to list or range type | |
nodeoutgm () | |
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, double *ifor) |
prints values for selected items to several grahics files | |
void | print_graphics (FILE *out, long lcid, const char *desclcid, graphfmt gf, double *ifor) |
prints values for selected items to grahics file | |
long | read (XFILE *in) |
reads data from file | |
~nodeoutgm () | |
destructor | |
Public Attributes | |
sel | dstep |
prints nodal values at selected steps | |
sel * | seldisp |
selections for displacements | |
sel * | selforce |
selections for components of forces | |
sel | sellc |
selections for load cases | |
sel | selndisp |
selection of nodes for displacements | |
sel | selnforce |
selection of items for forces | |
sel | selnoth |
selection of items for other values | |
sel | selnstra |
selection of items for strains | |
sel | selnstre |
selection of items for stresses | |
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 87 of file outdriverm.h.
nodeoutgm | ( | ) |
~nodeoutgm | ( | ) |
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 nodal properties defined in the topology top.
top | - mesh topology with defined properties of nodes and elements |
Created by Tomas Koudelka, 9.1.2015
Definition at line 3113 of file outdriverm.cpp.
References sel::conv_selprop(), gnod, sel_prop, selndisp, selnoth, selnstra, selnstre, 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 nodal values to the text file.
out | - pointer to the opened text file |
Created by Tomas Koudelka
Definition at line 1919 of file outdriverm.cpp.
References dstep, sel::n, sel::print(), print_err(), sel_all, sel_list, sel_no, sel_range, seldisp, selforce, sellc, selndisp, selnforce, selnoth, selnstra, selnstre, 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 values as a tensor for selected load case to graphics file.
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 3064 of file outdriverm.cpp.
References FNAMELEN, sel::n, other, print_err(), sel_mtx, sel_no, sel_range_mtx, selnoth, seloth, sel::st, and write_gid_nodtensor().
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 values as a tensor 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 2536 of file outdriverm.cpp.
References grfmt_gid, sel::n, other, print_err(), sel_mtx, sel_no, sel_range_mtx, selnoth, seloth, sel::st, and write_gid_nodtensor().
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 2741 of file outdriverm.cpp.
References FNAMELEN, mechmat::max_nncompo, Mm, sel::n, other, print_err(), sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selnoth, seloth, sel::st, and write_gid_nodscalar().
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 2272 of file outdriverm.cpp.
References grfmt_gid, mechmat::max_nncompo, Mm, sel::n, other, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selnoth, seloth, sel::st, write_gid_nodscalar(), and write_nodscalar().
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 file 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 2908 of file outdriverm.cpp.
References FNAMELEN, sel::id1, mechmat::max_nncompo, Mm, sel::n, sel::ncomp, other, print_err(), sel_no, sel_range_vec, selnoth, seloth, sel::st, and write_gid_nodvector().
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 2407 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_nncompo, Mm, sel::n, sel::ncomp, other, print_err(), sel_no, sel_range_vec, selnoth, seloth, sel::st, and write_gid_nodvector().
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 a tensor for selected load case to graphics file.
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 2964 of file outdriverm.cpp.
References FNAMELEN, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selnstra, selstra, sel::st, strain, and write_gid_nodtensor().
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 a tensor 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 2455 of file outdriverm.cpp.
References grfmt_gid, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selnstra, selstra, sel::st, strain, and write_gid_nodtensor().
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 the 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 2586 of file outdriverm.cpp.
References FNAMELEN, mechmat::max_ncompstrn, Mm, sel::n, print_err(), pstrain, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selnstra, selstra, sel::st, strain, transtra, and write_gid_nodscalar().
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 2159 of file outdriverm.cpp.
References grfmt_gid, mechmat::max_ncompstrn, Mm, sel::n, pstrain, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selnstra, selstra, sel::st, strain, transtra, write_gid_nodscalar(), and write_nodscalar().
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 2794 of file outdriverm.cpp.
References FNAMELEN, sel::id1, mechmat::max_ncompstrn, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selnstra, selstra, sel::st, strain, and write_gid_nodvector().
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 2313 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_ncompstrn, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selnstra, selstra, sel::st, strain, and write_gid_nodvector().
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 a tensor for selected load case to graphics file.
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 3014 of file outdriverm.cpp.
References FNAMELEN, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selnstre, selstre, sel::st, stress, and write_gid_nodtensor().
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 a tensor 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 2495 of file outdriverm.cpp.
References grfmt_gid, sel::n, print_err(), sel_mtx, sel_no, sel_range_mtx, selnstre, selstre, sel::st, stress, and write_gid_nodtensor().
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 the 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 2664 of file outdriverm.cpp.
References FNAMELEN, mechmat::max_ncompstrn, Mm, sel::n, print_err(), pstress, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selnstre, selstre, sel::st, stress, transtre, and write_gid_nodscalar().
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 2216 of file outdriverm.cpp.
References grfmt_gid, mechmat::max_ncompstrn, Mm, sel::n, pstress, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selnstre, selstre, sel::st, stress, transtre, write_gid_nodscalar(), and write_nodscalar().
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 2851 of file outdriverm.cpp.
References FNAMELEN, sel::id1, mechmat::max_ncompstrn, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selnstre, selstre, sel::st, stress, and write_gid_nodvector().
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 2360 of file outdriverm.cpp.
References grfmt_gid, sel::id1, mechmat::max_ncompstrn, Mm, sel::n, sel::ncomp, print_err(), sel_no, sel_range_vec, selnstre, selstre, sel::st, stress, and write_gid_nodvector().
Referenced by print_graphics().
void print_graphics | ( | const char * | outfn, | |
const char * | mode, | |||
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf, | |||
double * | ifor | |||
) |
prints values for selected items to several grahics files
Function prints required output values for selected nodes and for given load case and step to the several output grahics 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 | |
gf | - graphics format | |
ifor | - vector of nodal forces |
Created by Tomas Koudelka
Definition at line 2087 of file outdriverm.cpp.
References FNAMELEN, grfmt_gid_sep, 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(), print_gr_stre_vec(), sel_no, selndisp, selnforce, sel::st, write_gid_displ(), and write_gid_nforces().
void print_graphics | ( | FILE * | out, | |
long | lcid, | |||
const char * | desclcid, | |||
graphfmt | gf, | |||
double * | ifor | |||
) |
prints values for selected items to grahics file
Function prints required output values for selected nodes 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 | |
ifor | - vector of nodal forces |
Created by Tomas Koudelka
Definition at line 2037 of file outdriverm.cpp.
References grfmt_gid, grfmt_open_dx, 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(), sel_no, selndisp, selnforce, sel::st, write_displ(), write_gid_displ(), write_gid_nforces(), and write_nforces().
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 nodal values from the graphic file.
in | - pointer to the opened text file |
0 | - on success | |
1 | - error reading displacement selection | |
2 | - error reading strain selection | |
3 | - error reading stress selection | |
4 | - error reading other values selection | |
5 | - error reading force selection |
Created by Tomas Koudelka
Definition at line 1755 of file outdriverm.cpp.
References dstep, memset(), Mp, sel::n, probdesc::otheraver, probdesc::othercomp, probdesc::otherpos, print_err(), sel::read(), sel_all, sel_list, sel_no, sel_range, seldisp, selforce, sellc, selndisp, selnforce, selnoth, selnstra, selnstre, seloth, selstra, selstre, sel::st, probdesc::strainaver, probdesc::straincomp, probdesc::strainpos, probdesc::stressaver, probdesc::stresscomp, probdesc::stresspos, transtra, transtre, and xfscanf().
Referenced by outdriverm::read().
prints nodal values at selected steps
Definition at line 149 of file outdriverm.h.
Referenced by outdriverm::create_files_gidsp(), print(), outdriverm::print_graphics(), read(), and outdriverm::read().
selections for displacements
Definition at line 157 of file outdriverm.h.
Referenced by nodeoutgm(), print(), read(), and ~nodeoutgm().
selections for components of forces
Definition at line 180 of file outdriverm.h.
Referenced by nodeoutgm(), print(), read(), and ~nodeoutgm().
selections for load cases
Definition at line 152 of file outdriverm.h.
Referenced by print(), outdriverm::print_graphics(), outdriverm::print_graphics_forced(), and read().
selection of nodes for displacements
Definition at line 155 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_graphics(), read(), and outdriverm::write_vtk_unkn().
selection of items for forces
Definition at line 178 of file outdriverm.h.
Referenced by print(), print_graphics(), read(), and solve_linear_statics().
selection of items for other values
Definition at line 174 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_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), and outdriverm::write_vtk_unkn().
selection of items for strains
Definition at line 160 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_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), and outdriverm::write_vtk_unkn().
selection of items for stresses
Definition at line 167 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_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), and outdriverm::write_vtk_unkn().
selections for other values
Definition at line 176 of file outdriverm.h.
Referenced by nodeoutgm(), print(), print_gr_oth_mtx(), print_gr_oth_scal(), print_gr_oth_vec(), read(), write_gid_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), and ~nodeoutgm().
selections for strains
Definition at line 162 of file outdriverm.h.
Referenced by nodeoutgm(), print(), print_gr_stra_mtx(), print_gr_stra_scal(), print_gr_stra_vec(), read(), write_gid_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), and ~nodeoutgm().
selections for stresses
Definition at line 169 of file outdriverm.h.
Referenced by nodeoutgm(), print(), print_gr_stre_mtx(), print_gr_stre_scal(), print_gr_stre_vec(), read(), write_gid_nodscalar(), write_gid_nodtensor(), write_gid_nodvector(), and ~nodeoutgm().
long* transtra |
indices of local coordinate systems for strains
Definition at line 164 of file outdriverm.h.
Referenced by nodeoutgm(), print(), print_gr_stra_scal(), read(), outdriverm::testlcs(), write_gid_nodscalar(), write_gid_nodtensor(), and ~nodeoutgm().
long* transtre |
indices of local coordinate systems for stresses
Definition at line 171 of file outdriverm.h.
Referenced by nodeoutgm(), print(), print_gr_stre_scal(), read(), outdriverm::testlcs(), write_gid_nodscalar(), write_gid_nodtensor(), and ~nodeoutgm().