|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Class that collects mesh input and output static methods. More...
#include <mesh_transfer.hpp>
Class that collects mesh input and output static methods.
Definition at line 41 of file mesh_transfer.hpp.
|
static |
Reads a GMSH v2 mesh file and populates a TriangleMesh in a Structure.
| [out] | structure | - The Structure to populate with mesh data. |
| [in] | msh_filename | - Path to the GMSH v2 mesh file. |
| [in] | decoupled_edges | - If true, edges are unique to each face (optional). |
It is assumed that all physical surfaces are numbered consecutively from 1 onwards.
Definition at line 36 of file mesh_transfer.cpp.
|
static |
Writes a GMSH v2 mesh file from a TriangleMesh in a Structure.
| [in] | structure | - The Structure whose mesh is written to file. |
| [in] | msh_filename | - Path to the output GMSH v2 mesh file. |
| [in] | extension | - Custom file extension for the output mesh file (optional). |
Definition at line 255 of file mesh_transfer.cpp.
|
static |
Writes a GMSH v2 mesh file from a TriangleMesh in a Structure with a superimposed scalar field.
| [in] | structure | - The Structure associated with the scalar field. |
| [in] | msh_filename | - Path to the output GMSH v2 mesh file. |
| [in] | field | - Scalar field to superimpose on the mesh. |
| [in] | field_name | - Name for the field (optional). |
Definition at line 315 of file mesh_transfer.cpp.
|
static |
Writes a GMSH v2 mesh file from a TriangleMesh in a Structure with a superimposed vector field.
| [in] | structure | - The Structure associated with the vector field. |
| [in] | msh_filename | - Path to the output GMSH v2 mesh file. |
| [in] | field | - Vector field to superimpose on the mesh. |
| [in] | field_name | - Name for the field (optional). |
Definition at line 345 of file mesh_transfer.cpp.