#include <stochdrivert.h>
Public Member Functions | |
void | changecrsections (long id, vector &val) |
void | changematerials (long id, vector &val) |
void | changevalues (long sampleid) |
void | compute_nprunknowns () |
void | exportvalues (double *val) |
void | extractor (long sampleid) |
void | importvalues (double *dat) |
void | read (XFILE *in) |
void | readtable (XFILE *in) |
stochdrivert (void) | |
void | writetable () |
~stochdrivert (void) | |
Public Attributes | |
atsel * | atcs |
atsel * | atln |
atsel * | atm |
char | auxfile [1001] |
crsectypet * | cst |
long * | idcs |
long * | idln |
long * | idm |
mattypet * | mt |
long * | nna |
long | npnv |
long | nprunknowns |
long | nsampl |
long | nscs |
long | nsmt |
long | nstochvar |
atsel * | pnv |
matrix | stochtabin |
matrix | stochtabout |
Definition at line 14 of file stochdrivert.h.
stochdrivert | ( | void | ) |
~stochdrivert | ( | void | ) |
void changecrsections | ( | long | id, | |
vector & | val | |||
) |
Definition at line 248 of file stochdrivert.cpp.
References atcs, crsection3d::changeparam(), crsection2d::changeparam(), crsection1d::changeparam(), crsec1dt, crsec2dt, crsec3dt, transcrsec::cs1d, transcrsec::cs2d, transcrsec::cs3d, cst, idcs, nocrosssectiont, print_err(), and Tc.
Referenced by changevalues().
void changematerials | ( | long | id, | |
vector & | val | |||
) |
Definition at line 229 of file stochdrivert.cpp.
References atm, damisotrmat::changeparam(), isotrmat::changeparam(), damisotransmat, transmat::damitrm, idm, isotransmat, transmat::itrm, mt, print_err(), and Tm.
Referenced by changevalues(), and importvalues().
void changevalues | ( | long | sampleid | ) |
The function changes stochastic values.
13.3.2003
Definition at line 149 of file stochdrivert.cpp.
References allocv(), atcs, atm, changecrsections(), changematerials(), destrv(), nscs, nsmt, atsel::num, and stochtabin.
void compute_nprunknowns | ( | ) |
Definition at line 94 of file stochdrivert.cpp.
References allocm(), npnv, nprunknowns, nsampl, atsel::num, pnv, and stochtabout.
Referenced by read().
void exportvalues | ( | double * | val | ) |
The function exports required nodal values to the array val. It is used for interface between TRFEL and CTL library.
- | pointer to the allocated array where the required values will be exported |
12.2012
Created by TKo+JK
Definition at line 306 of file stochdrivert.cpp.
References transtop::give_dof(), lhsrhst::lhs, Lsrst, nna, npnv, atsel::num, pnv, print_err(), and Tt.
void extractor | ( | long | sampleid | ) |
Definition at line 274 of file stochdrivert.cpp.
References transtop::give_dof(), lhsrhst::lhs, Lsrst, nna, npnv, atsel::num, pnv, print_err(), stochtabout, and Tt.
void importvalues | ( | double * | dat | ) |
The function imports stochastic values of the selected property from the external source. It is used for interface between TRFEL and CTL library.
dat | - stochastic values of the parameters for the given property (material/cross-section) |
12.2012
Created by TKo+JK
Definition at line 195 of file stochdrivert.cpp.
References allocv(), atm, changematerials(), copyv(), and destrv().
Referenced by Ctlinterface::get_residual().
void read | ( | XFILE * | in | ) |
The function reads input data form the opened text file.
in | - pointer to the opened XFILE |
Definition at line 36 of file stochdrivert.cpp.
References atcs, atm, auxfile, compute_nprunknowns(), cst, idcs, idm, Mesprt, mt, nna, npnv, nscs, nsmt, pnv, atsel::read(), readtable(), xfclose(), xfopen(), and xfscanf().
Referenced by ptrfel_init(), and trfel_init().
void readtable | ( | XFILE * | in | ) |
The function reads table of stochastic values. number of rows = number of samples number of columns = number of stochastic variables in the problem
13.3.2003
Definition at line 115 of file stochdrivert.cpp.
References allocm(), nsampl, nstochvar, readm(), stochtabin, and xfscanf().
Referenced by read().
void writetable | ( | ) |
The function writes table of stochastic values. number of rows = number of samples number of columns = number of stochastic variables in the problem
13.3.2003
Definition at line 131 of file stochdrivert.cpp.
References auxfile, nprunknowns, printm(), and stochtabout.
Definition at line 48 of file stochdrivert.h.
Referenced by changecrsections(), changevalues(), read(), stochdrivert(), and ~stochdrivert().
Definition at line 52 of file stochdrivert.h.
Definition at line 44 of file stochdrivert.h.
Referenced by changematerials(), changevalues(), importvalues(), read(), stochdrivert(), and ~stochdrivert().
char auxfile[1001] |
Definition at line 36 of file stochdrivert.h.
Referenced by read(), and writetable().
Definition at line 46 of file stochdrivert.h.
Referenced by changecrsections(), read(), stochdrivert(), and ~stochdrivert().
long* idcs |
Definition at line 47 of file stochdrivert.h.
Referenced by changecrsections(), read(), stochdrivert(), and ~stochdrivert().
long* idln |
Definition at line 51 of file stochdrivert.h.
long* idm |
Definition at line 43 of file stochdrivert.h.
Referenced by changematerials(), read(), stochdrivert(), and ~stochdrivert().
Definition at line 42 of file stochdrivert.h.
Referenced by changematerials(), read(), stochdrivert(), and ~stochdrivert().
long* nna |
Definition at line 63 of file stochdrivert.h.
Referenced by exportvalues(), extractor(), read(), stochdrivert(), and ~stochdrivert().
long npnv |
Definition at line 61 of file stochdrivert.h.
Referenced by compute_nprunknowns(), exportvalues(), extractor(), and read().
long nprunknowns |
Definition at line 57 of file stochdrivert.h.
Referenced by compute_nprunknowns(), stochdrivert(), and writetable().
long nsampl |
Definition at line 54 of file stochdrivert.h.
Referenced by compute_nprunknowns(), readtable(), and stochdrivert().
long nscs |
Definition at line 40 of file stochdrivert.h.
Referenced by changevalues(), read(), and stochdrivert().
long nsmt |
Definition at line 38 of file stochdrivert.h.
Referenced by changevalues(), read(), and stochdrivert().
long nstochvar |
Definition at line 55 of file stochdrivert.h.
Referenced by readtable(), and stochdrivert().
Definition at line 65 of file stochdrivert.h.
Referenced by compute_nprunknowns(), exportvalues(), extractor(), read(), stochdrivert(), and ~stochdrivert().
Definition at line 56 of file stochdrivert.h.
Referenced by changevalues(), and readtable().
Definition at line 58 of file stochdrivert.h.
Referenced by compute_nprunknowns(), extractor(), and writetable().