#include <outdriverm.h>
Public Member Functions | |
void | conv_sel_prop (siftop *top) |
converts selections given by property id to list or range type | |
nodeoutm () | |
constructor | |
void | print (FILE *out) |
prints description data to file | |
void | print_disp (FILE *out, long lcid) |
prints displacements at selected nodes | |
void | print_other (FILE *out) |
prints averaged other values at selected nodes | |
void | print_out (FILE *out, long lcid) |
prints values for selected nodes | |
void | print_react (FILE *out, long lcid) |
prints reactions at selected nodes | |
void | print_stra (FILE *out, long lcid) |
prints averaged strains at selected nodes | |
void | print_stre (FILE *out, long lcid) |
prints averaged stresses at selected nodes | |
long | read (XFILE *in) |
reads data from file | |
~nodeoutm () | |
destructor | |
Public Attributes | |
sel | dstep |
prints nodal values at selected steps | |
long | react |
reactions output indicator | |
sel * | seldisp |
selections for displacements | |
sel | sellc |
selections for load cases | |
sel | selndisp |
selection of nodes for displacements | |
sel | selnoth |
selection of nodes for other values | |
sel | selnstra |
selection of nodes for strains | |
sel | selnstre |
selection of nodes 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 26 of file outdriverm.h.
nodeoutm | ( | ) |
~nodeoutm | ( | ) |
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 1688 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 1160 of file outdriverm.cpp.
References dstep, sel::n, sel::print(), print_err(), react, sel_all, sel_list, sel_no, sel_range, seldisp, sellc, selndisp, selnoth, selnstra, selnstre, seloth, selstra, selstre, sel::st, transtra, and transtre.
Referenced by outdriverm::print().
void print_disp | ( | FILE * | out, | |
long | lcid | |||
) |
prints displacements at selected nodes
Function prints required displacements for selected nodes and for given load case to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id |
Created by Tomas Koudelka
Definition at line 1316 of file outdriverm.cpp.
References mechtop::give_ndofn(), Gtm, gtopology::lnso, Mt, mechtop::nn, noddispl(), prdisp, sel::presence_id(), seldisp, and selndisp.
Referenced by print_out().
void print_other | ( | FILE * | out | ) |
prints averaged other values at selected nodes
Function prints required other values for selected nodes and for given load case to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id |
Created by Tomas Koudelka
Definition at line 1617 of file outdriverm.cpp.
References Gtm, gtopology::lnso, Mt, node::ncompother, mechtop::nn, mechtop::nodes, node::other, sel::presence_id(), proth, selnoth, and seloth.
Referenced by print_out().
void print_out | ( | FILE * | out, | |
long | lcid | |||
) |
prints values for selected nodes
Function prints required output values for selected nodes and for given load case to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id |
Created by Tomas Koudelka, modified by JK, 17. 4. 2014
Definition at line 1263 of file outdriverm.cpp.
References lhsrhs::give_lhs(), mechtop::give_ncomp(), probdesc::homog, Lsrs, Mp, Mt, Ndofm, print_disp(), print_other(), print_react(), print_stra(), print_stre(), prstra, react, sel_no, selndisp, selnoth, selnstra, selnstre, and sel::st.
Referenced by outdriverm::print_out(), and outdriverm::print_out_forced().
void print_react | ( | FILE * | out, | |
long | lcid | |||
) |
prints reactions at selected nodes
Function prints all reactions for for given load case to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id |
Created by Tomas Koudelka
Definition at line 1654 of file outdriverm.cpp.
References mechtop::give_ndofn(), Gtm, gtopology::lnso, Mt, mechtop::nn, mechtop::nodes, prreac, node::r, and node::react.
Referenced by print_out().
void print_stra | ( | FILE * | out, | |
long | lcid | |||
) |
prints averaged strains at selected nodes
Function prints required strains for selected nodes and for given load case to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id |
Created by Tomas Koudelka
Definition at line 1425 of file outdriverm.cpp.
References vector::a, allocm(), allocv(), gfmatrix::evaluate_t(), fillv(), mechtop::give_nodal_coord(), gl_engvectortransf(), Gtm, if(), outdriverm::lcs, gtopology::lnso, Mp, Mt, vector::n, node::ncompstr, outdriverm::nlcs, mechtop::nn, mechtop::nodes, Outdm, p, planestrain, sel::presence_id(), princ_val(), prstra, node::pstra, reallocv(), selnstra, selstra, spacestress, strain, node::strain, transtra, vector_tensor(), and probdesc::zero.
Referenced by print_out().
void print_stre | ( | FILE * | out, | |
long | lcid | |||
) |
prints averaged stresses at selected nodes
Function prints required stresses for selected nodes and for given load case to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id |
Created by Tomas Koudelka
Definition at line 1520 of file outdriverm.cpp.
References vector::a, allocm(), allocv(), gfmatrix::evaluate_t(), fillv(), mechtop::give_nodal_coord(), gl_engvectortransf(), Gtm, if(), outdriverm::lcs, gtopology::lnso, Mp, Mt, vector::n, node::ncompstr, outdriverm::nlcs, mechtop::nn, mechtop::nodes, Outdm, p, planestrain, sel::presence_id(), princ_val(), prstre, node::pstre, reallocv(), selnstre, selstre, spacestress, node::strain, node::stress, stress, transtre, vector_tensor(), and probdesc::zero.
Referenced by print_out().
long read | ( | XFILE * | in | ) |
reads data from file
Function reads data with description for output of nodal values for the text output file.
in | - pointer to the opened text file |
0 | - on success | |
1 | - error reading step or load case selection | |
2 | - error reading displacement selection | |
3 | - error reading strain selection | |
4 | - error reading stress selection | |
5 | - error reading other values selection | |
6 | - error reading reaction output flag |
Created by Tomas Koudelka
Definition at line 1008 of file outdriverm.cpp.
References dstep, memset(), Mp, sel::n, probdesc::otheraver, probdesc::othercomp, probdesc::otherpos, print_err(), react, probdesc::reactcomp, sel::read(), sel_all, sel_list, sel_no, sel_range, seldisp, sellc, selndisp, 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 53 of file outdriverm.h.
Referenced by print(), outdriverm::print_newstep(), outdriverm::print_out(), read(), and outdriverm::read().
long react |
reactions output indicator
Definition at line 82 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_out(), and read().
selections for displacements
Definition at line 60 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_disp(), read(), and ~nodeoutm().
selections for load cases
Definition at line 55 of file outdriverm.h.
Referenced by print(), outdriverm::print_newstep(), outdriverm::print_out(), outdriverm::print_out_forced(), and read().
selection of nodes for displacements
Definition at line 58 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_disp(), print_out(), and read().
selection of nodes for other values
Definition at line 77 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_other(), print_out(), and read().
selection of nodes for strains
Definition at line 63 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_out(), print_stra(), read(), and outdriverm::testlcs().
selection of nodes for stresses
Definition at line 70 of file outdriverm.h.
Referenced by conv_sel_prop(), print(), print_out(), print_stre(), read(), and outdriverm::testlcs().
selections for other values
Definition at line 79 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_other(), read(), and ~nodeoutm().
selections for strains
Definition at line 65 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_stra(), read(), and ~nodeoutm().
selections for stresses
Definition at line 72 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_stre(), read(), and ~nodeoutm().
long* transtra |
indices of local coordinate systems for strains
Definition at line 67 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_stra(), read(), outdriverm::testlcs(), and ~nodeoutm().
long* transtre |
indices of local coordinate systems for stresses
Definition at line 74 of file outdriverm.h.
Referenced by nodeoutm(), print(), print_stre(), read(), outdriverm::testlcs(), and ~nodeoutm().