45 std::set<const Body *> cuerpos_sup;
47 void insert_body(
Body *b);
48 Node *getNode(
const size_t &i);
49 const Node *getNode(
const size_t &i)
const;
52 virtual const Edge *get_lado_homologo(
const Edge *l)
const= 0;
57 Face(
const std::string &nombre,
Preprocessor *m,
const size_t &ndivI= 4,
const size_t &ndivJ= 4);
62 inline size_t NDivI(
void)
const 64 virtual void SetNDivI(
const size_t &ndi);
65 inline size_t NDivJ(
void)
const 67 virtual void SetNDivJ(
const size_t &ndj);
68 virtual void ConciliaNDivIJ(
void)= 0;
76 {
return cuerpos_sup; }
80 virtual bool checkNDivs(
void)
const= 0;
82 virtual Node *getNode(
const size_t &i1,
const size_t &j,
const size_t &k);
83 virtual const Node *getNode(
const size_t &i,
const size_t &j,
const size_t &k)
const;
84 virtual Node *getNode(
const size_t &i,
const size_t &j);
85 virtual const Node *getNode(
const size_t &i,
const size_t &j)
const;
87 std::set<SetBase *>
get_sets(
void)
const;
size_t getNumberOfEdges(void) const
Return the number of edges.
Definition: CmbEdge.h:132
std::set< SetBase * > get_sets(void) const
Returns the sets that contains this surface.
Definition: Face.cc:148
void add_to_sets(std::set< SetBase *> &)
Appends the surface to each of the sets being passed as parameter.
Definition: Face.cc:164
virtual void SetNDivI(const size_t &ndi)
Sets the number of divisions for direction I.
Definition: Face.cc:61
bool isConnectedTo(const Body &b) const
Returns true if the lines touches the body (neighbor).
Definition: Face.cc:141
Base class for one-dimensional geometry objects.
Definition: Edge.h:46
int SenseOfEdge(const Edge *l, const Face &otra) const
Returns:
Definition: Face.cc:98
Finite element model generation tools.
Definition: Preprocessor.h:58
Face(void)
Constructor.
Definition: Face.cc:42
int getVtkCellType(void) const
Interfaz con VTK.
Definition: Face.cc:222
Compound line.
Definition: CmbEdge.h:42
size_t CommonEdge(const Face &otra) const
Returns the index of the edge in common with the surface being passed as parameter (if it exists)...
Definition: Face.cc:82
Polyline3d getContour(void) const
Returns the contour of the face as a 3D polyline.
Definition: Face.cc:133
const std::set< const Face * > & getConnectedSurfaces(void) const
Return the surfaces that touch the line.
Definition: Edge.h:90
virtual unsigned short int GetDimension(void) const
Returns the dimension of the object.
Definition: Face.h:59
Point (KPoint).
Definition: Pnt.h:49
const std::set< const Body * > & getConnectedBodies(void) const
Return the bodies that touch this surface (neighbors).
Definition: Face.h:75
virtual const Pnt * getVertex(const size_t &i) const
Returns the i-th vertex.
Definition: Face.cc:129
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Six-faced solid.
Definition: Body.h:64
virtual void SetNDivJ(const size_t &ndj)
Sets the number of divisions for direction J.
Definition: Face.cc:65
size_t getNumberOfVertices(void) const
Returns the number of vertices.
Definition: Face.h:70
void update_topology(void)
Updates topology.
Definition: Face.cc:74
Mesh node.
Definition: Node.h:110
Surface.
Definition: Face.h:41