#include <outdiagt.h>
Public Member Functions | |
outdiagt () | |
constructor | |
long | print (FILE *out) |
prints data to the input file | |
long | print_eqothers (FILE *out, long lcid, long idp) |
prints eqothers | |
long | print_fluxes (FILE *out, long lcid, long idp) |
prints fluxes | |
long | print_gradients (FILE *out, long lcid, long idp) |
prints gradients | |
long | print_header (FILE *out) |
prints header to the output diagram file | |
long | print_others (FILE *out, long lcid, long idp) |
prints others | |
long | print_unknowns (FILE *out, long lcid, long idp) |
prints unknowns | |
long | printval (FILE *out, long lcid, double lambda, long istep, double *fi) |
prints diagram to output diagram file | |
long | printval_forced (FILE *out, long lcid, double lambda, long istep, double *fi) |
the forced print of diagram to output diagram file | |
long | read (XFILE *in) |
reads data from the input file | |
~outdiagt () | |
destructor | |
Public Attributes | |
sel | dstep |
print step i.e. printout at every pstep-th step | |
long * | eid |
element id | |
long * | ipeid |
order of integration point on element | |
long * | ipu |
indeces of pu components | |
nodip * | nif |
pid is node or ipp flag | |
long | npun |
number of printed unknowns | |
long * | pid |
point id | |
prunkt * | pu |
array of type of printed unknowns | |
double | x |
coordinates of selected point | |
double | y |
double | z |
Definition at line 10 of file outdiagt.h.
outdiagt | ( | ) |
~outdiagt | ( | ) |
long print | ( | FILE * | out | ) |
prints data to the input file
The function prints data to the file given by the pointer out.
in | - pointer to the opened text file where the data will be read from |
0 | - on success |
Created by TKr, TKo
Definition at line 243 of file outdiagt.cpp.
References atip, atnode, dstep, eid, ipeid, ipu, nif, npun, pid, pr_apploadt, pr_stepidt, sel::print(), pu, sel_no, and sel::st.
long print_eqothers | ( | FILE * | out, | |
long | lcid, | |||
long | idp | |||
) |
prints eqothers
This function prints eqother value at required point to the output file out. It supposes that values in the integration points and nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
idp | - required component of eqother array |
0 | - on success | |
1 | - in case that unknown type of point is required | |
2 | - in case that unknown component of strain is required |
Definition at line 822 of file outdiagt.cpp.
References atip, atnode, intpointst::eqother, nodet::eqother, transmat::ip, ipu, intpointst::ncompeqother, nodet::ncompeqother, nif, transtop::nodes, pid, Tm, and Tt.
Referenced by printval(), and printval_forced().
long print_fluxes | ( | FILE * | out, | |
long | lcid, | |||
long | idp | |||
) |
prints fluxes
This function prints flux value at required point to the output file out. It supposes that values in the integration points and nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
idp | - required component of flux array |
0 | - on success | |
1 | - in case that unknown type of point is required | |
2 | - in case that unknown component of strain is required |
Definition at line 722 of file outdiagt.cpp.
References atip, atnode, nodet::flux, intpointst::fluxes, transmat::ip, ipu, intpointst::ncompgrad, nodet::ncompgrad, nif, transtop::nodes, probdesct::ntm, pid, Tm, Tp, and Tt.
Referenced by printval(), and printval_forced().
long print_gradients | ( | FILE * | out, | |
long | lcid, | |||
long | idp | |||
) |
prints gradients
This function prints gradient value at required point to the output file out. It supposes that values in the integration points and nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
idp | - required component of gradient array |
0 | - on success | |
1 | - in case that unknown type of point is required | |
2 | - in case that unknown component of strain is required |
Definition at line 670 of file outdiagt.cpp.
References atip, atnode, intpointst::grad, nodet::gradient, transmat::ip, ipu, intpointst::ncompgrad, nodet::ncompgrad, nif, transtop::nodes, probdesct::ntm, pid, Tm, Tp, and Tt.
Referenced by printval(), and printval_forced().
long print_header | ( | FILE * | out | ) |
prints header to the output diagram file
Function prints header for diagram file.
out | - pointer to opened output text file |
0 | - on success | |
1 | - in case of unknown required value type |
Created by TKr, TKo, this should be controled again
Definition at line 296 of file outdiagt.cpp.
References atip, atnode, atxyz, eid, transtop::elements, transtop::give_tnip(), gtopology::gnodes, Gtt, ipeid, elementt::ipp, ipu, transtop::ne, nif, npun, pid, pr_apploadt, pr_eqothert, pr_fluxes, pr_gradients, pr_othert, pr_stepidt, pr_unknowns, print_err(), pu, Tt, gnode::x, gnode::y, and gnode::z.
Referenced by print_initt().
long print_others | ( | FILE * | out, | |
long | lcid, | |||
long | idp | |||
) |
prints others
The function prints other value at required point to the output file out. It supposes that values in the integration points and nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
idp | - required component of other array |
0 | - on success | |
1 | - in case that unknown type of point is required | |
2 | - in case that unknown component of strain is required |
Created by TKr, TKo
Definition at line 776 of file outdiagt.cpp.
References atip, atnode, transmat::ip, ipu, intpointst::ncompother, nodet::ncompother, nif, transtop::nodes, intpointst::other, nodet::other, pid, Tm, and Tt.
Referenced by printval(), and printval_forced().
long print_unknowns | ( | FILE * | out, | |
long | lcid, | |||
long | idp | |||
) |
prints unknowns
The function prints unknowns at required point to the output file out. It supposes that values in the nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
idp | - required component of unknown |
0 | - on success | |
1 | - in case that value at integration point is required |
Created by TKr, TKo
Definition at line 633 of file outdiagt.cpp.
References atip, atnode, gtopology::gnodes, Gtt, ipu, gnode::ndofn, nif, nodalval(), and pid.
Referenced by printval(), and printval_forced().
long printval | ( | FILE * | out, | |
long | lcid, | |||
double | lambda, | |||
long | istep, | |||
double * | fi | |||
) |
prints diagram to output diagram file
The function prints one row with required values to the output file out. It supposes that values in the integration points and nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
lambda | - coefficient of applied load | |
istep | - index of current step | |
fi | - pointer to array load vector |
0 | - on success | |
1 | - in case of wrong ip identification | |
2 | - in case of unknown required value type |
Created by TKr, TKo
Definition at line 452 of file outdiagt.cpp.
References atip, dayst, dstep, eid, transtop::elements, transtop::give_tnip(), hourst, ipeid, elementt::ipp, minutest, transtop::ne, nif, npun, pid, pr_apploadt, pr_eqothert, pr_fluxes, pr_gradients, pr_othert, pr_stepidt, pr_unknowns, sel::presence_id(), print_eqothers(), print_err(), print_fluxes(), print_gradients(), print_others(), print_unknowns(), pu, secondst, probdesct::timecont, Tp, probdesct::tprt, and Tt.
long printval_forced | ( | FILE * | out, | |
long | lcid, | |||
double | lambda, | |||
long | istep, | |||
double * | fi | |||
) |
the forced print of diagram to output diagram file
The function prints one row with required values to the output file out. It supposes that values in the integration points and nodes are actualized and valid.
out | - pointer to opened output text file | |
lcid | - load case id | |
lambda | - coefficient of applied load | |
istep | - index of current step | |
fi | - pointer to array load vector |
0 | - on success | |
1 | - in case of wrong ip identification | |
2 | - in case of unknown required value type |
Created by TKo
Definition at line 546 of file outdiagt.cpp.
References atip, dayst, eid, transtop::elements, transtop::give_tnip(), hourst, ipeid, elementt::ipp, minutest, transtop::ne, nif, npun, pid, pr_apploadt, pr_eqothert, pr_fluxes, pr_gradients, pr_othert, pr_stepidt, pr_unknowns, print_eqothers(), print_err(), print_fluxes(), print_gradients(), print_others(), print_unknowns(), pu, secondst, Tp, probdesct::tprt, and Tt.
long read | ( | XFILE * | in | ) |
reads data from the input file
The function reads data from the file given by the pointer to the opened text file.
in | - pointer to the opened text file where the data will be read from |
0 | - on success | |
1 | - in case read error |
Created by TKr, TKo
Definition at line 57 of file outdiagt.cpp.
References atip, atnode, atxyz, dstep, eid, probdesct::eqotheraver, probdesct::eqothercomp, probdesct::eqotherpos, probdesct::fluxaver, probdesct::fluxcomp, probdesct::fluxpos, probdesct::gradaver, probdesct::gradcomp, probdesct::gradpos, ipeid, ipu, memset(), nif, nodip_kwdset(), npun, probdesct::otheraver, probdesct::othercomp, probdesct::otherpos, pid, pr_apploadt, pr_eqothert, pr_fluxes, pr_gradients, pr_othert, pr_stepidt, prunkt_kwdset(), pu, sel::read(), sel_no, sel::st, Tp, and xfscanf().
print step i.e. printout at every pstep-th step
Definition at line 41 of file outdiagt.h.
Referenced by print(), printval(), and read().
long* eid |
element id
Definition at line 47 of file outdiagt.h.
Referenced by outdiagt(), print(), print_header(), printval(), printval_forced(), read(), and ~outdiagt().
long* ipeid |
order of integration point on element
Definition at line 51 of file outdiagt.h.
Referenced by outdiagt(), print(), print_header(), printval(), printval_forced(), read(), and ~outdiagt().
long* ipu |
indeces of pu components
Definition at line 55 of file outdiagt.h.
Referenced by outdiagt(), print(), print_eqothers(), print_fluxes(), print_gradients(), print_header(), print_others(), print_unknowns(), read(), and ~outdiagt().
pid is node or ipp flag
Definition at line 43 of file outdiagt.h.
Referenced by outdiagt(), print(), print_eqothers(), print_fluxes(), print_gradients(), print_header(), print_others(), print_unknowns(), printval(), printval_forced(), read(), and ~outdiagt().
long npun |
number of printed unknowns
Definition at line 39 of file outdiagt.h.
Referenced by print(), print_header(), printval(), printval_forced(), and read().
long* pid |
point id
Definition at line 45 of file outdiagt.h.
Referenced by outdiagt(), print(), print_eqothers(), print_fluxes(), print_gradients(), print_header(), print_others(), print_unknowns(), printval(), printval_forced(), read(), and ~outdiagt().
array of type of printed unknowns
Definition at line 53 of file outdiagt.h.
Referenced by outdiagt(), print(), print_header(), printval(), printval_forced(), read(), and ~outdiagt().
double x |
coordinates of selected point
Definition at line 49 of file outdiagt.h.
double y |
Definition at line 49 of file outdiagt.h.
double z |
Definition at line 49 of file outdiagt.h.