svMultiPhysics
Loading...
Searching...
No Matches
output.h
1// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef OUTPUT__H
5#define OUTPUT__H
6
7#include "Simulation.h"
8
9#include<fstream>
10#include<iostream>
11
12namespace output {
13
14void output_result(Simulation* simulation, std::array<double,3>& timeP, const int co, const int iEq);
15
16void read_restart_header(ComMod& com_mod, std::array<int,7>& tStamp, double& timeP, std::ifstream& restart_file);
17
18void write_restart(Simulation* simulation, std::array<double,3>& timeP);
19
20void write_restart_header(ComMod& com_mod, std::array<double,3>& timeP, std::ofstream& restart_file);
21
22void write_results(ComMod& com_mod, const std::array<double,3>& timeP, const std::string& fName, const bool sstEq);
23
24};
25
26#endif
27
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition ComMod.h:1514
Definition Simulation.h:14