XC Open source finite element analysis program
SisRefScc.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 //SisRefScc.h
28 
29 #ifndef SISREFSCC_H
30 #define SISREFSCC_H
31 
32 #include "EntGeomSection.h"
33 
34 class Vector2d;
35 class Pos2d;
36 
37 namespace XC {
38 
40 //
43  {
44  protected:
45 
46  public:
49  : EntGeomSection("",m) {}
50  SisRefScc(const std::string &nombre= "",GeomSection *m= nullptr)
51  : EntGeomSection(nombre,m) {}
52 
56  virtual Vector2d GetVDirEje(const size_t &,const Pos2d &) const= 0;
57  Vector2d GetI(const Pos2d &) const;
58  Vector2d GetJ(const Pos2d &) const;
59 
62  virtual Pos2d GetPosGlobal(const Pos2d &p) const= 0;
65  virtual Vector2d GetCooGlobales(const Vector2d &v) const= 0;
68  virtual Pos2d GetPosLocal(const Pos2d &p) const= 0;
71  virtual Vector2d GetCooLocales(const Vector2d &v) const= 0;
72 
73 
74  };
75 
76 } //end of XC namespace
77 
78 #endif
EntGeomSection(const std::string &nmb="", GeomSection *sccGeom=nullptr)
Constructor.
Definition: EntGeomSection.cc:45
virtual Vector2d GetCooLocales(const Vector2d &v) const =0
Returns the vector v expresado en globales expresado en coordenadas locales.
Vector2d GetJ(const Pos2d &) const
Returns the ${j}$ unit vector expressed in global coordinates for the position being passed as parame...
Definition: SisRefScc.cc:40
virtual Vector2d GetVDirEje(const size_t &, const Pos2d &) const =0
Returns the i-th axis unit vector expressed in global coordinates for the position being passed as pa...
Base class of section geometry representation classes.
Definition: EntGeomSection.h:47
virtual Vector2d GetCooGlobales(const Vector2d &v) const =0
Returns the vector v expresado en locales expresado en coordenadas globales.
virtual Pos2d GetPosGlobal(const Pos2d &p) const =0
Return the posicion del punto p expresado en locales expresada en coordenadas globales.
virtual Pos2d GetPosLocal(const Pos2d &p) const =0
Return the posicion del punto p expresado en globales expresada en coordenadas locales.
Vector2d GetI(const Pos2d &) const
Returns the ${i}$ unit vector expressed in global coordinates for the position being passed as parame...
Definition: SisRefScc.cc:35
================================================================================
Definition: ContinuaReprComponent.h:34
Cross section geometry.
Definition: GeomSection.h:62
SisRefScc(GeomSection *m)
Constructor.
Definition: SisRefScc.h:48
Reference system used for make easier definining point positions.
Definition: SisRefScc.h:42