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
299 template <
int dim,
int spacedim=dim>
379 const bool apply_all_indicators_to_manifolds=
false);
421 const bool apply_all_indicators_to_manifolds=
false);
480 <<
"The section type <" << arg1 <<
"> in an UNV " 481 <<
"input file is not implemented.");
488 <<
"The element type <" << arg1 <<
"> in an UNV " 489 <<
"input file is not implemented.");
496 <<
"The identifier <" << arg1 <<
"> as name of a " 497 <<
"part in an UCD input file is unknown or the " 498 <<
"respective input routine is not implemented." 499 <<
"(Maybe the space dimension of triangulation and " 500 <<
"input file do not match?");
510 <<
"While creating cell " << arg1
511 <<
", you are referencing a vertex with index " << arg2
512 <<
" but no vertex with this index has been described in the input file.");
518 <<
"While creating cell " << arg1
519 <<
" (which is numbered as " << arg2
520 <<
" in the input file), you are referencing a vertex with index " << arg3
521 <<
" but no vertex with this index has been described in the input file.");
531 <<
"The string <" << arg1 <<
"> is not recognized at the present" 532 <<
" position of a DB Mesh file.");
539 <<
"The specified dimension " << arg1
540 <<
" is not the same as that of the triangulation to be created.");
544 <<
"The string <" << arg1 <<
"> is not recognized at the present" 545 <<
" position of a Gmsh Mesh file.");
549 <<
"The Element Identifier <" << arg1 <<
"> is not " 550 <<
"supported in the deal.II library when " 551 <<
"reading meshes in " << dim <<
" dimensions.\n" 552 <<
"Supported elements are: \n" 554 <<
"1 Line (2 nodes, 1 edge).\n" 555 <<
"3 Quadrilateral (4 nodes, 4 edges).\n" 556 <<
"5 Hexahedron (8 nodes, 12 edges, 6 faces) when in 3d.\n" 557 <<
"15 Point (1 node, ignored when read)");
607 const char comment_start);
617 std::vector<unsigned int> &tecplot2deal,
618 unsigned int &n_vars,
619 unsigned int &n_vertices,
620 unsigned int &n_cells,
621 std::vector<unsigned int> &IJK,
638 const std::vector<
Point<2> > &vertices,
645 const std::vector<
Point<3> > &vertices,
650 const std::vector<
Point<3> > &vertices,
655 DEAL_II_NAMESPACE_CLOSE
static std::string get_format_names()
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcUnknownElementType(int arg1)
SmartPointer< Triangulation< dim, spacedim >, GridIn< dim, spacedim > > tria
static Format parse_format(const std::string &format_name)
static void skip_empty_lines(std::istream &in)
void read_vtk(std::istream &in)
static ::ExceptionBase & ExcDBMESHWrongDimension(int arg1)
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)
#define DeclException1(Exception1, type1, outsequence)
static ::ExceptionBase & ExcInvalidVertexIndexGmsh(int arg1, int arg2, int arg3)
static void skip_comment_lines(std::istream &in, const char comment_start)
#define DeclException0(Exception0)
void read_ucd(std::istream &in, const bool apply_all_indicators_to_manifolds=false)
static ::ExceptionBase & ExcInvalidDBMESHInput(std::string arg1)
static ::ExceptionBase & ExcUnknownIdentifier(std::string arg1)
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)
static ::ExceptionBase & ExcNoTriangulationSelected()
static ::ExceptionBase & ExcInvalidDBMeshFormat()
#define DeclException3(Exception3, type1, type2, type3, outsequence)
Use GridIn::default_format stored in this object.
void read_abaqus(std::istream &in, const bool apply_all_indicators_to_manifolds=false)
static void debug_output_grid(const std::vector< CellData< dim > > &cells, const std::vector< Point< spacedim > > &vertices, std::ostream &out)
static ::ExceptionBase & ExcInvalidGMSHInput(std::string arg1)
static ::ExceptionBase & ExcGmshUnsupportedGeometry(int arg1)
static ::ExceptionBase & ExcUnknownSectionType(int arg1)
void attach_triangulation(Triangulation< dim, spacedim > &tria)
static ::ExceptionBase & ExcInvalidVertexIndex(int arg1, int arg2)
static ::ExceptionBase & ExcGmshNoCellInformation()