/**
* @file CLibForeFire.cpp
* @brief Bindings to C and Fortran as well as MPI processing if activated (requires a coupler model)
* @copyright Copyright (C) 2025 ForeFire, Fire Team, SPE, CNRS/Universita di Corsica.
* @license This program is free software; See LICENSE file for details. (See LICENSE file).
* @author JeanBaptiste Filippi 2025
*/
#include "CLibForeFire.h"
#include "SimulationParameters.h"
#include
#ifdef MPI_COUPLING
#include
#include
#include
#include
#include
#include
#endif
using namespace std;
#ifdef MPI_COUPLING
#endif
namespace libforefire {
Command executor;
static Command::Session* session = &(executor.currentSession);
int world_rank;
int world_size;
size_t mnhPause;
Command* getLauncher(){
return &executor;
}
void MNHInit(const double t){
executor.setReferenceTime(t);
/* Reading all the information on the parameters of ForeFire */
ostringstream paramsfile;
paramsfile