![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <inpfile.h>
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< String > | AllUKeys |
Array< String > | AllUKeysBCF |
Array< String > | AllFKeys |
Array< String > | AllFKeysBCF |
Array< String > | AllEKeys |
Array< String > | AllEKeysBCF |
Dict * | Prms |
parameters (set by SetMat) | |
Dict * | Inis |
initial values (set by SetMat) | |
Dict * | Path |
Path increments. | |
Dict * | Prps |
elements properties | |
Array< int > * | OutNods |
output nodes | |
SIPair * | Tag2MatID |
element tag to material ID | |
SIPair * | Tag2XMatID |
element tag to extra (flow) material ID | |
Array< Dict * > | Stages |
boundary conditions |
InpFile::InpFile | ( | ) | [inline] |
InpFile::~InpFile | ( | ) | [inline] |
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] |
double InpFile::ak |
18 Damping Ak
double InpFile::am |
17 Damping Am
bool InpFile::cdrift |
2 correct YS drift
bool InpFile::ctetg |
5 Constant stiffness (linear) ?
double InpFile::dcftol |
47 drift correction f tolerance
size_t InpFile::dcmaxit |
46 drift correction max iterations
double InpFile::dt |
10 time step
double InpFile::dtout |
11 output time step
bool InpFile::dyn |
7 dynamic analysis ?
bool InpFile::fem |
6 use one Hex8 FEM element instead of point integration
39 filename key
bool InpFile::hasoptdbl1 |
bool InpFile::hasoptdbl2 |
bool InpFile::hasoptdbl3 |
bool InpFile::haspcam0 |
has pcam0 ?
bool InpFile::haspw0 |
has pw0 ?
bool InpFile::hm |
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)
int InpFile::maxit |
37 max num of iterations
int InpFile::ndiv |
13 mesh number of divisions
int InpFile::ninc |
1 general number of increments (for all load-unload paths)
int InpFile::nip |
14 Number of integration points in element
double InpFile::nldt_ll |
34 nonlinear timesteps denominator
double InpFile::nldt_m |
36 nonlinear timesteps multiplier for larger timesteps in sch==1
int InpFile::nldt_n |
33 nonlinear timesteps n
int InpFile::nldt_nn |
32 nonlinear timesteps N
31 nonlinear timesteps Nsml
35 nonlinear timesteps scheme (0 or 1)
bool InpFile::o2 |
15 quadratic elements ?
double InpFile::optdbl1 |
28 optional double 1
double InpFile::optdbl2 |
29 optional double 2
double InpFile::optdbl3 |
30 optional double 3
Array<int>* InpFile::OutNods |
output nodes
Path increments.
double InpFile::pcam0 |
40 pcam0
parameters (set by SetMat)
elements properties
double InpFile::pw0 |
48 pw0
bool InpFile::ray |
16 Rayleigh damping ?
24 reference analytical solution file
22 reference data file
23 reference simulation file
bool InpFile::rk |
19 Runge-Kutta instead of GN22 ?
bool InpFile::rkdyncte |
49 rk scheme dyn cte M and C
20 Runge-Kutta scheme
double InpFile::rkstol |
21 Runge-Kutta tolerance
41 solver scheme
bool InpFile::ssout |
4 output substeps ?
boundary conditions
double InpFile::stol |
3 local error tolerance
45 stress-update RK scheme
43 stress-update scheme
double InpFile::sustol |
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)
bool InpFile::uwp |
50 u-w-p TPM formulation ?
bool InpFile::vtufile |
42 write vtu file ?