elemoutgt Class Reference

#include <outdrivert.h>

List of all members.

Public Member Functions

 elemoutgt ()
 constructor
void print (FILE *out)
 prints description data to file
void print_gr_eqoth_scal (const char *outfn, const char *mode, long lcid, const char *desclcid, hflagsw hf)
 prints eqother values for selected elements to several grahics file as individual scalars
void print_gr_eqoth_scal (FILE *out, long lcid, const char *desclcid, graphftt gf)
 prints eqother values for selected elements to grahics file as individual scalars
void print_gr_eqoth_vec (const char *outfn, const char *mode, long lcid, const char *desclcid, hflagsw hf)
 prints eqother values for selected elements to several grahics file as vectors
void print_gr_eqoth_vec (FILE *out, long lcid, const char *desclcid, graphftt gf)
 prints eqother values for selected elements to grahics file as vectors
void print_gr_flux_scal (const char *outfn, const char *mode, const char *desclcid, hflagsw hf)
 prints fluxes for selected elements to several grahics file as individual scalars
void print_gr_flux_scal (FILE *out, const char *desclcid, graphftt gf)
 prints fluxes for selected elements to grahics file as individual scalars
void print_gr_flux_vec (const char *outfn, const char *mode, long lcid, const char *desclcid, hflagsw hf)
 prints fluxes for selected elements to several grahics file as vectors
void print_gr_flux_vec (FILE *out, long lcid, const char *desclcid, graphftt gf)
 prints fluxes for selected elements to grahics file as vectors
void print_gr_grad_scal (const char *outfn, const char *mode, const char *desclcid, hflagsw hf)
 prints gradients for selected elements to several grahics file as individual scalars
void print_gr_grad_scal (FILE *out, const char *desclcid, graphftt gf)
 prints gradients for selected elements to grahics file as individual scalars
void print_gr_grad_vec (const char *outfn, const char *mode, long lcid, const char *desclcid, hflagsw hf)
 prints gradients for selected elements to several grahics file as vectors
void print_gr_grad_vec (FILE *out, long lcid, const char *desclcid, graphftt gf)
 prints gradients for selected elements to grahics file as vectors
void print_gr_oth_scal (const char *outfn, const char *mode, long lcid, const char *desclcid, hflagsw hf)
 prints other values for selected elements to several grahics file as individual scalars
void print_gr_oth_scal (FILE *out, long lcid, const char *desclcid, graphftt gf)
 prints other values for selected elements to grahics file as individual scalars
void print_gr_oth_vec (const char *outfn, const char *mode, long lcid, const char *desclcid, hflagsw hf)
 prints other values for selected elements to several grahics file as vectors
void print_gr_oth_vec (FILE *out, long lcid, const char *desclcid, graphftt gf)
 prints other values for selected elements to grahics file as vectors
void print_graphics (const char *outfn, const char *mode, long lcid, const char *desclcid, graphftt gf, hflagsw hf, long idelem1)
 prints values for selected elements to several grahics file
void print_graphics (FILE *out, long lcid, const char *desclcid, graphftt gf, long idelem1)
 prints values for selected elements to grahics file
long read (XFILE *in)
 reads data from file
 ~elemoutgt ()
 destructor

Public Attributes

sel dstep
 prints element values selected steps
long ide1
 number of the first element for GiD output (normally should be 1), set by print_graphics function
sel seleeqoth
 selection of elements for eq_other values
sel seleflux
 selection of elements for fluxes
sel selegrad
 selection of elements for gradients
sel seleoth
 selection of elements for other values
selseleqoth
 selections for eq_other values
selselflux
 selections for fluxes
selselgrad
 selections for gradients
selseloth
 selections for other values

Detailed Description

Definition at line 181 of file outdrivert.h.


Constructor & Destructor Documentation

elemoutgt (  ) 

constructor

Constructor initializes data to zero values

Definition at line 2628 of file outdrivert.cpp.

References ide1, seleqoth, selflux, selgrad, and seloth.

~elemoutgt (  ) 

destructor

Destructor deallocates used memory

Definition at line 2639 of file outdrivert.cpp.

References seleqoth, selflux, selgrad, and seloth.


Member Function Documentation

void print ( FILE *  out  ) 

prints description data to file

Function prints data with description for output of element values to the text file

  • not completed
Parameters:
out - pointer to the opened text file

Definition at line 2776 of file outdrivert.cpp.

References dstep, sel::n, sel::print(), sel_all, sel_list, sel_no, sel_range, seleeqoth, seleflux, selegrad, seleoth, seleqoth, selflux, selgrad, seloth, and sel::st.

Referenced by outdrivert::print().

void print_gr_eqoth_scal ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
hflagsw  hf 
)

prints eqother values for selected elements to several grahics file as individual scalars

Function prints selected eqother values as scalars for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3464 of file outdrivert.cpp.

References Adat, eqothert, export_gid_gauss_ptt(), FNAMELEN, footer, header, transmat::ip, adaptivityt::istep, sel::n, intpointst::ncompeqother, sel_no, seleeqoth, seleqoth, sel::st, Tm, and write_gid_elemscalart().

