32 #include "SetEstruct.h" 33 #include "xc_utils/src/geom/pos_vec/RangoTritriz.h" 37 class SFreedom_Constraint;
47 template <
class FILATTZNOD,
class FILATTZELEM>
51 FILATTZELEM fila_elem;
53 typedef typename FILATTZNOD::reference reference_nod;
54 typedef typename FILATTZNOD::const_reference const_reference_nod;
56 typedef typename FILATTZELEM::reference reference_elem;
57 typedef typename FILATTZELEM::const_reference const_reference_elem;
59 SetFila(
const FILATTZNOD &fn,
const FILATTZELEM &fe,
const std::string &nmb=
"",
Preprocessor *preprocessor=
nullptr);
63 reference_nod Nodo(
const size_t &i)
64 {
return fila_nod(i); }
65 const reference_nod Nodo(
const size_t &i)
const 66 {
return fila_nod(i); }
67 reference_elem
Element(
const size_t &i)
68 {
return fila_elem(i); }
69 const reference_elem
Element(
const size_t &i)
const 70 {
return fila_elem(i); }
72 RangoTritriz RangoNodos(
void)
const 73 {
return RangoTritriz(fila_nod); }
74 RangoTritriz ElementRange(
void)
const 75 {
return RangoTritriz(fila_elem); }
77 virtual size_t getNumNodeLayers(
void)
const 78 {
return fila_nod.GetCapas(); }
79 virtual size_t getNumNodeRows(
void)
const 80 {
return fila_nod.getNumFilas(); }
81 virtual size_t getNumNodeColumns(
void)
const 82 {
return fila_nod.getNumCols(); }
83 virtual size_t getNumElementLayers(
void)
const 84 {
return fila_elem.GetCapas(); }
85 virtual size_t getNumElementRows(
void)
const 86 {
return fila_elem.getNumFilas(); }
87 virtual size_t getNumElementColumns(
void)
const 88 {
return fila_elem.getNumCols(); }
90 virtual XC::Node *GetNodo(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
91 {
return fila_nod(i,j,k); }
92 virtual const XC::Node *GetNodo(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
const 93 {
return fila_nod(i,j,k); }
94 virtual XC::Element *getElement(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
95 {
return fila_elem(i,j,k); }
96 virtual const XC::Element *getElement(
const size_t &i=1,
const size_t &j=1,
const size_t &k=1)
const 97 {
return fila_elem(i,j,k); }
103 template <
class FILATTZNOD,
class FILATTZELEM>
105 :
SetEstruct(nmb,preprocessor), fila_nod(fn), fila_elem(fe) {}
107 template <
class FILATTZNOD,
class FILATTZELEM>
109 :
SetEstruct(otro), fila_nod(otro.fila_nod), fila_elem(otro.fila_elem) {}
112 template <
class FILATTZNOD,
class FILATTZELEM>
116 fila_nod= otro.fila_nod;
117 fila_elem= otro.fila_elem;
122 template <
class FILATTZNOD,
class FILATTZELEM>
SetEstruct & operator=(const SetEstruct &otro)
Assignment operator.
Definition: SetEstruct.cc:49
Mesh node.
Definition: Node.h:99
Set of objects in a row.
Definition: SetFila.h:48
Base calass for the finite elements.
Definition: Element.h:104
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
SetFila & operator=(const SetFila &otro)
Assignment operator.
Definition: SetFila.h:113
SetEstruct(const std::string &nmb="", Preprocessor *preprocessor=nullptr)
Constructor.
Definition: SetEstruct.cc:41
virtual SetEstruct * getCopy(void) const
Virtual constructor.
Definition: SetFila.h:123
================================================================================
Definition: ContinuaReprComponent.h:34