43 size_t index(
Face *s)
const;
44 void put(
const size_t &i,
Face *s);
46 void insert(
const size_t &);
64 virtual std::set<const Face *>
getSurfaces(
void)
const;
80 size_t NDivI(
void)
const;
81 void setNDivI(
const size_t &nDiv);
82 size_t NDivJ(
void)
const;
83 void setNDivJ(
const size_t &nDiv);
84 size_t NDivK(
void)
const;
85 void setNDivK(
const size_t &nDiv);
94 boost::python::dict
getPyDict(
void)
const;
95 void setPyDict(
const boost::python::dict &);
SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Block.cc:105
size_t getNumberOfDefinedFaces(void) const
Return the number of already defined faces.
Definition: Block.cc:143
Component of a compound line.
Definition: CmbEdge.h:59
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: Block.cc:860
int getVtkCellType(void) const
Interface with VTK.
Definition: Block.cc:109
void update_topology(void)
Update topology of the enclosing surface (neighbors).
Definition: Block.cc:287
virtual size_t getNumberOfLines(void) const
Return the number of lines of the object.
Definition: Block.cc:131
Finite element model generation tools.
Definition: Preprocessor.h:59
size_t NDivK(void) const
Return the number of divisions along the edge 1->5.
Definition: Block.cc:568
void addPoints(const ID &)
Creates and inserts the the faces that link the points from the indexes being passed as parameter...
Definition: Block.cc:776
Surface that limits the body (face as seen by the body).
Definition: Body.h:77
CmbEdge::Side * getEdge(const size_t &i)
Return the i-th edge of the solid.
Definition: Block.cc:186
Vector of integers.
Definition: ID.h:95
virtual bool operator==(const Block &) const
Comparison operator.
Definition: Block.cc:90
bool checkNDivs(void) const
Check that number of divisions of the lines are compatible.
Definition: Block.cc:125
void create_nodes(void)
Create nodes for the block.
Definition: Block.cc:598
void genMesh(meshing_dir dm)
Trigger mesh generation.
Definition: Block.cc:758
virtual std::set< const Face * > getSurfaces(void) const
Return the surfaces that close the solid.
Definition: Block.cc:261
Six-faced body.
Definition: Block.h:40
Face * newFace(const size_t &i, Pnt *, Pnt *, Pnt *, Pnt *)
Creates a new face between the points being passed as parameters and inserts it on the faces set...
Definition: Block.cc:167
double getVolume(void) const
Returns the object volume.
Definition: Block.cc:842
void insert(const size_t &)
Insert the surface with the identifier passed as parameter (if found).
Definition: Block.cc:380
Point (KPoint).
Definition: Pnt.h:50
virtual Pos3d getCentroid(void) const
Return the centroid of the object.
Definition: Block.cc:408
void create_face_nodes(void)
Trigger the creation of nodes on faces.
Definition: Block.cc:402
void setPoints(const ID &)
Creates and inserts the faces from the points identified by the indexes being passed as parameter...
Definition: Block.cc:822
structured set, i.
Definition: SetEstruct.h:47
Position array in a three-dimensional space.
Definition: Pos3dArray3d.h:37
Posición en tres dimensiones.
Definition: Pos3d.h:44
boost::python::list getPositionsPy(void) const
Return the positions that will be used for the nodes when meshing.
Definition: Block.cc:520
Block(Preprocessor *m, const std::string &name="")
Constructor.
Definition: Block.cc:86
Pos3dArray3d get_positions(void) const
Return (ndivI+1)*(ndivJ+1)*(ndivK+1) positions for the nodes.
Definition: Block.cc:454
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Pnt * getVertex(const size_t &i)
Return the i-th vertex of the solid.
Definition: Block.cc:237
std::deque< const Edge * > getNDivErrors(void) const
Returns a list with the edges that have an incompatible number of divisions.
Definition: Block.cc:113
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: Block.cc:874
Six-faced solid.
Definition: Body.h:71
void append_faces(const std::vector< size_t > &)
Create and insert the faces from the indices passed as parameter.
Definition: Block.cc:394
virtual size_t getNumberOfVertices(void) const
Return the number of vertices.
Definition: Block.cc:135
size_t NDivI(void) const
Return the number of divisions along the edge 1->2.
Definition: Block.cc:546
virtual BodyFace * getFace(const size_t &i)
Return the face with the index passed as parameter.
Definition: Block.cc:157
Surface.
Definition: Face.h:45
size_t NDivJ(void) const
Return the number of divisions along the edge 2->3.
Definition: Block.cc:557
virtual size_t getNumberOfFaces(void) const
Return the number of faces.
Definition: Block.cc:139