elemoutm Class Reference

#include <outdriverm.h>

List of all members.

Public Member Functions

void conv_sel_prop (siftop *top)
 converts selections given by property id to list or range type
 elemoutm ()
 constructor
void print (FILE *out)
 prints description data to file
void print_other (FILE *out)
 prints other values at selected elements
void print_out (FILE *out, long lcid)
 prints values for selected elements
void print_stra (FILE *out, long lcid)
 prints strains at selected elements
void print_stre (FILE *out, long stre)
 prints stresses at selected elements
long read (XFILE *in)
 reads data from file
 ~elemoutm ()
 destructor

Public Attributes

sel dstep
 prints element values at selected steps
sel seleoth
 selection of elements for other values
sel selestra
 selection of elements for strains
sel selestre
 selection of elements for stresses
sel sellc
 selections for load cases
selseloth
 selections for other values
selselstra
 selections for strains
selselstre
 selections for stresses
long * transtra
 indices of local coordinate systems for strains
long * transtre
 indices of local coordinate systems for stresses

Detailed Description

Definition at line 185 of file outdriverm.h.


Constructor & Destructor Documentation

elemoutm (  ) 

constructor

Constructor initializes data to zero values

Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3137 of file outdriverm.cpp.

References seloth, selstra, selstre, transtra, and transtre.

~elemoutm (  ) 

destructor

Destructor deallocates used memory

Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3152 of file outdriverm.cpp.

References seloth, selstra, selstre, transtra, and transtre.


Member Function Documentation

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.

Parameters:
top - mesh topology with defined properties of elements
Returns:
The function does not return anything but it changes internal representation selections of all elements that were givne by property id.

Created by Tomas Koudelka, 9.1.2015

Definition at line 3595 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.

Parameters:
out - pointer to the opened text file
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3298 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_other ( FILE *  out  ) 

prints other values at selected elements

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

Parameters:
out - pointer to the opened text file
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3551 of file outdriverm.cpp.

References mechtop::elements, intpoints::eqother, mechtop::give_totnip(), Gtm, mechmat::ip, element::ipp, gtopology::leso, Mm, Mt, intpoints::ncompeqother, mechtop::ne, sel::presence_id(), proth, seleoth, and seloth.

Referenced by print_out().

void print_out ( FILE *  out,
long  lcid 
)

prints values for selected elements

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

Parameters:
out - pointer to the opened text file
lcid - load case id
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3381 of file outdriverm.cpp.

References print_other(), print_stra(), print_stre(), sel_no, seleoth, selestra, selestre, and sel::st.

Referenced by outdriverm::print_out(), and outdriverm::print_out_forced().

void print_stra ( FILE *  out,
long  lcid 
)

prints strains at selected elements

Function prints required strains for selected elements and for given load case to the output text file.

Parameters:
out - pointer to the opened text file
lcid - load case id
Returns:
The function does not return anything.

Created by Tomas Koudelka

Definition at line 3413 of file outdriverm.cpp.

References vector::a, allocm(), allocv(), mechtop::elements, mechmat::elip, gfmatrix::evaluate_t(), mechtop::give_totnip(), gl_engvectortransf(), Gtm, mechmat::ip, ipcoord(), element::ipp, outdriverm::lcs, gtopology::leso, Mm, Mt, vector::n, intpoints::ncompstr, mechtop::ne, outdriverm::nlcs, Outdm, p, planestrain, sel::presence_id(), prstra, reallocv(), selestra, selstra, strain, intpoints::strain, and transtra.

Referenced by print_out().

void print_stre ( FILE *  out,
long  lcid 
)

prints stresses at selected elements

Function prints required stresses for selected elements and for given load case to the output text file.

Parameters:
out - pointer to the opened text file
lcid - load case id

Created by Tomas Koudelka

Definition at line 3481 of file outdriverm.cpp.

References vector::a, allocm(), allocv(), mechtop::elements, mechmat::elip, gfmatrix::evaluate_t(), mechtop::give_totnip(), gl_engvectortransf(), Gtm, mechmat::ip, ipcoord(), element::ipp, outdriverm::lcs, gtopology::leso, Mm, Mt, vector::n, intpoints::ncompstr, mechtop::ne, outdriverm::nlcs, Outdm, p, planestrain, sel::presence_id(), prstre, reallocv(), selestre, selstre, strain, intpoints::stress, and transtre.

Referenced by print_out().

long read ( XFILE in  ) 

reads data from file

Function reads data with description for output of element values from the text file.

Parameters:
in - pointer to the opened text file
Return values:
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 3176 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().


Member Data Documentation

prints element values at selected steps

Definition at line 208 of file outdriverm.h.

Referenced by print(), outdriverm::print_newstep(), outdriverm::print_out(), read(), and outdriverm::read().

selection of elements for other values

Definition at line 228 of file outdriverm.h.

Referenced by conv_sel_prop(), print(), print_other(), print_out(), and read().

selection of elements for strains

Definition at line 214 of file outdriverm.h.

Referenced by conv_sel_prop(), aepoints::init(), print(), print_out(), print_stra(), read(), and outdriverm::testlcs().

selection of elements for stresses

Definition at line 221 of file outdriverm.h.

Referenced by conv_sel_prop(), aepoints::init(), print(), print_out(), print_stre(), read(), and outdriverm::testlcs().

selections for load cases

Definition at line 211 of file outdriverm.h.

Referenced by print(), outdriverm::print_newstep(), outdriverm::print_out(), outdriverm::print_out_forced(), and read().

selections for other values

Definition at line 230 of file outdriverm.h.

Referenced by elemoutm(), print(), print_other(), read(), and ~elemoutm().

selections for strains

Definition at line 216 of file outdriverm.h.

Referenced by elemoutm(), print(), print_stra(), read(), and ~elemoutm().

selections for stresses

Definition at line 223 of file outdriverm.h.

Referenced by elemoutm(), print(), print_stre(), read(), and ~elemoutm().

long* transtra

indices of local coordinate systems for strains

Definition at line 218 of file outdriverm.h.

Referenced by elemoutm(), print(), print_stra(), read(), outdriverm::testlcs(), and ~elemoutm().

long* transtre

indices of local coordinate systems for stresses

Definition at line 225 of file outdriverm.h.

Referenced by elemoutm(), print(), print_stre(), read(), outdriverm::testlcs(), and ~elemoutm().


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

Generated by  doxygen 1.6.2