33 #include "preprocessor/PreprocessorContainer.h"    34 #include "DqPtrsEntities.h"    35 #include "DqPtrsFaces.h"    36 #include "utility/actor/actor/MovableObject.h"    37 #include "preprocessor/set_mgmt/SetMeshComp.h"    50 class SFreedom_Constraint;
    61       : first(a), second(b), intersectionPos(p) {}
    63 typedef std::deque<EdgeIntersectionRef> edge_intersection_pairs;
   121     void create_gmsh_points(
void) 
const;
   122     void point_meshing(meshing_dir dm);
   123     void create_gmsh_lines(
void) 
const;
   124     void line_meshing(meshing_dir dm);
   125     void create_gmsh_loops(
void) 
const;
   126     std::vector<int> create_gmsh_surfaces(
void) 
const;
   127     void surface_meshing(meshing_dir dm);
   128     void body_meshing(meshing_dir dm);
   129     void uniform_grid_meshing(meshing_dir dm);
   130     std::map<int, const Node *> create_nodes_from_gmsh(
void);
   131     int create_elements_from_gmsh(
const std::map<int, const Node *> &);
   132     void gen_mesh_gmsh(
const std::string &modelName);
   142     bool empty(
void) 
const;    
   153     void sel_points_from_list(
const ID &);
   154     void selPointsFromListPy(
const boost::python::list &);
   155     bool In(
const Pnt *) 
const;
   156     bool isCloserThan(
const Pnt &, 
const double &) 
const;
   158     Pnt *getNearestPoint(
const Pos3d &);
   159     const Pnt *getNearestPoint(
const Pos3d &) 
const;
   160     bool isCloserThan(
const Pos3d &, 
const double &) 
const;
   165     virtual const lst_line_pointers &
getLines(
void)
 const   173     void sel_lines_from_list(
const ID &);
   174     void selLinesFromListPy(
const boost::python::list &);
   175     bool In(
const Edge *) 
const;
   176     bool isCloserThan(
const Edge &, 
const double &) 
const;
   178     edge_intersection_pairs getLineIntersections(
const double &tol= 1e-6) 
const;
   179     void splitLinesAtIntersections(
const double &tol= 1e-6);
   181     const Edge *getNearestLine(
const Pos3d &) 
const;
   192     void sel_surfaces_from_list(
const ID &);
   193     void selSurfacesFromListPy(
const boost::python::list &);
   194     bool In(
const Face *) 
const;
   195     bool isCloserThan(
const Face &, 
const double &) 
const;
   207     void sel_bodies_from_list(
const ID &);
   208     void selBodiesFromListPy(
const boost::python::list &);
   209     bool In(
const Body *) 
const;
   210     bool isCloserThan(
const Body &, 
const double &) 
const;
   215       { 
return uniform_grids; }
   218       { 
return uniform_grids; }
   219     void sel_ugrids_from_list(
const ID &);
   220     void selUgridsFromListPy(
const boost::python::list &);
   222     bool isCloserThan(
const UniformGrid &, 
const double &) 
const;
   224     BND3d Bnd(
void) 
const;
   225     double getAverageSize(
void) 
const;
   228     double getMaxElementSize(
void) 
const;
   229     double getMinElementSize(
void) 
const;
   230     double getAverageElementSize(
void) 
const;
   235     void fillDownwards(
void);
   238     void Transform(
const TrfGeom &trf);
   240     void conciliaNDivs(
void);
   241     void setUseGmsh(
const bool &);
   242     bool getUseGmsh(
void) 
const;
   243     void genMesh(
const std::string &, meshing_dir dm);
   248     void extend(
const lst_ptr_points &);
   249     void extend(
const lst_line_pointers &);
   250     void extend(
const lst_surface_ptrs &);
   251     void extend(
const lst_body_pointers &);
   252     void extend(
const lst_ptr_uniform_grids &);
   262     boost::python::dict getPyDict(
void) 
const;
   263     void setPyDict(
const boost::python::dict &);
 virtual const lst_ptr_points & getPoints(void) const