void print_gr_eqoth_scal ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf 
)

prints eqother values for selected elements to grahics file as individual scalars

Function prints selected eqother values as scalars for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
lcid - load case id
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3025 of file outdrivert.cpp.

References eqothert, grftt_gid, transmat::ip, sel::n, intpointst::ncompeqother, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, seleeqoth, seleqoth, selgrad, sel::st, Tm, and write_gid_elemscalart().

Referenced by print_graphics().

void print_gr_eqoth_vec ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
hflagsw  hf 
)

prints eqother values for selected elements to several grahics file as vectors

Function prints selected eqother values as scalars for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3736 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), flux, FNAMELEN, footer, header, adaptivityt::istep, sel::n, sel_no, sel_range_vec, seleeqoth, seleqoth, sel::st, and write_gid_elemvectort().

void print_gr_eqoth_vec ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf 
)

prints eqother values for selected elements to grahics file as vectors

Function prints values of selected other items as vectors for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
lcid - load case id
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3167 of file outdrivert.cpp.

References eqothert, grftt_gid, sel::n, print_err(), sel_no, sel_range_vec, seleeqoth, seleqoth, sel::st, and write_gid_elemvectort().

Referenced by print_graphics().

void print_gr_flux_scal ( const char *  outfn,
const char *  mode,
const char *  desclcid,
hflagsw  hf 
)

prints fluxes for selected elements to several grahics file as individual scalars

Function prints values of selected fluxes as scalars for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3319 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), flux, FNAMELEN, footer, header, transmat::ip, adaptivityt::istep, sel::n, intpointst::ncompgrad, probdesct::ntm, sel_no, seleflux, selflux, sel::st, Tm, Tp, and write_gid_elemscalart().

void print_gr_flux_scal ( FILE *  out,
const char *  desclcid,
graphftt  gf 
)

prints fluxes for selected elements to grahics file as individual scalars

Function prints values of selected fluxes as scalars for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 2946 of file outdrivert.cpp.

References flux, probdesct::gdim, grftt_gid, sel::n, probdesct::ntm, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, seleflux, selflux, selgrad, sel::st, Tp, and write_gid_elemscalart().

Referenced by print_graphics().

void print_gr_flux_vec ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
hflagsw  hf 
)

prints fluxes for selected elements to several grahics file as vectors

Function prints values of selected fluxes as vectors for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3602 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), flux, FNAMELEN, footer, header, adaptivityt::istep, sel::n, sel_no, sel_vec, seleflux, selflux, sel::st, and write_gid_elemvectort().

void print_gr_flux_vec ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf 
)

prints fluxes for selected elements to grahics file as vectors

Function prints values of selected fluxes as vectors for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3097 of file outdrivert.cpp.

References flux, grftt_gid, sel::n, print_err(), sel_no, sel_vec, seleflux, selflux, sel::st, and write_gid_elemvectort().

Referenced by print_graphics().

void print_gr_grad_scal ( const char *  outfn,
const char *  mode,
const char *  desclcid,
hflagsw  hf 
)

prints gradients for selected elements to several grahics file as individual scalars

Function prints values of selected gradients as scalars for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3246 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), FNAMELEN, footer, grad, header, transmat::ip, adaptivityt::istep, sel::n, intpointst::ncompgrad, probdesct::ntm, sel_no, selegrad, selgrad, sel::st, Tm, Tp, and write_gid_elemscalart().

void print_gr_grad_scal ( FILE *  out,
const char *  desclcid,
graphftt  gf 
)

prints gradients for selected elements to grahics file as individual scalars

Function prints values of selected gradients as scalars for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 2906 of file outdrivert.cpp.

References probdesct::gdim, grad, grftt_gid, sel::n, probdesct::ntm, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, selegrad, selgrad, sel::st, Tp, and write_gid_elemscalart().

Referenced by print_graphics().

void print_gr_grad_vec ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
hflagsw  hf 
)

prints gradients for selected elements to several grahics file as vectors

Function prints values of selected gradients as vectors for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3535 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), FNAMELEN, footer, grad, header, adaptivityt::istep, sel::n, sel_no, sel_vec, selegrad, selgrad, sel::st, and write_gid_elemvectort().

void print_gr_grad_vec ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf 
)

prints gradients for selected elements to grahics file as vectors

Function prints values of selected gradients as vectors for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
lcid - load case id
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3063 of file outdrivert.cpp.

References grad, grftt_gid, sel::n, print_err(), sel_no, sel_vec, selegrad, selgrad, sel::st, and write_gid_elemvectort().

Referenced by print_graphics().

void print_gr_oth_scal ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
hflagsw  hf 
)

prints other values for selected elements to several grahics file as individual scalars

Function prints selected other values as scalars for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3393 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), FNAMELEN, footer, header, transmat::ip, adaptivityt::istep, sel::n, intpointst::ncompother, othert, sel_no, seleoth, seloth, sel::st, Tm, and write_gid_elemscalart().

void print_gr_oth_scal ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf 
)

