GetFEM  5.4.2
getfem_import.h File Reference

Import mesh files from various formats. More...

#include <string>
#include <iostream>
#include <map>
#include <set>
#include "bgeot_config.h"

Go to the source code of this file.

Namespaces

 getfem
 GEneric Tool for Finite Element Methods.
 

Functions

void getfem::import_mesh (const std::string &filename, const std::string &format, mesh &m)
 imports a mesh file. More...
 
void getfem::import_mesh_gmsh (const std::string &filename, mesh &m, std::map< std::string, size_type > &region_map, bool remove_last_dimension=true, std::map< size_type, std::set< size_type >> *nodal_map=NULL, bool remove_duplicated_nodes=true)
 Import a mesh file in format generated by Gmsh. More...
 
void getfem::maybe_remove_last_dimension (mesh &msh)
 for gmsh and gid meshes, the mesh nodes are always 3D, so for a 2D mesh the z-component of nodes should be removed
 
std::map< std::string, size_type > getfem::read_region_names_from_gmsh_mesh_file (std::istream &f)
 for gmsh meshes, create table linking region name to region_id.
 

Detailed Description

Import mesh files from various formats.

Author
Julien Pommier Julie.nosp@m.n.Po.nosp@m.mmier.nosp@m.@ins.nosp@m.a-tou.nosp@m.lous.nosp@m.e.fr
Date
Januar 17, 2003.

Definition in file getfem_import.h.