feat(poly): initial build system for polytrope

This commit is contained in:
2025-02-14 10:50:07 -05:00
parent f4be5b3733
commit 7330fb9906
4 changed files with 130 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
#ifndef POLY_IO_H
#define POLY_IO_H
#include "mfem.hpp"
#include <string>
/**
* @brief Writes the solution to a CSV file.
*
* @param u The GridFunction containing the solution.
* @param mesh The mesh associated with the solution.
* @param filename The name of the CSV file to write to.
*/
void write_solution_to_csv(const mfem::GridFunction &u, const mfem::Mesh &mesh, const std::string &filename);
#endif // POLY_IO_H