#include <outdriverc.h>
Public Member Functions | |
outdriverc () | |
constructor | |
void | print (FILE *out) |
prints description data to file | |
void | print_diags (long lcid, double lambda, long istep, double *fi) |
prints diagrams | |
void | print_graphics (FILE *out, long lcid, double lambda, long istep, double *fi) |
prints graphics | |
void | print_header (FILE *out) |
prints header for output file | |
void | print_newstep (FILE *out, long step, double time) |
prints header for new step | |
void | print_out (FILE *out, long lcid, long istep, double time) |
prints values at nodes | |
long | read (XFILE *in) |
reads data from file | |
~outdriverc () | |
destructor | |
Public Attributes | |
char | outfn [1001] |
output text filename |
Definition at line 13 of file outdriverc.h.
outdriverc | ( | ) |
constructor
Constructor initializes data members to zero values.
Definition at line 13 of file outdriverc.cpp.
References outfn.
~outdriverc | ( | ) |
void print | ( | FILE * | out | ) |
prints description data to file
Function prints data with output description to the text file given by out.
out | - pointer to opened text file for output |
Definition at line 62 of file outdriverc.cpp.
References outfn.
void print_diags | ( | long | lcid, | |
double | lambda, | |||
long | istep, | |||
double * | fi | |||
) |
prints diagrams
Function prints diagrams.
lcid | - required load case id | |
lambda | - actual load parameter/actual time | |
istep | - actual step id | |
fi | - array with values of load vector |
Definition at line 129 of file outdriverc.cpp.
void print_graphics | ( | FILE * | out, | |
long | lcid, | |||
double | lambda, | |||
long | istep, | |||
double * | fi | |||
) |
prints graphics
Function prints required value to the graphics files.
out | - pointer to the opened text file | |
lcid | - required load case id | |
lambda | - actual load parameter/actual time | |
istep | - actual step id | |
fi | - array with values of load vector |
Definition at line 145 of file outdriverc.cpp.
void print_header | ( | FILE * | out | ) |
prints header for output file
Function prints header to the output text file.
out | - pointer to the opened text output file |
Definition at line 73 of file outdriverc.cpp.
References Cp, and probdescc::name.
void print_newstep | ( | FILE * | out, | |
long | step, | |||
double | time | |||
) |
prints header for new step
Function prints step number to the output text file.
out | - pointer to the opened text output file | |
step | - integer step id | |
time | - time or load step |
Definition at line 94 of file outdriverc.cpp.
void print_out | ( | FILE * | out, | |
long | lcid, | |||
long | istep, | |||
double | time | |||
) |
prints values at nodes
Function prints required output values to the output text file.
out | - pointer to the opened text file | |
lcid | - load case id | |
istep | - step id |
Definition at line 114 of file outdriverc.cpp.
long read | ( | XFILE * | in | ) |
reads data from file
Function reads description of required output from the opened text file in.
in | - pointer to opened text file |
0 | - on success | |
1 | - error reading output text filename | |
2 | - error reading nodal output description | |
3 | - error reading element output description | |
4 | - error reading user defined point output description | |
5 | - error reading output graphics description | |
6 | - error reading output diagram description |
Definition at line 42 of file outdriverc.cpp.
Referenced by metr_init(), and pmetr_init().
char outfn[1001] |
output text filename
Definition at line 36 of file outdriverc.h.
Referenced by metr_init(), outdriverc(), and print().