|
ADS-IDAC Engine 5.0.0
|
RELAP5 implementation of ThermalHydraulicSolver. More...
#include "RelapSolver.h"#include "../Global/fmodule.h"#include "../Global/CheckedIO.h"#include "../Global/SimulationContext.h"#include "../Global/RestartTrim.h"#include <cstring>#include <cstdlib>#include <iostream>Go to the source code of this file.
Functions | |
| void | relap5_ () |
| void | ads_set_cache_mode_ (int *mode) |
| void | ads_set_membuf_mode_ (int mode) |
| void | ads_membuf_get_trimmed_ (char **ptr, int *size) |
| void | ads_membuf_stats_ (int *sz, int *dumps, long long *b_rstrec, long long *b_rnewp, long long *b_wrplid) |
| void | ads_membuf_get_ (char **ptr, int *sz) |
| void | ads_membuf_set_ (char *ptr, int sz) |
| SolverCallback * | getActiveSolverCallback () |
| Get the currently active SolverCallback (set during runSequence). Used by extern "C" trampoline functions to route Fortran callbacks. Returns nullptr when no sequence is running. More... | |
| ThermalHydraulicSolver * | getActiveSolver () |
| Get the currently active ThermalHydraulicSolver (set during runSequence). Returns nullptr when no sequence is running. More... | |
Variables | |
| static SolverCallback * | s_active_callback = nullptr |
| static ThermalHydraulicSolver * | s_active_solver = nullptr |
RELAP5 implementation of ThermalHydraulicSolver.
Definition in file RelapSolver.cpp.
| void ads_membuf_get_ | ( | char ** | ptr, |
| int * | sz | ||
| ) |
References ads_membuf_get_().
Referenced by ads_membuf_get_(), and RelapSolver::checkpoint().
| void ads_membuf_get_trimmed_ | ( | char ** | ptr, |
| int * | size | ||
| ) |
References ads_membuf_get_trimmed_(), and PG::size.
Referenced by ads_membuf_get_trimmed_(), and RelapSolver::checkpoint().
| void ads_membuf_set_ | ( | char * | ptr, |
| int | sz | ||
| ) |
References ads_membuf_set_().
Referenced by ads_membuf_set_(), and RelapSolver::restore().
| void ads_membuf_stats_ | ( | int * | sz, |
| int * | dumps, | ||
| long long * | b_rstrec, | ||
| long long * | b_rnewp, | ||
| long long * | b_wrplid | ||
| ) |
References ads_membuf_stats_().
Referenced by ads_membuf_stats_(), and RelapSolver::checkpoint().
| void ads_set_cache_mode_ | ( | int * | mode | ) |
References ads_set_cache_mode_().
Referenced by ads_set_cache_mode_(), and RelapSolver::setThermoCacheMode().
| void ads_set_membuf_mode_ | ( | int | mode | ) |
References ads_set_membuf_mode_().
Referenced by ads_set_membuf_mode_(), and RelapSolver::setMembufMode().
| ThermalHydraulicSolver * getActiveSolver | ( | ) |
Get the currently active ThermalHydraulicSolver (set during runSequence). Returns nullptr when no sequence is running.
Definition at line 33 of file RelapSolver.cpp.
References s_active_solver.
Referenced by actonce_(), actte_(), initiate_branching_(), interfc_(), and secini_().
| SolverCallback * getActiveSolverCallback | ( | ) |
Get the currently active SolverCallback (set during runSequence). Used by extern "C" trampoline functions to route Fortran callbacks. Returns nullptr when no sequence is running.
Definition at line 32 of file RelapSolver.cpp.
References s_active_callback.
Referenced by actonce_(), actte_(), initiate_branching_(), interfc_(), and secini_().
| void relap5_ | ( | ) |
References relap5_().
Referenced by relap5_(), and RelapSolver::runSequence().
|
static |
Definition at line 29 of file RelapSolver.cpp.
Referenced by getActiveSolverCallback(), and RelapSolver::runSequence().
|
static |
Definition at line 30 of file RelapSolver.cpp.
Referenced by getActiveSolver(), and RelapSolver::runSequence().