27#ifdef DEAL_II_WITH_GMSH
34 const double characteristic_length,
35 const std::string &output_base_name)
36 : characteristic_length(characteristic_length)
37 , output_base_name(output_base_name)
48 "Keep empty, if you want the program to generate "
49 "temporary files, and then remove them when they "
50 "are no longer used.");
55# ifdef DEAL_II_WITH_OPENCASCADE
56 template <
int spacedim>
64 if (base_name.empty())
68 ExcMessage(
"Creating temporary directory failed!"));
84 <<
"Line Loop (2) = {1};" << std::endl
85 <<
"Plane Surface (3) = {2};" << std::endl
88 <<
"Mesh.RecombineAll = 1;" << std::endl
89 <<
"Mesh.SubdivisionAlgorithm = 1;" << std::endl;
116 const std::array<const std::string *, 5>
filenames{
137# ifdef DEAL_II_WITH_OPENCASCADE
138# include "utilities.inst"
void add_parameters(ParameterHandler &prm)
std::string output_base_name
AdditionalParameters(const double characteristic_length=1.0, const std::string &output_base_name="")
double characteristic_length
void add_parameter(const std::string &entry, ParameterType ¶meter, const std::string &documentation="", const Patterns::PatternBase &pattern= *Patterns::Tools::Convert< ParameterType >::to_pattern(), const bool has_to_be_set=false)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_GMSH_EXECUTABLE_PATH
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcIO()
#define Assert(cond, exc)
static ::ExceptionBase & ExcMessage(std::string arg1)
#define AssertThrow(cond, exc)
void create_triangulation_from_boundary_curve(const TopoDS_Edge &boundary, Triangulation< 2, spacedim > &tria, const AdditionalParameters &prm=AdditionalParameters())
void write_IGES(const TopoDS_Shape &shape, const std::string &filename)
const ::Triangulation< dim, spacedim > & tria