stochdrivert Class Reference

#include <stochdrivert.h>

List of all members.

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

atselatcs
atselatln
atselatm
char auxfile [1001]
crsectypetcst
long * idcs
long * idln
long * idm
mattypetmt
long * nna
long npnv
long nprunknowns
long nsampl
long nscs
long nsmt
long nstochvar
atselpnv
matrix stochtabin
matrix stochtabout

Detailed Description

Definition at line 14 of file stochdrivert.h.


Constructor & Destructor Documentation

stochdrivert ( void   ) 

Definition at line 12 of file stochdrivert.cpp.

References atcs, atm, cst, idcs, idm, mt, nna, nprunknowns, nsampl, nscs, nsmt, nstochvar, and pnv.

~stochdrivert ( void   ) 

Definition at line 24 of file stochdrivert.cpp.

References atcs, atm, cst, idcs, idm, mt, nna, and pnv.


Member Function Documentation

void changecrsections ( long  id,
vector val 
)
void changematerials ( long  id,
vector val 
)
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.

Parameters:
- pointer to the allocated array where the required values will be exported
Returns:
The resulting values are stored in the array val.

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  ) 
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.

Parameters:
dat - stochastic values of the parameters for the given property (material/cross-section)
Returns:
The function does not return anything, it changes parameters of the selected property stored out of the stochdriver.

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.

Parameters:
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.


Member Data Documentation

Definition at line 48 of file stochdrivert.h.

Referenced by changecrsections(), changevalues(), read(), stochdrivert(), and ~stochdrivert().

Definition at line 52 of file stochdrivert.h.

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().

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 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().


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

Generated by  doxygen 1.6.2