prints other values for selected elements to grahics file as individual scalars

Function prints selected other values as scalars for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
lcid - load case id
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 2987 of file outdrivert.cpp.

References grftt_gid, transmat::ip, sel::n, intpointst::ncompother, othert, sel_mtx, sel_no, sel_range_mtx, sel_range_vec, sel_vec, seleoth, selgrad, seloth, sel::st, Tm, and write_gid_elemscalart().

Referenced by print_graphics().

void print_gr_oth_vec ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
hflagsw  hf 
)

prints other values for selected elements to several grahics file as vectors

Function prints selected other values as vectors for selected load case to separated graphics files named by printed quantity component.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
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)
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3669 of file outdrivert.cpp.

References Adat, export_gid_gauss_ptt(), flux, FNAMELEN, footer, header, adaptivityt::istep, sel::n, sel_no, sel_range_vec, seleoth, seloth, sel::st, and write_gid_elemvectort().

void print_gr_oth_vec ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf 
)

prints other values for selected elements to grahics file as vectors

Function prints values of selected other items as vectors for selected load case to graphics file.

Parameters:
out - pointer to the opened grahics file
lcid - load case id
desclcid - load case description
gf - graphics format
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3132 of file outdrivert.cpp.

References grftt_gid, sel::n, othert, print_err(), sel_no, sel_range_vec, seleoth, seloth, sel::st, and write_gid_elemvectort().

Referenced by print_graphics().

void print_graphics ( const char *  outfn,
const char *  mode,
long  lcid,
const char *  desclcid,
graphftt  gf,
hflagsw  hf,
long  idelem1 
)

prints values for selected elements 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.

Parameters:
outfn - string with file name part
mode - opening mode for graphics files
lcid - load case id
desclcid - load case description
gf - graphics format
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 3206 of file outdrivert.cpp.

References grftt_gid_sep, ide1, print_err(), print_gr_eqoth_scal(), print_gr_eqoth_vec(), print_gr_flux_scal(), print_gr_flux_vec(), print_gr_grad_scal(), print_gr_grad_vec(), print_gr_oth_scal(), and print_gr_oth_vec().

void print_graphics ( FILE *  out,
long  lcid,
const char *  desclcid,
graphftt  gf,
long  idelem1 
)

prints values for selected elements to grahics file

Function prints required output values for selected elements and for given load case and step to the output grahics file.

Parameters:
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
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 2876 of file outdrivert.cpp.

References grftt_open_dx, ide1, print_gr_eqoth_scal(), print_gr_eqoth_vec(), print_gr_flux_scal(), print_gr_flux_vec(), print_gr_grad_scal(), print_gr_grad_vec(), print_gr_oth_scal(), and print_gr_oth_vec().

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 element values from the text file

  • not completed
Parameters:
in - pointer to the opened text file
Return values:
0 - on success
1 - error reading step
2 - error reading gradient selection
3 - error reading flux selection
4 - error reading other values selection
5 - error reading eqother values selection

Definition at line 2662 of file outdrivert.cpp.

References dstep, probdesct::eqothercomp, probdesct::eqotherpos, probdesct::fluxcomp, probdesct::fluxpos, probdesct::gradcomp, probdesct::gradpos, sel::n, probdesct::othercomp, probdesct::otherpos, sel::read(), sel_all, sel_list, sel_no, sel_range, seleeqoth, seleflux, selegrad, seleoth, seleqoth, selflux, selgrad, seloth, sel::st, Tp, and xfscanf().

Referenced by outdrivert::read().


Member Data Documentation

prints element values selected steps

Definition at line 231 of file outdrivert.h.

Referenced by outdrivert::close_files_gidsp(), outdrivert::create_files_gidsp(), print(), outdrivert::print_graphics(), read(), and outdrivert::read().

long ide1

number of the first element for GiD output (normally should be 1), set by print_graphics function

Definition at line 254 of file outdrivert.h.

Referenced by elemoutgt(), and print_graphics().

selection of elements for eq_other values

Definition at line 249 of file outdrivert.h.

Referenced by print(), print_gr_eqoth_scal(), print_gr_eqoth_vec(), read(), write_gid_elem_type_scalart(), write_gid_elem_type_vectort(), and write_vtk_unkn().

selection of elements for fluxes

Definition at line 239 of file outdrivert.h.

Referenced by print(), print_gr_flux_scal(), print_gr_flux_vec(), read(), write_gid_elem_type_scalart(), write_gid_elem_type_vectort(), and write_vtk_unkn().

selection of elements for gradients

Definition at line 234 of file outdrivert.h.

Referenced by print(), print_gr_grad_scal(), print_gr_grad_vec(), read(), write_gid_elem_type_scalart(), write_gid_elem_type_vectort(), and write_vtk_unkn().

selection of elements for other values

Definition at line 244 of file outdrivert.h.

Referenced by print(), print_gr_oth_scal(), print_gr_oth_vec(), read(), write_gid_elem_type_scalart(), write_gid_elem_type_vectort(), and write_vtk_unkn().


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

Generated by  doxygen 1.6.2