#include <outdrivert.h>
Public Member Functions | |
nodeoutgt () | |
constructor | |
void | print (FILE *out) |
prints description data to file | |
void | print_graphics (char *outfn, char *mode, long lcid, char *desclcid, graphftt gf, double *ifor, hflagsw hf) |
prints values for selected nodes to to several grahics file | |
void | print_graphics (FILE *out, long lcid, char *desclcid, graphftt gf, double *ifor) |
prints values for selected nodes to graphics file | |
long | read (XFILE *in) |
reads data from file | |
~nodeoutgt () | |
destructor | |
Public Attributes | |
sel | dstep |
prints nodal values at selected steps | |
sel * | seleqoth |
selections for eq_other values | |
sel * | selflux |
selections for fluxes | |
sel * | selforcet |
selections for components of forces=fluxes | |
sel * | selgrad |
selections for gradients | |
sel | selneqoth |
selection of nodes for eq_other values | |
sel | selnflux |
selection of nodes for fluxes | |
sel | selnforcet |
selection of items for forces=fluxes | |
sel | selngrad |
selection of nodes for gradients | |
sel | selnoth |
selection of nodes for other values | |
sel | selnunkn |
selection of nodes for unknowns | |
sel * | seloth |
selections for other values | |
sel * | selunkn |
selections for unknowns |
Definition at line 80 of file outdrivert.h.
nodeoutgt | ( | ) |
~nodeoutgt | ( | ) |
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 |
Definition at line 1695 of file outdrivert.cpp.
References dstep, sel::n, sel::print(), sel_all, sel_list, sel_no, sel_range, seleqoth, selflux, selforcet, selgrad, selneqoth, selnflux, selnforcet, selngrad, selnoth, selnunkn, seloth, selunkn, and sel::st.
Referenced by outdrivert::print().
void print_graphics | ( | char * | outfn, | |
char * | mode, | |||
long | lcid, | |||
char * | desclcid, | |||
graphftt | gf, | |||
double * | ifor, | |||
hflagsw | hf | |||
) |
prints values for selected nodes to to several grahics file
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 (fluxes) | |
hf | - flag for writing of GiD result file header/footer, hf_off(default value) = no header/footer is written (standard time step) header = header and/or group beginning is written (inital time step) footer = footer of group is written (final time step) |
Definition at line 1937 of file outdrivert.cpp.
References Adat, eqothert, export_gid_gauss_ptt(), flux, FNAMELEN, footer, grad, grftt_gid_sep, header, hf_off, adaptivityt::istep, sel::n, nodet::ncompeqother, nodet::ncompother, transtop::nodes, probdesct::ntm, othert, print_err(), sel_no, seleqoth, selflux, selgrad, selneqoth, selnflux, selnforcet, selngrad, selnoth, selnunkn, seloth, sel::st, Tp, Tt, write_gid_nforcest(), write_gid_nodscalart(), write_gid_nodvectort(), and write_gid_unkn().
void print_graphics | ( | FILE * | out, | |
long | lcid, | |||
char * | desclcid, | |||
graphftt | gf, | |||
double * | ifor | |||
) |
prints values for selected nodes to graphics 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 = 0 | |
desclcid | - load case description | |
gf | - graphics format | |
ifor | - vector of nodal forces (fluxes) |
Definition at line 1829 of file outdrivert.cpp.
References eqothert, flux, grad, grftt_gid, grftt_open_dx, sel::n, nodet::ncompeqother, nodet::ncompother, transtop::nodes, probdesct::ntm, othert, sel_no, seleqoth, selflux, selgrad, selneqoth, selnflux, selnforcet, selngrad, selnoth, selnunkn, seloth, sel::st, Tp, Tt, write_gid_nforcest(), write_gid_nodscalart(), write_gid_nodvectort(), write_gid_unkn(), and write_nforcest().
Referenced by outdrivert::close_files_gidsp(), outdrivert::create_files_gidsp(), outdrivert::print_graphics(), and outdrivert::print_graphics_forced().
long read | ( | XFILE * | in | ) |
reads data from file
Function reads data with description for output of nodal values from the text file.
in | - pointer to the opened text file |
0 | - on success | |
1 | - error reading step or load case selection | |
2 | - error reading unknown selection | |
3 | - error reading gradient selection | |
4 | - error reading flux selection | |
5 | - error reading other values selection | |
6 | - error reading eqother values selection |
Definition at line 1512 of file outdrivert.cpp.
References dstep, probdesct::eqotheraver, probdesct::eqothercomp, probdesct::eqotherpos, probdesct::fluxaver, probdesct::fluxcomp, probdesct::fluxpos, probdesct::gradaver, probdesct::gradcomp, probdesct::gradpos, sel::n, probdesct::otheraver, probdesct::othercomp, probdesct::otherpos, sel::read(), sel_all, sel_list, sel_no, sel_range, seleqoth, selflux, selforcet, selgrad, selneqoth, selnflux, selnforcet, selngrad, selnoth, selnunkn, seloth, selunkn, sel::st, Tp, and xfscanf().
Referenced by outdrivert::read().
prints nodal values at selected steps
Definition at line 97 of file outdrivert.h.
Referenced by outdrivert::close_files_gidsp(), outdrivert::create_files_gidsp(), print(), outdrivert::print_graphics(), read(), and outdrivert::read().
selections for eq_other values
Definition at line 122 of file outdrivert.h.
Referenced by nodeoutgt(), print(), print_graphics(), read(), and ~nodeoutgt().
selections for fluxes
Definition at line 112 of file outdrivert.h.
Referenced by nodeoutgt(), print(), print_graphics(), read(), and ~nodeoutgt().
selections for components of forces=fluxes
Definition at line 127 of file outdrivert.h.
selections for gradients
Definition at line 107 of file outdrivert.h.
Referenced by nodeoutgt(), print(), print_graphics(), read(), and ~nodeoutgt().
selection of nodes for eq_other values
Definition at line 120 of file outdrivert.h.
Referenced by print(), print_graphics(), and read().
selection of nodes for fluxes
Definition at line 110 of file outdrivert.h.
Referenced by print(), print_graphics(), and read().
selection of items for forces=fluxes
Definition at line 125 of file outdrivert.h.
Referenced by print(), print_graphics(), and read().
selection of nodes for gradients
Definition at line 105 of file outdrivert.h.
Referenced by print(), print_graphics(), and read().
selection of nodes for other values
Definition at line 115 of file outdrivert.h.
Referenced by print(), print_graphics(), and read().
selection of nodes for unknowns
Definition at line 100 of file outdrivert.h.
Referenced by print(), print_graphics(), and read().
selections for other values
Definition at line 117 of file outdrivert.h.
Referenced by nodeoutgt(), print(), print_graphics(), read(), and ~nodeoutgt().
selections for unknowns
Definition at line 102 of file outdrivert.h.
Referenced by nodeoutgt(), print(), read(), and ~nodeoutgt().