32#ifndef OPENSWMM_INP_WRITER_HPP
33#define OPENSWMM_INP_WRITER_HPP
96int writeInpFile(
const SimulationContext& ctx,
const std::string& path,
97 std::vector<std::string>* warnings =
nullptr);
144 bool internal_units =
false);
Definition InpWriter.cpp:104
std::string groundwaterSections(const SimulationContext &ctx)
Render the authored groundwater chemistry/aquifer reactor sections as text.
Definition InpWriter.cpp:1050
int writeInpFile(const SimulationContext &ctx, const std::string &path, std::vector< std::string > *warnings)
Write the full model to a SWMM .inp file.
Definition InpWriter.cpp:1813
std::string modelText(const SimulationContext &ctx, const std::string &anchor, bool internal_units)
Definition InpWriter.cpp:5012
Definition ExchangeLaw.hpp:60
Central, reentrant simulation context.
Definition SimulationContext.hpp:390
Write profile: which engine the file is written for.
Definition InpWriter.hpp:123
OutputKind
Definition InpWriter.hpp:131
@ Component
Definition InpWriter.hpp:131
@ Mesh
Definition InpWriter.hpp:131
@ Model
Definition InpWriter.hpp:131
std::function< std::string(const std::string &, OutputKind)> map_output
Definition InpWriter.hpp:135
bool internal_units
Definition InpWriter.hpp:128
bool skip_component_files
Definition InpWriter.hpp:130
Profile
Definition InpWriter.hpp:124
@ Swmm5
Definition InpWriter.hpp:124
@ Swmm5Stock
Definition InpWriter.hpp:124
@ Full
Definition InpWriter.hpp:124
bool inline_mesh
Definition InpWriter.hpp:129
Profile profile
Definition InpWriter.hpp:125
FILE * stream
Definition InpWriter.hpp:127