XC Open source finite element analysis program
ModalAnalysis.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 //ModalAnalysis.h
28 
29 
30 #ifndef ModalAnalysis_h
31 #define ModalAnalysis_h
32 
33 #include "EigenAnalysis.h"
34 #include "xc_utils/src/geom/d1/func_por_puntos/FuncPorPuntosR_R.h"
35 
36 namespace XC {
37 class Matrix;
38 
40 //
43  {
44  protected:
45  FuncPorPuntosR_R espectro;
46 
47  friend class ProcSolu;
48  ModalAnalysis(SoluMethod *metodo);
49  public:
50  inline const FuncPorPuntosR_R &getSpectrum(void) const
51  { return espectro; }
52  inline void setSpectrum(const FuncPorPuntosR_R &s)
53  { espectro= s; }
54  //Aceleraciones.
55  double getAcceleration(const double &) const;
56  Vector getAccelerations(const Vector &) const;
57  Vector getModalAccelerations(void) const;
59 
60  //Equivalent static load.
61  Vector getEquivalentStaticLoad(int mode) const;
62  };
63 
64 } // end of XC namespace
65 
66 #endif
67 
Vector getEquivalentStaticLoad(int mode) const
Return the equivalent static load for the mode being passed as parameter.
Definition: ModalAnalysis.cc:64
Vector getModalAccelerations(void) const
Returns the aceleraciones que corresponden a los modos calculados.
Definition: ModalAnalysis.cc:59
Modal analysis.
Definition: ModalAnalysis.h:42
Definition: Vector.h:82
ModalAnalysis(SoluMethod *metodo)
Constructor.
Definition: ModalAnalysis.cc:38
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
Vector getAccelerations(const Vector &) const
Returns the accelerations that correspond to the periods being passed as parameters.
Definition: ModalAnalysis.cc:48
Eigenproblem analysis.
Definition: EigenAnalysis.h:78
Matrix getCQCModalCrossCorrelationCoefficients(const Vector &zetas) const
Returns the correlation coefficients between modes being used in CQC method.
Definition: ModalAnalysis.cc:74
Solution procedure for the finite element problem.
Definition: ProcSolu.h:56
double getAcceleration(const double &) const
Returns the acceleration that corresponds to the period being passed as parameter.
Definition: ModalAnalysis.cc:43
Definition: Matrix.h:82
================================================================================
Definition: ContinuaReprComponent.h:34