29 #include "ElemPlano.h" 34 #include "preprocessor/cad/matrices/TritrizPtrElem.h" 35 #include "preprocessor/cad/aux_meshing.h" 36 #include "preprocessor/loaders/LoadLoader.h" 37 #include "domain/load/plane/BidimStrainLoad.h" 39 #include "vtkCellType.h" 48 template <
class PhysProp>
57 QuadBase9N(
int tag,
int classTag,
const PhysProp &);
62 Poligono3d
getPoligono(
bool initialGeometry=
true)
const;
63 Segmento3d
getLado(
const size_t &i,
bool initialGeometry=
true)
const;
73 template <
class PhysProp>
78 template <
class PhysProp>
80 :
ElemPlano<9,PhysProp>(tag,classTag,pp) {}
84 template <
class PhysProp>
89 template <
class PhysProp>
93 std::cerr <<
"QuadBase9N<PhysProp>::getPoligono not implemented." << std::endl;
98 template <
class PhysProp>
102 std::cerr <<
"QuadBase9N<PhysProp>::getLado not implemented." << std::endl;
107 template <
class PhysProp>
111 std::cerr <<
"QuadBase9N<PhysProp>::getNodesEdge not implemented." << std::endl;
117 template <
class PhysProp>
121 std::cerr <<
"QuadBase9N<PhysProp>::getEdgeNodes not implemented." << std::endl;
126 template <
class PhysProp>
130 std::cerr <<
"QuadBase9N<PhysProp>::getEdgeNodes not implemented." << std::endl;
135 template <
class PhysProp>
144 template <
class PhysProp>
148 std::cerr << this->nombre_clase()
149 <<
"; load over inactive elements: " 150 << this->getTag() << std::endl;
153 if(
const BidimStrainLoad *strainLoad= dynamic_cast<const BidimStrainLoad *>(theLoad))
155 static std::vector<Vector> initStrains;
156 initStrains= strainLoad->getStrains();
157 for(std::vector<Vector>::iterator i= initStrains.begin();i!=initStrains.end();i++)
159 this->
physicalProperties.getMaterialsVector().addInitialGeneralizedStrains(initStrains);
163 std::cerr <<
"QuadBase9N::addLoad -- load type unknown for element with tag: " <<
164 this->getTag() << std::endl;
172 template <
class PhysProp>
174 {
return VTK_QUADRATIC_QUAD; }
177 template <
class PhysProp>
179 {
return MED_QUAD9; }
Segmento3d getLado(const size_t &i, bool initialGeometry=true) const
Returns a lado of the element.
Definition: QuadBase9N.h:99
"Tritriz" of pointers to elements.
Definition: TritrizPtrElem.h:43
std::vector< const Node * > NodesEdge
Definition: Element.h:108
TritrizPtrElem put_quad9N_on_mesh(const Element &e, const TritrizPtrNod &, meshing_dir dm)
Places the elements on the mesh passed as parameter.
Definition: aux_meshing.cc:252
int getVtkCellType(void) const
Interfaz con Vtk.
Definition: QuadBase9N.h:173
"Tritriz" of pointers to elements.
Definition: TritrizPtrNod.h:51
Element::NodesEdge getNodesEdge(const size_t &i) const
Returns the nodos de un lado of the element.
Definition: QuadBase9N.h:108
void zeroLoad(void)
Zeroes loads on element.
Definition: QuadBase9N.h:136
Mesh node.
Definition: Node.h:99
Load due to restricted material expansion or contraction on bidimensional elements.
Definition: BidimStrainLoad.h:38
Base class for loads over elements.
Definition: ElementalLoad.h:73
Base class for plane elements.
Definition: ElemPlano.h:48
virtual void zeroLoad(void)
Anula el load vector aplicadas of the element.
Definition: Element.cpp:185
PhysProp physicalProperties
pointers to the material objects and physical properties.
Definition: ElemWithMaterial.h:43
TritrizPtrElem put_on_mesh(const TritrizPtrNod &, meshing_dir dm) const
Put the element on the mesh being passed as parameter.
Definition: QuadBase9N.h:85
QuadBase9N(int classTag)
Constructor.
Definition: QuadBase9N.h:74
Base class for nine node quads.
Definition: QuadBase9N.h:49
int getMEDCellType(void) const
Interfaz con el formato MED de Salome.
Definition: QuadBase9N.h:178
ID getLocalIndexNodesEdge(const size_t &i) const
Returns the local indexes of the nodes that lie on the i-th edge.
Definition: QuadBase9N.h:127
Poligono3d getPoligono(bool initialGeometry=true) const
Returns the element contour as a polygon.
Definition: QuadBase9N.h:90
int getEdgeNodes(const Node *, const Node *) const
Returns the borde of the element que tiene por extremos los nodos being passed as parameters...
Definition: QuadBase9N.h:118
int addLoad(ElementalLoad *theLoad, double loadFactor)
Adds to the element the load being passed as parameter.
Definition: QuadBase9N.h:145
================================================================================
Definition: ContinuaReprComponent.h:34