#include <limits>
Go to the source code of this file.
int mbdyn_reserve_stack |
( |
unsigned long |
size | ) |
|
Definition at line 254 of file solver.cc.
References buf.
Referenced by RTSolverBase::Init().
259 memset(buf, 0, size*
sizeof(
int));
261 for (
unsigned long i = 0; i < size; i++) {
267 return mlockall(MCL_CURRENT | MCL_FUTURE);
static doublereal buf[BUFSIZE]
void mbdyn_signal_init |
( |
int |
pre | ) |
|
Definition at line 208 of file solver.cc.
Referenced by InverseSolver::Prepare(), and Solver::Prepare().
211 #if defined(__FreeBSD__)
213 #else // ! defined(__FreeBSD__)
215 #endif // ! defined(__FreeBSD__)
218 hdl = mbdyn_really_exit_handler;
221 hdl = mbdyn_modify_final_time_handler;
227 ::mbdyn_sh_term = signal(SIGTERM, hdl);
228 if (::mbdyn_sh_term == SIG_IGN) {
229 signal(SIGTERM, SIG_IGN);
232 ::mbdyn_sh_int = signal(SIGINT, hdl);
233 if (::mbdyn_sh_int == SIG_IGN) {
234 signal(SIGINT, SIG_IGN);
238 ::mbdyn_sh_hup = signal(SIGHUP, hdl);
239 if (::mbdyn_sh_hup == SIG_IGN) {
240 signal(SIGHUP, SIG_IGN);
245 ::mbdyn_sh_pipe = signal(SIGPIPE, hdl);
246 if (::mbdyn_sh_pipe == SIG_IGN) {
247 signal(SIGPIPE, SIG_IGN);
const doublereal dDefaultDerivativesCoefficient = 1.e-6 |
|
static |
const integer iDefaultDummyStepsNumber = 0 |
|
static |
const integer iDefaultIterationsBeforeAssembly = 2 |
|
static |
const integer iDefaultIterativeSolversMaxSteps = 100 |
|
static |
const integer iDefaultMaxIterations = 1 |
|
static |
const integer iDefaultPreconditionerSteps = 20 |
|
static |