← Documentation
ADS-IDAC Engine 5.0.0
RelapSolver.h File Reference

RELAP5 implementation of ThermalHydraulicSolver. More...

Include dependency graph for RelapSolver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RelapSolver
 Concrete ThermalHydraulicSolver that wraps RELAP5/MOD3.3. More...
 

Functions

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

Detailed Description

RELAP5 implementation of ThermalHydraulicSolver.

Wraps the RELAP5/MOD3.3 Fortran coupling (r5pars_ struct, relap5_() entry point, ads_membuf_* functions) behind the abstract ThermalHydraulicSolver interface. The accessors are thin wrappers around r5pars_ fields.

Definition in file RelapSolver.h.

Function Documentation

◆ getActiveSolver()

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

Here is the caller graph for this function:

◆ getActiveSolverCallback()

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

Here is the caller graph for this function: