34 #include "preprocessor/multi_block_topology/entities/EntMdlr.h" 35 #include "preprocessor/multi_block_topology/entities/1d/CmbEdge.h" 57 SideSequence(
const size_t first= 1,
const bool &forward=
true);
59 {
return ((l1==other.
l1) && (l2==other.
l2) && (l3==other.
l3) && (l4==other.
l4)); }
64 boost::python::dict
getPyDict(
void)
const;
65 void setPyDict(
const boost::python::dict &);
82 BodyFace(
Body *b=
nullptr,
Face *ptr=
nullptr,
const size_t &p=1,
const bool &d=
true);
83 virtual bool operator==(
const BodyFace &)
const;
85 const Face *Surface(
void)
const;
86 void SetSurf(
Face *s);
88 const std::string &getName(
void)
const;
89 bool Vacia(
void)
const;
90 size_t getNumberOfLines(
void)
const;
91 size_t getNumberOfVertices(
void)
const;
94 const Pnt *getVertex(
const size_t &)
const;
95 Pnt *getVertex(
const size_t &);
97 void create_nodes(
void);
99 std::deque<const Edge *> getNDivErrors(
void)
const;
100 bool checkNDivs(
void)
const;
102 Node *getNode(
const size_t &,
const size_t &);
103 std::vector<Node *> getCornerNodes(
void);
105 boost::python::dict
getPyDict(
void)
const;
110 void set_surf(
Face *s);
112 virtual BodyFace *getFace(
const size_t &i)= 0;
120 virtual size_t getNumberOfLines(
void)
const= 0;
122 virtual size_t getNumberOfVertices(
void)
const= 0;
124 virtual size_t getNumberOfFaces(
void)
const= 0;
125 virtual std::set<const Face *> getSurfaces(
void)
const= 0;
126 virtual std::set<Face *> getSurfaces(
void)= 0;
127 virtual const BodyFace *getFace(
const size_t &i)
const= 0;
128 virtual const CmbEdge::Side *getEdge(
const size_t &i)
const= 0;
129 virtual const Pnt *getVertex(
const size_t &i)
const= 0;
130 virtual Pnt *getVertex(
const size_t &i)= 0;
131 std::deque<const Pnt *> getVertices(
void)
const;
132 std::deque<Pnt *> getVertices(
void);
133 boost::python::list getVerticesPy(
void);
134 std::vector<int> getIndicesVertices(
void)
const;
135 virtual BND3d Bnd(
void)
const;
136 virtual double getVolume(
void)
const;
137 bool In(
const GeomObj3d &,
const double &tol= 0.0)
const;
138 bool Out(
const GeomObj3d &,
const double &tol= 0.0)
const;
140 virtual std::deque<const Edge *> getNDivErrors(
void)
const= 0;
141 virtual bool checkNDivs(
void)
const= 0;
143 std::set<SetBase *> get_sets(
void)
const;
144 void add_to_sets(std::set<SetBase *> &);
Component of a compound line.
Definition: CmbEdge.h:59
size_t l4
Index edge 4.
Definition: Body.h:54
std::set< const Body * > getConnectedBodies(const Face &s)
Return the bodies that touch the surface passed as parameter (neighbors).
Definition: Body.cc:368
Finite element model generation tools.
Definition: Preprocessor.h:59
Array of positions in a three-dimensional space.
Definition: Pos3dArray.h:38
SideSequence(const size_t first=1, const bool &forward=true)
Constructor.
Definition: Body.cc:44
Surface that limits the body (face as seen by the body).
Definition: Body.h:77
const bool & isDirect(void) const
Return true if the edge sequence is direct (edge1 -> edge4).
Definition: Body.h:61
Model points container.
Definition: SurfaceMap.h:43
Order in edges of an hexahedron face.
Definition: Body.h:49
bool forward
Forward or reverse sequence.
Definition: Body.h:55
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: Body.cc:76
Objet that can execute python scripts.
Definition: CommandEntity.h:40
size_t l1
Index edge 1.
Definition: Body.h:51
"boundary" en tres dimensiones.
Definition: BND3d.h:34
Point (KPoint).
Definition: Pnt.h:50
Multiblock topology object (point, line, face, block,...).
Definition: EntMdlr.h:55
Posición en tres dimensiones.
Definition: Pos3d.h:44
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Six-faced solid.
Definition: Body.h:71
virtual unsigned short int GetDimension(void) const
Return the object dimension.
Definition: Body.h:116
size_t l3
Index edge 3.
Definition: Body.h:53
Mesh node.
Definition: Node.h:111
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: Body.cc:64
Surface.
Definition: Face.h:45
size_t l2
Index edge 2.
Definition: Body.h:52
Clase base para los objetos en tres dimensiones.
Definition: GeomObj3d.h:43