Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::GmshEllipsoidDomain Class Reference

#include <gmshellipsoiddomain.hpp>

Detailed Description

n-Ellipsoid Domain description for gmsh mesh generation.

Author
Christophe Prud'homme
+ Inheritance diagram for Feel::GmshEllipsoidDomain:

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, WorldComm const &worldComm=Environment::worldComm())
 
 Gmsh (Gmsh const &__g)
 
virtual ~Gmsh ()
 
int dimension () const
 
GMSH_ORDER order () const
 
std::string version () const
 
GMSH_FORMAT format () const
 
bool isASCIIFormat () const
 
bool isBinaryFormat () 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
 
double geoParameter (std::string const &_name)
 Get the value of a GMSH geometry parameter. If the parameter does not match any parameter, the function throws an out_of_range exception. More...
 
std::map< std::string,
std::string > 
geoParameters ()
 Get all GMSH geometry parameters. More...
 
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
 
int structuredMesh () const
 
int refinementLevels () const
 
GmshsetDimension (int dim)
 
Gmshref ()
 
Gmshh (double _h)
 
void setOrder (int o)
 
void setVersion (std::string version, GMSH_FORMAT format=GMSH_FORMAT_ASCII)
 
void setFileFormat (GMSH_FORMAT format)
 
void setDescription (std::string const &desc)
 
void setSubStructuring (bool substruct)
 
bool subStructuring () const
 
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 setGeoParameter (std::string const &_name, double _value)
 Modify an existing geo parameter. If the parameter does not match any parameter, the function throws an out_of_range exception. More...
 
void setGeoParameters (std::map< std::string, std::string > const &geomap, bool _update=1)
 Modify geo gmsh geometry parameters from a map of parameters. If the parameter does not match any parameter, the function throws an out_of_range exception. More...
 
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 setStructuredMesh (int s)
 
void setRefinementLevels (int levels)
 
void setPartitioner (GMSH_PARTITIONER const &p)
 set the partitioner
 
void setShear (double _shear)
 shear the domain
 
void setRecombine (bool _recombine)
 recombine simplices into quads
 
Gmshoperator= (Gmsh const &__g)
 
std::string generate (std::string const &name) const
 
boost::tuple< std::string, bool > 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
 
void rebuildPartitionMsh (std::string const &nameMshInput, std::string const &nameMshOutput) const
 
std::map< std::string,
std::string > 
retrieveGeoParameters (std::string const &geo) const
 

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")
 
static std::map< std::string,
std::string > 
gpstr2map (std::string const &geopars)
 Create a map from a list of geometry parameters string and separated by a character :. More...
 
- Protected Attributes inherited from Feel::Gmsh
bool M_addmidpoint
 mid point
 
std::string M_desc
 
int M_dimension
 mesh dimension
 
GMSH_FORMAT M_format
 
std::map< std::string,
std::string > 
M_geoParamMap
 
double M_h
 characteristic length
 
std::vector< std::pair< double,
double > > 
M_I
 bounding box
 
std::string M_name
 
int M_order
 mesh order
 
bool M_partition_file
 save msh file by partition
 
GMSH_PARTITIONER M_partitioner
 partitioner type
 
int M_partitions
 number of partitions
 
bool M_recombine
 recombine simplices into hypercubes
 
int M_refine_levels
 number of refinement levels
 
double M_shear
 shear
 
int M_structured
 
bool M_substructuring
 
bool M_usePhysicalNames
 add physical names to msh files
 
std::string M_version
 
WorldComm M_worldComm
 communicator
 

Member Function Documentation

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

sublass must provide the geo description

Reimplemented from Feel::Gmsh.


The documentation for this class was generated from the following files:

Generated on Sun Dec 22 2013 13:11:19 for Feel++ by doxygen 1.8.5