4 #include <deal.II/numerics/data_out.h> 5 #include <deal.II/grid/tria.h> 7 #include <deal.II/base/tensor.h> 8 #include <deal.II/base/symmetric_tensor.h> 12 namespace GridRefinement {
34 template <
int dim,
typename real>
44 const dealii::Triangulation<dim,dim> &tria,
45 dealii::Vector<real> data,
56 const dealii::Triangulation<dim,dim>& tria,
57 const std::vector<dealii::SymmetricTensor<2,dim,real>>& data,
59 const int p_scale = 1);
69 std::vector<std::string> &posFile_vec,
79 std::vector<std::string> &posFile_vec,
90 std::string output_name);
100 const bool colorize =
true);
107 #endif // __GMSH_OUT_H__ static int call_gmsh(std::string geo_name, std::string output_name)
Performs command line call to GMSH for grid generation (if availible)
Files for the baseline physics.
static void write_geo_hyper_cube(const double left, const double right, std::ostream &out, const bool colorize=true)
Writes the part of the .geo file associated wit the hyperdube geometry.
static void write_geo(std::vector< std::string > &posFile_vec, std::ostream &out)
Writes the central .geo file for call to GMSH on main process with isotropic quad meshing...
static void write_pos_anisotropic(const dealii::Triangulation< dim, dim > &tria, const std::vector< dealii::SymmetricTensor< 2, dim, real >> &data, std::ostream &out, const int p_scale=1)
Write anisotropic tensor .pos file for use with GMSH.
static void write_geo_anisotropic(std::vector< std::string > &posFile_vec, std::ostream &out)
Writes the central .geo file for call to GMSH on main process with anisotropic quad meshing...
static void write_pos(const dealii::Triangulation< dim, dim > &tria, dealii::Vector< real > data, std::ostream &out)
Write scalar .pos file for use with GMSH.