feat(poly): initial build system for polytrope
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user