42 size_t index(
Face *s)
const;
43 void put(
const size_t &i,
Face *s);
45 void insert(
const size_t &);
67 size_t NDivI(
void)
const;
68 size_t NDivJ(
void)
const;
69 size_t NDivK(
void)
const;
SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Block.cc:78
Component of a compound line.
Definition: CmbEdge.h:57
int getVtkCellType(void) const
Interface with VTK.
Definition: Block.cc:83
void update_topology(void)
Update topology of the enclosing surface (neighbors).
Definition: Block.cc:179
virtual size_t getNumberOfLines(void) const
Return the number of lines of the object.
Definition: Block.cc:93
Finite element model generation tools.
Definition: Preprocessor.h:58
virtual std::set< const Face * > getSurfaces(void)
Return the surfaces that close the solid.
Definition: Block.cc:166
size_t NDivK(void) const
Return the number of divisions along the edge 1->5.
Definition: Block.cc:354
Surface that limits the body (face as seen by the body).
Definition: Body.h:70
bool checkNDivs(void) const
Check that number of divisions of the lines are compatible.
Definition: Block.cc:87
void create_nodes(void)
Create nodes for the block.
Definition: Block.cc:358
void genMesh(meshing_dir dm)
Trigger mesh generation.
Definition: Block.cc:475
Six-faced body.
Definition: Block.h:39
void insert(const size_t &)
Insert the surface with the identifier passed as parameter (if found).
Definition: Block.cc:270
Point (KPoint).
Definition: Pnt.h:49
void create_face_nodes(void)
Trigger the creation of nodes on faces.
Definition: Block.cc:291
structured set, i.
Definition: SetEstruct.h:45
const CmbEdge::Side * getEdge(const size_t &i) const
Return the i-th edge of the solid.
Definition: Block.cc:113
Pos3dArray3d get_positions(void) const
Return (ndivI+1)*(ndivJ+1)*(ndivK+1) positions for the nodes.
Definition: Block.cc:324
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Pnt * getVertex(const size_t &i)
Return the i-th vertex of the solid.
Definition: Block.cc:155
Six-faced solid.
Definition: Body.h:64
Block(Preprocessor *m, const std::string &nombre="")
Constructor.
Definition: Block.cc:74
void append_faces(const std::vector< size_t > &)
Create and insert the faces from the indices passed as parameter.
Definition: Block.cc:283
virtual size_t getNumberOfVertices(void) const
Return the number of vertices.
Definition: Block.cc:97
size_t NDivI(void) const
Return the number of divisions along the edge 1->2.
Definition: Block.cc:346
virtual BodyFace * getFace(const size_t &i)
Return the face with the index passed as parameter.
Definition: Block.cc:109
Surface.
Definition: Face.h:41
size_t NDivJ(void) const
Return the number of divisions along the edge 2->3.
Definition: Block.cc:350
virtual size_t getNumberOfFaces(void) const
Return the number of faces.
Definition: Block.cc:101