#include <MshWriter.hpp>
|
static void | write (const std::string &path, const mesh::Mesh &mesh, const bool binary) |
| saves the mesh
|
|
static void | write (const std::string &path, const Eigen::MatrixXd &points, const Eigen::MatrixXi &cells, const std::vector< int > &body_ids, const bool is_volume, const bool binary=false) |
| saves the mesh
|
|
static void | write (const std::string &path, const Eigen::MatrixXd &points, const std::vector< std::vector< int > > &cells, const std::vector< int > &body_ids, const bool is_volume, const bool binary=false) |
| saves the mesh
|
|
Definition at line 11 of file MshWriter.hpp.
◆ MshWriter()
polyfem::io::MshWriter::MshWriter |
( |
| ) |
|
|
delete |
◆ write() [1/3]
void polyfem::io::MshWriter::write |
( |
const std::string & |
path, |
|
|
const Eigen::MatrixXd & |
points, |
|
|
const Eigen::MatrixXi & |
cells, |
|
|
const std::vector< int > & |
body_ids, |
|
|
const bool |
is_volume, |
|
|
const bool |
binary = false |
|
) |
| |
|
static |
saves the mesh
- Parameters
-
[in] | path | output path |
[in] | binary | output binary or not |
Definition at line 27 of file MshWriter.cpp.
References write().
◆ write() [2/3]
void polyfem::io::MshWriter::write |
( |
const std::string & |
path, |
|
|
const Eigen::MatrixXd & |
points, |
|
|
const std::vector< std::vector< int > > & |
cells, |
|
|
const std::vector< int > & |
body_ids, |
|
|
const bool |
is_volume, |
|
|
const bool |
binary = false |
|
) |
| |
|
static |
saves the mesh
- Parameters
-
[in] | path | output path |
[in] | binary | output binary or not |
Definition at line 43 of file MshWriter.cpp.
◆ write() [3/3]
void polyfem::io::MshWriter::write |
( |
const std::string & |
path, |
|
|
const mesh::Mesh & |
mesh, |
|
|
const bool |
binary |
|
) |
| |
|
static |
saves the mesh
- Parameters
-
[in] | path | output path |
[in] | binary | output binary or not |
Definition at line 7 of file MshWriter.cpp.
References polyfem::mesh::Mesh::cell_vertex(), polyfem::mesh::Mesh::dimension(), polyfem::mesh::Mesh::get_body_ids(), polyfem::mesh::Mesh::is_volume(), polyfem::mesh::Mesh::n_cell_vertices(), polyfem::mesh::Mesh::n_elements(), polyfem::mesh::Mesh::n_vertices(), polyfem::mesh::Mesh::point(), and write().
Referenced by polyfem::solver::AdjointNLProblem::save_to_file(), polyfem::State::solve_transient_tensor_nonlinear(), write(), and write().
The documentation for this class was generated from the following files: