16 #ifndef dealii__grid_in_h 17 #define dealii__grid_in_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/exceptions.h> 22 #include <deal.II/base/smartpointer.h> 23 #include <deal.II/base/point.h> 28 DEAL_II_NAMESPACE_OPEN
295 template <
int dim,
int spacedim=dim>
466 <<
"The section type <" << arg1 <<
"> in an UNV " 467 <<
"input file is not implemented.");
474 <<
"The element type <" << arg1 <<
"> in an UNV " 475 <<
"input file is not implemented.");
482 <<
"The identifier <" << arg1 <<
"> as name of a " 483 <<
"part in an UCD input file is unknown or the " 484 <<
"respective input routine is not implemented." 485 <<
"(Maybe the space dimension of triangulation and " 486 <<
"input file do not match?");
496 <<
"While creating cell " << arg1
497 <<
", you are referencing a vertex with index " << arg2
498 <<
" but no vertex with this index has been described in the input file.");
508 <<
"The string <" << arg1 <<
"> is not recognized at the present" 509 <<
" position of a DB Mesh file.");
516 <<
"The specified dimension " << arg1
517 <<
" is not the same as that of the triangulation to be created.");
521 <<
"The string <" << arg1 <<
"> is not recognized at the present" 522 <<
" position of a Gmsh Mesh file.");
526 <<
"The Element Identifier <" << arg1 <<
"> is not " 527 <<
"supported in the deal.II library when " 528 <<
"reading meshes in " << dim <<
" dimensions.\n" 529 <<
"Supported elements are: \n" 531 <<
"1 Line (2 nodes, 1 edge).\n" 532 <<
"3 Quadrilateral (4 nodes, 4 edges).\n" 533 <<
"5 Hexahedron (8 nodes, 12 edges, 6 faces) when in 3d.\n" 534 <<
"15 Point (1 node, ignored when read)");
584 const char comment_start);
594 std::vector<unsigned int> &tecplot2deal,
595 unsigned int &n_vars,
596 unsigned int &n_vertices,
597 unsigned int &n_cells,
598 std::vector<unsigned int> &IJK,
615 const std::vector<
Point<2> > &vertices,
622 const std::vector<
Point<3> > &vertices,
627 const std::vector<
Point<3> > &vertices,
632 DEAL_II_NAMESPACE_CLOSE
static std::string get_format_names()
SmartPointer< Triangulation< dim, spacedim >, GridIn< dim, spacedim > > tria
DeclException2(ExcInvalidVertexIndex, int, int,<< "While creating cell "<< arg1<< ", you are referencing a vertex with index "<< arg2<< " but no vertex with this index has been described in the input file.")
static Format parse_format(const std::string &format_name)
static void skip_empty_lines(std::istream &in)
void read_vtk(std::istream &in)
DeclException0(ExcNoTriangulationSelected)
void read_dbmesh(std::istream &in)
void read_tecplot(std::istream &in)
static void parse_tecplot_header(std::string &header, std::vector< unsigned int > &tecplot2deal, unsigned int &n_vars, unsigned int &n_vertices, unsigned int &n_cells, std::vector< unsigned int > &IJK, bool &structured, bool &blocked)
DeclException1(ExcUnknownSectionType, int,<< "The section type <"<< arg1<< "> in an UNV "<< "input file is not implemented.")
static void skip_comment_lines(std::istream &in, const char comment_start)
void read_ucd(std::istream &in)
void read_abaqus(std::istream &in)
void read_xda(std::istream &in)
void read_msh(std::istream &in)
void read_netcdf(const std::string &filename)
static std::string default_suffix(const Format format)
void read_unv(std::istream &in)
void read(std::istream &in, Format format=Default)
Use GridIn::default_format stored in this object.
static void debug_output_grid(const std::vector< CellData< dim > > &cells, const std::vector< Point< spacedim > > &vertices, std::ostream &out)
void attach_triangulation(Triangulation< dim, spacedim > &tria)