XC Open source finite element analysis program
SisRefSccCartesianas2d.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 //SisRefSccCartesianas2d.h
28 //Sistema de coordenadas cartesianas.
29 
30 #ifndef SISREFSCCCARTESIANAS2D_H
31 #define SISREFSCCCARTESIANAS2D_H
32 
33 #include "SisRefScc.h"
34 #include "xc_utils/src/geom/sis_ref/Ref2d2d.h"
35 
36 namespace XC {
37 
39 //
42  {
43  Ref2d2d ref;
44  protected:
45 
46  public:
49  : SisRefScc(m) {}
50  SisRefSccCartesianas2d(const std::string &nombre= "",GeomSection *m= nullptr)
51  : SisRefScc(nombre,m) {}
52 
53  Vector2d GetVDirEje(const size_t &,const Pos2d &) const;
54 
55 
56  Pos2d GetPosGlobal(const Pos2d &p) const;
57  Vector2d GetCooGlobales(const Vector2d &v) const;
58  Pos2d GetPosLocal(const Pos2d &p) const;
59  Vector2d GetCooLocales(const Vector2d &v) const;
60 
61 
62  };
63 
64 } //end of XC namespace
65 
66 #endif
Bidimensional reference system for a section.
Definition: SisRefSccCartesianas2d.h:41
SisRefSccCartesianas2d(GeomSection *m)
Constructor.
Definition: SisRefSccCartesianas2d.h:48
Vector2d GetVDirEje(const size_t &, const Pos2d &) const
Returns the i-th axis unit vector expressed in global coordinates for the position being passed as pa...
Definition: SisRefSccCartesianas2d.cc:36
Vector2d GetCooLocales(const Vector2d &v) const
Returns the vector v expresado en globales expresado en coordenadas locales.
Definition: SisRefSccCartesianas2d.cc:53
Vector2d GetCooGlobales(const Vector2d &v) const
Returns the vector v expresado en locales expresado en coordenadas globales.
Definition: SisRefSccCartesianas2d.cc:45
Pos2d GetPosLocal(const Pos2d &p) const
Return the posicion del punto p expresado en globales expresada en coordenadas locales.
Definition: SisRefSccCartesianas2d.cc:49
================================================================================
Definition: ContinuaReprComponent.h:34
Pos2d GetPosGlobal(const Pos2d &p) const
Return the posicion del punto p expresado en locales expresada en coordenadas globales.
Definition: SisRefSccCartesianas2d.cc:41
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