36 #include "domain/mesh/node/NodeTopology.h" 60 virtual size_t getNumNodeLayers(
void)
const= 0;
61 virtual size_t getNumNodeRows(
void)
const= 0;
62 virtual size_t getNumNodeColumns(
void)
const= 0;
63 virtual size_t getNumElementLayers(
void)
const= 0;
64 virtual size_t getNumElementRows(
void)
const= 0;
65 virtual size_t getNumElementColumns(
void)
const= 0;
66 size_t getNumberOfNodes(
void)
const;
67 size_t getNumberOfElements(
void)
const;
68 bool In(
const Node *)
const;
81 virtual Node *getNode(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)= 0;
82 virtual const Node *getNode(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
const= 0;
84 Node *getNodeI(
const size_t &i);
85 Node *getNodeIJ(
const size_t &i,
const size_t &j);
86 inline Node *getNodeIJK(
const size_t &i,
const size_t &j,
const size_t &k)
87 {
return getNode(i,j,k); }
89 virtual Element *getElement(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)= 0;
90 virtual const Element *getElement(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
const= 0;
92 inline Element *getElementI(
const size_t &i)
93 {
return getElement(i,1,1); }
94 inline Element *getElementIJ(
const size_t &i,
const size_t &j)
95 {
return getElement(i,j,1); }
96 inline Element *getElementIJK(
const size_t &i,
const size_t &j,
const size_t &k)
97 {
return getElement(i,j,k); }
99 std::list<const Node *>
getNodes(
void)
const;
103 std::list<const Element *>
getElements(
void)
const;
106 boost::python::list getElementsPy(
void);
boost::python::list getNodesPy(void)
Return the nodes of the set in a Python list.
Definition: SetEstruct.cc:194
void add_elements_to_handler(const ElemPtrArray3d &)
Adds the elements to the element handler.
Definition: SetEstruct.cc:132
Float vector abstraction.
Definition: Vector.h:94
std::list< const Node * > getNodes(void) const
Return the nodes of the set in a list.
Definition: SetEstruct.cc:150
bool isIRow(void) const
Returns true if only the I index varies.
Definition: SetEstruct.cc:60
Finite element model generation tools.
Definition: Preprocessor.h:59
size_t Dimension(void) const
Return the dimension of the range (0,1,2 or 3).
Definition: SetEstruct.cc:108
bool In(const Node *) const
Returns true if the node belongs to the set.
Definition: SetEstruct.cc:326
boost::python::list createInertiaLoads(const Vector &)
Creates the inertia loads that corresponds to the acceleration argument.
Definition: SetEstruct.cc:266
bool isKRow(void) const
Returns true if only the K index varies.
Definition: SetEstruct.cc:74
Three-dimensional array of pointers to elements.
Definition: ElemPtrArray3d.h:47
SetEstruct(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: SetEstruct.cc:40
bool isKConstantLayer(void) const
Returns true if only I and J indices varies.
Definition: SetEstruct.cc:89
Base de las clases Set y SetEstruct.
Definition: SetBase.h:51
Base class for the finite elements.
Definition: Element.h:112
std::string getStrType(void) const
Returns the set type i_row, j_row, k_row, constantILayer,...
Definition: SetEstruct.cc:93
std::list< const Element * > getElements(void) const
Returns the elements in a list.
Definition: SetEstruct.cc:208
bool isIConstantLayer(void) const
Returns true if only J and K indices varies.
Definition: SetEstruct.cc:81
bool isJRow(void) const
Returns true if only the J index varies.
Definition: SetEstruct.cc:67
structured set, i.
Definition: SetEstruct.h:48
bool isJConstantLayer(void) const
Returns true if only J and K indices varies.
Definition: SetEstruct.cc:85
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
std::set< int > getNodeTags(void) const
Returns the tags of the nodes.
Definition: SetEstruct.cc:184
Base class for model constraints.
Definition: Constraint.h:48
Mesh node.
Definition: Node.h:112
NodePtrSet getNodePtrSet(void)
Returns the pointers to the set nodes.
Definition: SetEstruct.cc:118
std::set< int > getElementTags(void) const
Returns the tags of the elements.
Definition: SetEstruct.cc:242
SetEstruct & operator=(const SetEstruct &)
Assignment operator.
Definition: SetEstruct.cc:48