17 #ifndef __deal2__grid_in_h 18 #define __deal2__grid_in_h 21 #include <deal.II/base/config.h> 23 #include <deal.II/base/smartpointer.h> 24 #include <deal.II/base/point.h> 315 template <
int dim,
int spacedim=dim>
483 <<
"The section type <" << arg1 <<
"> in an UNV " 484 <<
"input file is not implemented.");
491 <<
"The element type <" << arg1 <<
"> in an UNV " 492 <<
"input file is not implemented.");
499 <<
"The identifier <" << arg1 <<
"> as name of a " 500 <<
"part in an UCD input file is unknown or the " 501 <<
"respective input routine is not implemented." 502 <<
"(Maybe the space dimension of triangulation and " 503 <<
"input file do not match?");
513 <<
"Trying to access invalid vertex index " << arg2
514 <<
" while creating cell " << arg1);
524 <<
"The string <" << arg1 <<
"> is not recognized at the present" 525 <<
" position of a DB Mesh file.");
532 <<
"The specified dimension " << arg1
533 <<
" is not the same as that of the triangulation to be created.");
537 <<
"The string <" << arg1 <<
"> is not recognized at the present" 538 <<
" position of a Gmsh Mesh file.");
542 <<
"The Element Identifier <" << arg1 <<
"> is not " 543 <<
"supported in the Deal.II Library.\n" 544 <<
"Supported elements are: \n" 546 <<
"1 Line (2 nodes, 1 edge).\n" 547 <<
"3 Quadrilateral (4 nodes, 4 edges).\n" 548 <<
"5 Hexahedron (8 nodes, 12 edges, 6 faces).\n" 549 <<
"15 Point (1 node, ignored when read)");
634 const char comment_start);
647 std::vector<unsigned int> &tecplot2deal,
648 unsigned int &n_vars,
649 unsigned int &n_vertices,
650 unsigned int &n_cells,
651 std::vector<unsigned int> &IJK,
671 const std::vector<
Point<2> > &vertices,
678 const std::vector<
Point<3> > &vertices,
683 const std::vector<
Point<3> > &vertices,
688 DEAL_II_NAMESPACE_CLOSE
SmartPointer< Triangulation< dim, spacedim >, GridIn< dim, spacedim > > tria
void read_vtk(std::istream &in)
static std::string default_suffix(const Format format)
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)
DeclException0(ExcNoTriangulationSelected)
static Format parse_format(const std::string &format_name)
void read_dbmesh(std::istream &in)
static void skip_comment_lines(std::istream &in, const char comment_start)
void read_tecplot(std::istream &in)
DeclException2(ExcInvalidVertexIndex, int, int,<< "Trying to access invalid vertex index "<< arg2<< " while creating cell "<< arg1)
DeclException1(ExcUnknownSectionType, int,<< "The section type <"<< arg1<< "> in an UNV "<< "input file is not implemented.")
void read_ucd(std::istream &in)
void read_xda(std::istream &in)
void read_msh(std::istream &in)
static void debug_output_grid(const std::vector< CellData< dim > > &cells, const std::vector< Point< spacedim > > &vertices, std::ostream &out)
static void skip_empty_lines(std::istream &in)
static std::string get_format_names()
void read_netcdf(const std::string &filename)
void read_unv(std::istream &in)
void read(std::istream &in, Format format=Default)
Use GridIn::default_format stored in this object.
void attach_triangulation(Triangulation< dim, spacedim > &tria)