Feel++  0.91.4
Protected Member Functions | List of all members
Feel::GmshEllipsoidDomain Class Reference

n-Ellipsoid Domain description for gmsh mesh generation. More...

#include <gmshellipsoiddomain.hpp>

Inheritance diagram for Feel::GmshEllipsoidDomain:
Feel::Gmsh

Public Member Functions

Constructors, destructor
 GmshEllipsoidDomain (int Dim, int Order=GMSH_ORDER_ONE, DomainType dt=GMSH_REAL_DOMAIN)
 
 ~GmshEllipsoidDomain ()
 destructor
 
- Public Member Functions inherited from Feel::Gmsh
 Gmsh (int nDim=1, int nOrder=GMSH_ORDER_ONE)
 
 Gmsh (Gmsh const &__g)
 
virtual ~Gmsh ()
 
int dimension () const
 
GMSH_ORDER order () const
 
std::string version () const
 
std::string prefix () const
 
std::vector< std::pair< double,
double > > const & 
boundingBox () const
 
double xmin () const
 
double xmax () const
 
double ymin () const
 
double ymax () const
 
double zmin () const
 
double zmax () const
 
double const & h () const
 
std::string description () const
 
bool addMidPoint () const
 
bool usePhysicalNames () const
 
WorldComm const & worldComm () const
 
int numberOfPartitions () const
 
bool mshFileByPartition () const
 
GMSH_PARTITIONER partitioner () const
 
double shear () const
 get the shear
 
bool recombine () const
 return true if recombine, false otherwise
 
GmshsetDimension (int dim)
 
Gmshref ()
 
Gmshh (double _h)
 
void setOrder (int o)
 
void setVersion (std::string version)
 
void setDescription (std::string const &desc)
 
void setPrefix (std::string const &name)
 
virtual void setX (std::pair< double, double > const &x)
 
virtual void setY (std::pair< double, double > const &y)
 
virtual void setZ (std::pair< double, double > const &z)
 
virtual void setReferenceDomain ()
 the gmsh generator to generate a reference domain
 
virtual void setCharacteristicLength (double _h)
 set the characteristic length to h
 
void setAddMidPoint (bool add)
 
void usePhysicalNames (bool option)
 
void setWorldComm (WorldComm const &_worldcomm)
 set the communicator
 
void setNumberOfPartitions (int n)
 set the number of partitions
 
void setMshFileByPartition (bool p)
 set save msh file by partitions
 
void setPartitioner (GMSH_PARTITIONER const &p)
 set the partitioner
 
void setShear (double _shear)
 shear the domain
 
void setRecombine (bool _recombine)
 recombine simplices into quads
 
std::string generate (std::string const &name) const
 
std::string generate (std::string const &name, std::string const &geo, bool const forceRebuild=false, bool const parametric=false, bool const modifGeo=true) const
 
std::string refine (std::string const &name, int level=1, bool const parametric=false) const
 
std::string preamble () const
 
std::string getDescriptionFromFile (std::string const &file) const
 
Gmshoperator= (Gmsh const &__g)
 

Protected Member Functions

std::string getDescription () const
 
- Protected Member Functions inherited from Feel::Gmsh
bool generateGeo (std::string const &name, std::string const &geo, bool const modifGeo=true) const
 

Additional Inherited Members

- Public Types inherited from Feel::Gmsh
enum  DomainType { GMSH_REFERENCE_DOMAIN = 0, GMSH_REAL_DOMAIN }
 
- Static Public Member Functions inherited from Feel::Gmsh
static boost::shared_ptr< GmshNew (po::variables_map const &vm)
 
static boost::shared_ptr< GmshNew (std::string const &shape, uint16_type d=2, uint16_type o=1, std::string const &ct="simplex")
 
- Protected Attributes inherited from Feel::Gmsh
WorldComm M_worldComm
 communicator
 
int M_dimension
 mesh dimension
 
int M_order
 mesh order
 
std::string M_version
 
std::string M_name
 
std::string M_desc
 
std::vector< std::pair< double,
double > > 
M_I
 bounding box
 
double M_h
 characteristic length
 
bool M_addmidpoint
 mid point
 
bool M_usePhysicalNames
 add physical names to msh files
 
GMSH_PARTITIONER M_partitioner
 partitioner type
 
int M_partitions
 number of partitions
 
bool M_partition_file
 save msh file by partition
 
double M_shear
 shear
 
bool M_recombine
 recombine simplices into hypercubes
 

Detailed Description

n-Ellipsoid Domain description for gmsh mesh generation.

Author
Christophe Prud'homme

Member Function Documentation

std::string Feel::GmshEllipsoidDomain::getDescription ( ) const
protectedvirtual

sublass must provide the geo description

Reimplemented from Feel::Gmsh.