← Documentation
ADS-IDAC Engine 5.0.0
Client.cpp File Reference
#include "Client.h"
#include "../Global/RestartTrim.h"
#include "../Global/SharedConfig.h"
#include "../Solver/RelapSolver.h"
#include "../Solver/RestApiSolver.h"
#include "../Global/KeyParameterHistory.h"
#include "../Scheduler/AnalysisInfoContainer.h"
#include <csignal>
#include <unistd.h>
#include <fstream>
#include <unordered_set>
#include "../Global/SimulationContext.h"
#include "../Global/CheckedIO.h"
#include "../Global/PEOutput.h"
Include dependency graph for Client.cpp:

Go to the source code of this file.

Functions

static void log_seq_fingerprint_mpi (int rank, double term_time)
 
static SequenceOutputData extract_sequence_outputs (int seq_id)
 
static void save_sequence_outputs (int seq_id)
 
static std::string restart_base_path ()
 

Function Documentation

◆ extract_sequence_outputs()

static SequenceOutputData extract_sequence_outputs ( int  seq_id)
static

◆ log_seq_fingerprint_mpi()

static void log_seq_fingerprint_mpi ( int  rank,
double  term_time 
)
static

Definition at line 23 of file Client.cpp.

References BranchCluster::all_branch, SimulationContext::Branch_center, BranchRecord::branch_cluster, SimulationContext::current_seq_events, BranchRecord::findBrnachCluster(), g_sim, BranchCluster::getIDOfMotherCluster(), Time::getTimeAtWhichThisEventHappen(), PG::rank, SimulationContext::seq_restart_branch_num, and SimulationContext::seq_restart_cid.

Referenced by Client::complete_sequence().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restart_base_path()

static std::string restart_base_path ( )
static

Definition at line 116 of file Client.cpp.

References g_sim, Scheduler::getProjectDirectory(), and SimulationContext::SScheduler.

Referenced by Client::ensure_base_cache(), and Client::restore_buffer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save_sequence_outputs()

static void save_sequence_outputs ( int  seq_id)
static

Definition at line 98 of file Client.cpp.

References SimulationContext::Aux_info, SimulationContext::Branch_center, BranchRecord::branch_cluster, BranchRecord::end_state, g_sim, Scheduler::getESDirectory(), Scheduler::getKPSDirectory(), SimulationContext::KPS, KeyParameterHistory::outputHistoryToFile(), AnalysisInfoContainer::saveInfoToFile(), BranchRecord::setIDOfRecentGeneratedES(), and SimulationContext::SScheduler.

Referenced by Client::complete_sequence().

Here is the call graph for this function:
Here is the caller graph for this function: