16 #ifndef dealii_grid_in_h 17 #define dealii_grid_in_h 20 #include <deal.II/base/config.h> 22 #include <deal.II/base/exceptions.h> 23 #include <deal.II/base/point.h> 24 #include <deal.II/base/smartpointer.h> 30 DEAL_II_NAMESPACE_OPEN
32 template <
int dim,
int space_dim>
303 template <
int dim,
int spacedim = dim>
425 const bool apply_all_indicators_to_manifolds =
false);
468 const bool apply_all_indicators_to_manifolds =
false);
502 DEAL_II_DEPRECATED
void 549 const bool remove_duplicates =
true,
550 const double tol = 1e-12,
551 const bool ignore_unsupported_element_types =
true);
578 <<
"The section type <" << arg1 <<
"> in an UNV " 579 <<
"input file is not implemented.");
586 <<
"The element type <" << arg1 <<
"> in an UNV " 587 <<
"input file is not implemented.");
594 <<
"The identifier <" << arg1 <<
"> as name of a " 595 <<
"part in an UCD input file is unknown or the " 596 <<
"respective input routine is not implemented." 597 <<
"(Maybe the space dimension of triangulation and " 598 <<
"input file do not match?");
610 <<
"While creating cell " << arg1
611 <<
", you are referencing a vertex with index " << arg2
612 <<
" but no vertex with this index has been described in the input file.");
621 <<
"While creating cell " << arg1 <<
" (which is numbered as " << arg2
622 <<
" in the input file), you are referencing a vertex with index " << arg3
623 <<
" but no vertex with this index has been described in the input file.");
633 <<
"The string <" << arg1
634 <<
"> is not recognized at the present" 635 <<
" position of a DB Mesh file.");
643 <<
"The specified dimension " << arg1
644 <<
" is not the same as that of the triangulation to be created.");
648 <<
"The string <" << arg1
649 <<
"> is not recognized at the present" 650 <<
" position of a Gmsh Mesh file.");
654 <<
"The Element Identifier <" << arg1 <<
"> is not " 655 <<
"supported in the deal.II library when " 656 <<
"reading meshes in " << dim <<
" dimensions.\n" 657 <<
"Supported elements are: \n" 659 <<
"1 Line (2 nodes, 1 edge).\n" 660 <<
"3 Quadrilateral (4 nodes, 4 edges).\n" 661 <<
"5 Hexahedron (8 nodes, 12 edges, 6 faces) when in 3d.\n" 662 <<
"15 Point (1 node, ignored when read)");
725 std::vector<unsigned int> &tecplot2deal,
726 unsigned int & n_vars,
727 unsigned int & n_vertices,
728 unsigned int & n_cells,
729 std::vector<unsigned int> &IJK,
746 const std::vector<
Point<2>> & vertices,
753 const std::vector<
Point<3>> & vertices,
758 const std::vector<
Point<3>> & vertices,
762 DEAL_II_NAMESPACE_CLOSE
static std::string get_format_names()
static const unsigned int invalid_unsigned_int
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcUnknownElementType(int arg1)
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)
SmartPointer< Triangulation< dim, spacedim >, GridIn< dim, spacedim > > tria
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 void debug_output_grid(const std::vector< CellData< dim >> &cells, const std::vector< Point< spacedim >> &vertices, std::ostream &out)
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)
void read_assimp(const std::string &filename, const unsigned int mesh_index=numbers::invalid_unsigned_int, const bool remove_duplicates=true, const double tol=1e-12, const bool ignore_unsupported_element_types=true)
Use GridIn::default_format stored in this object.
void read_abaqus(std::istream &in, const bool apply_all_indicators_to_manifolds=false)
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()