svZeroDSolver
Loading...
Searching...
No Matches
calibrate.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the
2// University of California, and others. SPDX-License-Identifier: BSD-3-Clause
3/**
4 * @file calibrate.h
5 * @brief opt::calibrate source file
6 */
7
8#ifndef SVZERODSOLVER_OPTIMIZE_CALIBRATOR_HPP_
9#define SVZERODSOLVER_OPTIMIZE_CALIBRATOR_HPP_
10
11#include <Eigen/Dense>
12#include <Eigen/Sparse>
13#include <fstream>
14#include <nlohmann/json.hpp>
15
16#include "Model.h"
17#include "debug.h"
18
19/**
20 * @brief Main function to run the 0D model calibration.
21 * @param config JSON configuration for 0D model
22 * @return Calibrated JSON configuration for the 0D model
23 */
24nlohmann::json calibrate(const nlohmann::json &config);
25
26#endif // SVZERODSOLVER_OPTIMIZE_CALIBRATOR_HPP_
model::Model source file
nlohmann::json calibrate(const nlohmann::json &config)
Main function to run the 0D model calibration.
Definition calibrate.cpp:8
DEBUG_MSG source file.