Returns a const reference to the point container. 
Definition: SetEntities.h:145
lst_surface_ptrs surfaces
surface set. 
Definition: SetEntities.h:103
void setSurfaces(const lst_surface_ptrs &sfs)
Assigns the surface set. 
Definition: SetEntities.h:190
virtual const lst_line_pointers & getLines(void) const
Return a const reference to the line container. 
Definition: SetEntities.h:165
lst_surface_ptrs::const_iterator sup_const_iterator
surface set const iterator. 
Definition: SetEntities.h:90
Edge * second
second edge. 
Definition: SetEntities.h:58
virtual lst_surface_ptrs & getSurfaces(void)
Returns a reference to the surface container. 
Definition: SetEntities.h:187
Base class for one-dimensional geometry objects. 
Definition: Edge.h:48
Base class for position lists. 
Definition: PolyPos.h:35
lst_line_pointers::const_iterator lin_const_iterator
Line set const iterator. 
Definition: SetEntities.h:86
Communication parameters between processes. 
Definition: Communicator.h:66
void setBodies(const lst_body_pointers &bds)
Assigns the bodies set. 
Definition: SetEntities.h:205
Finite element model generation tools. 
Definition: Preprocessor.h:59
Object that can move between processes. 
Definition: MovableObject.h:100
virtual lst_body_pointers & getBodies(void)
Return a reference to the body container. 
Definition: SetEntities.h:202
Edge * first
first edge. 
Definition: SetEntities.h:57
Pos3d intersectionPos
intersection point. 
Definition: SetEntities.h:59
Vector that stores the dbTags of the class members. 
Definition: DbTagData.h:44
void move(GeomObj::list_Pos2d &l, const Vector2d &v)
Moves the points of the list. 
Definition: utils_list_pos2d.cc:38
Vector of integers. 
Definition: ID.h:95
lst_ptr_points::iterator pnt_iterator
point set iterator. 
Definition: SetEntities.h:81
lst_line_pointers::iterator lin_iterator
Line set iterator. 
Definition: SetEntities.h:85
Base class for the finite elements. 
Definition: Element.h:112
FiberSet operator+(const FiberSet &, const FiberSet &)
Return the union of both containers. 
Definition: FiberSet.cc:65
lst_ptr_points::const_iterator pnt_const_iterator
point set const iterator. 
Definition: SetEntities.h:82
Set of mesh components (nodes, elements and constraints). 
Definition: SetMeshComp.h:59
lst_body_pointers::const_iterator body_const_iterator
body set const iterator. 
Definition: SetEntities.h:94
DqPtrsEntities< Edge > lst_line_pointers
Line set. 
Definition: SetEntities.h:84
virtual const lst_body_pointers & getBodies(void) const
Return a const reference to the body container. 
Definition: SetEntities.h:199
virtual const lst_surface_ptrs & getSurfaces(void) const
Returns a const reference to the surface container. 
Definition: SetEntities.h:184
lst_surface_ptrs::iterator sup_iterator
surface set iterator. 
Definition: SetEntities.h:89
Container for preprocessor faces. 
Definition: DqPtrsFaces.h:41
bool useGmsh
if true use Gmsh for mesh generation. 
Definition: SetEntities.h:106
Object set. 
Definition: Set.h:57
void setPoints(const lst_ptr_points &pts)
Assigns the points set. 
Definition: SetEntities.h:151
"boundary" en tres dimensiones. 
Definition: BND3d.h:34
lst_ptr_points points
point set. 
Definition: SetEntities.h:101
Reference to the intersection of two edges (see SetEntities::getLineIntersections). 
Definition: SetEntities.h:55
Point (KPoint). 
Definition: Pnt.h:50
lst_line_pointers lines
line set. 
Definition: SetEntities.h:102
lst_ptr_uniform_grids::iterator ugrid_iterator
Uniform grid iterator. 
Definition: SetEntities.h:97
DqPtrsEntities< Body > lst_body_pointers
body set. 
Definition: SetEntities.h:92
DqPtrsFaces lst_surface_ptrs
surface set. 
Definition: SetEntities.h:88
Geometric transformation that can be applied to the components of a set. 
Definition: TrfGeom.h:48
Base class for preprocessor containers i. 
Definition: PreprocessorContainer.h:44
Posición en tres dimensiones. 
Definition: Pos3d.h:44
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
FiberSet operator-(const FiberSet &, const FiberSet &)
Return the fibers in a that are not in b. 
Definition: FiberSet.cc:73
virtual lst_ptr_points & getPoints(void)
Return a reference to the the point container. 
Definition: SetEntities.h:148
Six-faced solid. 
Definition: Body.h:71
DqPtrsEntities< UniformGrid > lst_ptr_uniform_grids
Unifrom grid set. 
Definition: SetEntities.h:96
lst_body_pointers bodies
body set. 
Definition: SetEntities.h:104
void setLines(const lst_line_pointers &lns)
Assigns the edge set. 
Definition: SetEntities.h:171
virtual lst_ptr_uniform_grids & getUniformGrids(void)
Return a reference to the UniformGrids container. 
Definition: SetEntities.h:217
lst_body_pointers::iterator body_iterator
body set iterator. 
Definition: SetEntities.h:93
Mesh node. 
Definition: Node.h:111
Surface. 
Definition: Face.h:45
virtual const lst_ptr_uniform_grids & getUniformGrids(void) const
Return a const reference to the UniformGrids container. 
Definition: SetEntities.h:214
Vector en tres dimensiones. 
Definition: Vector3d.h:39
lst_ptr_uniform_grids::const_iterator ugrid_const_iterator
Uniform grid const iterator. 
Definition: SetEntities.h:98
Object set. 
Definition: SetEntities.h:77
lst_ptr_uniform_grids uniform_grids
Uniform mesh set. 
Definition: SetEntities.h:105
DqPtrsEntities< Pnt > lst_ptr_points
Point set. 
Definition: SetEntities.h:80
Clase base para los objetos en tres dimensiones. 
Definition: GeomObj3d.h:43
virtual lst_line_pointers & getLines(void)
Return a reference to the line container. 
Definition: SetEntities.h:168