Feel++  0.91.4
Classes | Namespaces | Typedefs | Enumerations | Functions
/build/buildd/feel++-0.91.4/feel/feelfilters/gmsh.hpp File Reference
#include <boost/type_traits.hpp>
#include <boost/filesystem.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/range/algorithm/for_each.hpp>
#include <feel/feelcore/feel.hpp>
#include <feel/feelcore/environment.hpp>
#include <feel/feelcore/parameter.hpp>
#include <feel/feelcore/factory.hpp>
#include <feel/feelcore/singleton.hpp>
#include <feel/feelcore/worldcomm.hpp>
#include <feel/feelfilters/gmshenums.hpp>
#include <feel/feelvf/vf.hpp>
#include <feel/feelmesh/meshmover.hpp>
#include <feel/feelfilters/exporterquick.hpp>
#include <feel/feelfilters/importergmsh.hpp>
#include <feel/feelfilters/exportergmsh.hpp>

Classes

class  Feel::Gmsh
 Gmsh Mesh Generator. More...
struct  Feel::Gmsh::Factory

Namespaces

namespace  Feel

Typedefs

typedef Gmsh Feel::gmsh_type
typedef boost::shared_ptr
< gmsh_type > 
Feel::gmsh_ptrtype

Enumerations

enum  GMSH_PARTITIONER { GMSH_PARTITIONER_CHACO = 1, GMSH_PARTITIONER_METIS = 2 }
enum  GMSH_ORDER {
  GMSH_ORDER_ONE = 1, GMSH_ORDER_TWO = 2, GMSH_ORDER_THREE = 3, GMSH_ORDER_FOUR = 4,
  GMSH_ORDER_FIVE = 5
}

Functions

 Feel::BOOST_PARAMETER_FUNCTION ((typename detail::mesh< Args >::ptrtype), straightenMesh, tag,(required(mesh,*))(optional(refine,*(boost::is_integral< mpl::_ >), 0)(save,*(boost::is_integral< mpl::_ >), 0)))
 straighten the internal faces of a high order mesh
 Feel::BOOST_PARAMETER_FUNCTION ((typename detail::mesh< Args >::ptrtype), loadGMSHMesh, tag,(required(mesh,*)(filename,*))(optional(straighten,*(boost::is_integral< mpl::_ >), 1)(refine,*(boost::is_integral< mpl::_ >), 0)(update,*(boost::is_integral< mpl::_ >), 0)(physical_are_elementary_regions,*, false)))
 load a mesh data structure (hold in a shared_ptr<>) using GMSH
 Feel::BOOST_PARAMETER_FUNCTION ((void), saveGMSHMesh, tag,(required(mesh,*)(filename,*))(optional(parametricnodes,*(boost::is_integral< mpl::_ >), 0)))
 save a mesh data structure (hold in a shared_ptr<>) in the GMSH format
 Feel::BOOST_PARAMETER_FUNCTION ((typename detail::mesh< Args >::ptrtype), createGMSHMesh, tag,(required(mesh,*)(desc,*))(optional(h,*(boost::is_arithmetic< mpl::_ >), 0.1)(parametricnodes,*(boost::is_integral< mpl::_ >), 0)(straighten,*(boost::is_integral< mpl::_ >), 1)(refine,*(boost::is_integral< mpl::_ >), 0)(update,*(boost::is_integral< mpl::_ >), 0)(force_rebuild,*(boost::is_integral< mpl::_ >), 0)(physical_are_elementary_regions,*, false)(partitions,*(boost::is_integral< mpl::_ >), 1)(partition_file,*(boost::is_integral< mpl::_ >), 0)(partitioner,*(boost::is_integral< mpl::_ >), GMSH_PARTITIONER_CHACO)(worldcomm,*, WorldComm())))
 create a mesh data structure (hold in a shared_ptr<>) using GMSH
 Feel::BOOST_PARAMETER_FUNCTION ((gmsh_ptrtype), domain, tag,(required(name,*(boost::is_convertible< mpl::_, std::string >))(shape,*(boost::is_convertible< mpl::_, std::string >)))(optional(shear,*(boost::is_arithmetic< mpl::_ >), 0)(recombine,*(boost::is_integral< mpl::_ >), 0)(dim,*(boost::is_integral< mpl::_ >), 3)(order,*(boost::is_integral< mpl::_ >), 1)(h,*(boost::is_arithmetic< mpl::_ >), double(0.1))(convex,*(boost::is_convertible< mpl::_, std::string >),"Simplex")(addmidpoint,*(boost::is_integral< mpl::_ >), true)(usenames,*(boost::is_integral< mpl::_ >), false)(xmin,*(boost::is_arithmetic< mpl::_ >), 0.)(xmax,*(boost::is_arithmetic< mpl::_ >), 1)(ymin,*(boost::is_arithmetic< mpl::_ >), 0.)(ymax,*(boost::is_arithmetic< mpl::_ >), 1)(zmin,*(boost::is_arithmetic< mpl::_ >), 0.)(zmax,*(boost::is_arithmetic< mpl::_ >), 1)))
 generate a simple geometrical domain from required and optional parameters
 Feel::BOOST_PARAMETER_FUNCTION ((gmsh_ptrtype), geo, tag,(required(filename,*(boost::is_convertible< mpl::_, std::string >)))(optional(h,*(boost::is_arithmetic< mpl::_ >), double(0.1))(dim,*(boost::is_integral< mpl::_ >), 3)(order,*(boost::is_integral< mpl::_ >), 1)(files_path,*(boost::is_convertible< mpl::_, std::string >), Environment::localGeoRepository())(depends,*(boost::is_convertible< mpl::_, std::string >), std::string(""))))
 geo return a gmsh_ptrtype of a .geo mesh
 Feel::BOOST_PARAMETER_FUNCTION ((gmsh_ptrtype), mshconvert, tag,(required(filename,*(boost::is_convertible< mpl::_, std::string >)))(optional(dim,*(boost::is_integral< mpl::_ >), 3)(order,*(boost::is_integral< mpl::_ >), 1)))
 convert to gmsh format
 Feel::BOOST_PARAMETER_FUNCTION ((std::string), img2msh, tag,(required(filename,*(boost::is_convertible< mpl::_, std::string >)))(optional(prefix,*(boost::is_convertible< mpl::_, std::string >), fs::path(filename).stem())))
 convert to msh format

Detailed Description

Author:
Christophe Prud'homme <christophe.prudhomme@ujf-grenoble.fr>
Date:
2005-02-10