34 #include "domain/mesh/node/NodeTopology.h" 57 virtual size_t getNumNodeLayers(
void)
const= 0;
58 virtual size_t getNumNodeRows(
void)
const= 0;
59 virtual size_t getNumNodeColumns(
void)
const= 0;
60 virtual size_t getNumElementLayers(
void)
const= 0;
61 virtual size_t getNumElementRows(
void)
const= 0;
62 virtual size_t getNumElementColumns(
void)
const= 0;
63 size_t getNumberOfNodes(
void)
const;
64 size_t getNumberOfElements(
void)
const;
65 bool In(
const Node *)
const;
77 virtual Node *GetNodo(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)= 0;
78 virtual const Node *GetNodo(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
const= 0;
80 Node *getNodeI(
const size_t &i);
81 Node *getNodeIJ(
const size_t &i,
const size_t &j);
82 inline Node *getNodeIJK(
const size_t &i,
const size_t &j,
const size_t &k)
83 {
return GetNodo(i,j,k); }
85 virtual Element *getElement(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)= 0;
86 virtual const Element *getElement(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
const= 0;
88 inline Element *getElementI(
const size_t &i)
89 {
return getElement(i,1,1); }
90 inline Element *getElementIJ(
const size_t &i,
const size_t &j)
91 {
return getElement(i,j,1); }
92 inline Element *getElementIJK(
const size_t &i,
const size_t &j,
const size_t &k)
93 {
return getElement(i,j,k); }
96 boost::python::list getNodes(
void);
98 boost::python::list getElements(
void);
bool EsFilaJ(void) const
Returns true if only the J index varies.
Definition: SetEstruct.cc:68
std::string GetStrTipo(void) const
Returns the set type filaI, filaJ, filaK, capaICte,...
Definition: SetEstruct.cc:94
"Tritriz" of pointers to elements.
Definition: TritrizPtrElem.h:43
bool EsFilaK(void) const
Returns true if only the K index varies.
Definition: SetEstruct.cc:75
bool EsCapaKCte(void) const
Returns true if only I and J indices varies.
Definition: SetEstruct.cc:90
ElementEdges getElementEdges(void)
Returns the element edges with both end nodes belong to the nodes of the set.
Definition: SetEstruct.cc:134
SetEstruct & operator=(const SetEstruct &otro)
Assignment operator.
Definition: SetEstruct.cc:49
size_t Dimension(void) const
Return the dimension of the range (0,1,2 or 3). Zero if the range is empty, 1 if there is more than o...
Definition: SetEstruct.cc:109
Mesh node.
Definition: Node.h:99
bool EsFilaI(void) const
Returns true if only the I index varies.
Definition: SetEstruct.cc:61
bool EsCapaJCte(void) const
Returns true if only J and K indices varies.
Definition: SetEstruct.cc:86
Base calass for the finite elements.
Definition: Element.h:104
std::set< int > getElementTags(void) const
Returns the tags of the elements.
Definition: SetEstruct.cc:192
Finite element model generation tools.
Definition: Preprocessor.h:58
structured set, i. e. a set that can return a pointer a to a node or an element from its indices i...
Definition: SetEstruct.h:45
NodePtrSet getNodePtrSet(void)
Returns the pointers to the set nodes.
Definition: SetEstruct.cc:119
bool In(const Node *) const
Returns true if the nodo belongs to the set.
Definition: SetEstruct.cc:229
bool EsCapaICte(void) const
Returns true if only J and K indices varies.
Definition: SetEstruct.cc:82
SetEstruct(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: SetEstruct.cc:41
Element edge container.
Definition: ElementEdges.h:44
================================================================================
Definition: ContinuaReprComponent.h:34
std::set< int > getNodeTags(void) const
Returns the tags of the nodes.
Definition: SetEstruct.cc:154
void add_elements(const TritrizPtrElem &)
Adds to the model the elements being passed as parameters.
Definition: SetEstruct.cc:141
Base de las clases Set y SetEstruct.
Definition: SetBase.h:50