MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
Public Member Functions | Public Attributes
InpFile Class Reference

#include <inpfile.h>

List of all members.

Public Member Functions

 InpFile ()
 ~InpFile ()
void Defaults ()
void Read (char const *FileName)
void SetPrmsInis (MatFile const &Mat, bool ForceGTY=false)
void GetIncs (int PathKey, double Div, Vec_t &dsig, Vec_t &deps, Array< bool > &PrescDeps, double &dpw, double &dSw, bool &PrescDpw, bool &PrescDSw) const
void SetSUp (Model const *Mdl, Model::StressUpdate::pDbgFun pFun=NULL, void *UserData=NULL) const
void SetSolFlags (SDPair &Flags) const

Public Attributes

int ninc
 1 general number of increments (for all load-unload paths)
bool cdrift
 2 correct YS drift
double stol
 3 local error tolerance
bool ssout
 4 output substeps ?
bool ctetg
 5 Constant stiffness (linear) ?
bool fem
 6 use one Hex8 FEM element instead of point integration
bool dyn
 7 dynamic analysis ?
bool hm
 8 HydroMech ?
double tf
 9 final time
double dt
 10 time step
double dtout
 11 output time step
double tsw
 12 switch time (for dynamic simulation)
int ndiv
 13 mesh number of divisions
int nip
 14 Number of integration points in element
bool o2
 15 quadratic elements ?
bool ray
 16 Rayleigh damping ?
double am
 17 Damping Am
double ak
 18 Damping Ak
bool rk
 19 Runge-Kutta instead of GN22 ?
String rkscheme
 20 Runge-Kutta scheme
double rkstol
 21 Runge-Kutta tolerance
String refdat
 22 reference data file
String refsim
 23 reference simulation file
String refana
 24 reference analytical solution file
int idxvert1
 25 index of vertex # 1 for output
int idxvert2
 26 index of vertex # 1 for output
int idxvert3
 27 index of vertex # 1 for output
double optdbl1
 28 optional double 1
double optdbl2
 29 optional double 2
double optdbl3
 30 optional double 3
bool hasoptdbl1
bool hasoptdbl2
bool hasoptdbl3
int nldt_nsml
 31 nonlinear timesteps Nsml
int nldt_nn
 32 nonlinear timesteps N
int nldt_n
 33 nonlinear timesteps n
double nldt_ll
 34 nonlinear timesteps denominator
int nldt_sch
 35 nonlinear timesteps scheme (0 or 1)
double nldt_m
 36 nonlinear timesteps multiplier for larger timesteps in sch==1
int maxit
 37 max num of iterations
double tolr
 38 tolerance for residual
String fnkey
 39 filename key
double pcam0
 40 pcam0
bool haspcam0
 has pcam0 ?
String scheme
 41 solver scheme
bool vtufile
 42 write vtu file ?
String suscheme
 43 stress-update scheme
double sustol
 44 stress-update STOL
String surkscheme
 45 stress-update RK scheme
size_t dcmaxit
 46 drift correction max iterations
double dcftol
 47 drift correction f tolerance
double pw0
 48 pw0
bool haspw0
 has pw0 ?
bool rkdyncte
 49 rk scheme dyn cte M and C
bool uwp
 50 u-w-p TPM formulation ?
Array< StringAllUKeys
Array< StringAllUKeysBCF
Array< StringAllFKeys
Array< StringAllFKeysBCF
Array< StringAllEKeys
Array< StringAllEKeysBCF
DictPrms
 parameters (set by SetMat)
DictInis
 initial values (set by SetMat)
DictPath
 Path increments.
DictPrps
 elements properties
Array< int > * OutNods
 output nodes
SIPairTag2MatID
 element tag to material ID
SIPairTag2XMatID
 element tag to extra (flow) material ID
Array< Dict * > Stages
 boundary conditions

Constructor & Destructor Documentation

InpFile::InpFile ( ) [inline]
InpFile::~InpFile ( ) [inline]

Member Function Documentation

void InpFile::Defaults ( ) [inline]
void InpFile::GetIncs ( int  PathKey,
double  Div,
Vec_t dsig,
Vec_t deps,
Array< bool > &  PrescDeps,
double &  dpw,
double &  dSw,
bool &  PrescDpw,
bool &  PrescDSw 
) const [inline]
void InpFile::Read ( char const *  FileName) [inline]
void InpFile::SetPrmsInis ( MatFile const &  Mat,
bool  ForceGTY = false 
) [inline]
void InpFile::SetSolFlags ( SDPair Flags) const [inline]
void InpFile::SetSUp ( Model const *  Mdl,
Model::StressUpdate::pDbgFun  pFun = NULL,
void *  UserData = NULL 
) const [inline]

Member Data Documentation

double InpFile::ak

18 Damping Ak

double InpFile::am

17 Damping Am

2 correct YS drift

5 Constant stiffness (linear) ?

47 drift correction f tolerance

46 drift correction max iterations

double InpFile::dt

10 time step

11 output time step

7 dynamic analysis ?

6 use one Hex8 FEM element instead of point integration

39 filename key

has pcam0 ?

has pw0 ?

8 HydroMech ?

25 index of vertex # 1 for output

26 index of vertex # 1 for output

27 index of vertex # 1 for output

initial values (set by SetMat)

37 max num of iterations

13 mesh number of divisions

1 general number of increments (for all load-unload paths)

14 Number of integration points in element

34 nonlinear timesteps denominator

36 nonlinear timesteps multiplier for larger timesteps in sch==1

33 nonlinear timesteps n

32 nonlinear timesteps N

31 nonlinear timesteps Nsml

35 nonlinear timesteps scheme (0 or 1)

15 quadratic elements ?

28 optional double 1

29 optional double 2

30 optional double 3

output nodes

Path increments.

40 pcam0

parameters (set by SetMat)

elements properties

double InpFile::pw0

48 pw0

16 Rayleigh damping ?

24 reference analytical solution file

22 reference data file

23 reference simulation file

19 Runge-Kutta instead of GN22 ?

49 rk scheme dyn cte M and C

20 Runge-Kutta scheme

21 Runge-Kutta tolerance

41 solver scheme

4 output substeps ?

boundary conditions

double InpFile::stol

3 local error tolerance

45 stress-update RK scheme

43 stress-update scheme

44 stress-update STOL

element tag to material ID

element tag to extra (flow) material ID

double InpFile::tf

9 final time

double InpFile::tolr

38 tolerance for residual

double InpFile::tsw

12 switch time (for dynamic simulation)

50 u-w-p TPM formulation ?

42 write vtu file ?


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines