xc
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/function_from_points/FunctionFromPointsR_R.h"
35 
36 namespace XC {
37 class Matrix;
38 
40 //
43  {
44  protected:
45  FunctionFromPointsR_R espectro;
46 
47  friend class ProcSolu;
48  ModalAnalysis(AnalysisAggregation *analysis_aggregation);
49  public:
50  inline const FunctionFromPointsR_R &getSpectrum(void) const
51  { return espectro; }
52  inline void setSpectrum(const FunctionFromPointsR_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 
Float vector abstraction.
Definition: Vector.h:93
Solution procedure for the finite element problem.
Definition: AnalysisAggregation.h:89
Vector getAccelerations(const Vector &) const
Returns the accelerations that correspond to the periods being passed as parameters.
Definition: ModalAnalysis.cc:48
double getAcceleration(const double &) const
Returns the acceleration that corresponds to the period being passed as parameter.
Definition: ModalAnalysis.cc:43
Eigenproblem analysis.
Definition: EigenAnalysis.h:78
Vector getModalAccelerations(void) const
Returns the accelerations that correspond to the computed modes.
Definition: ModalAnalysis.cc:59
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
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Vector getEquivalentStaticLoad(int mode) const
Return the equivalent static load for the mode being passed as parameter.
Definition: ModalAnalysis.cc:64
Matrix of floats.
Definition: Matrix.h:108
ModalAnalysis(AnalysisAggregation *analysis_aggregation)
Constructor.
Definition: ModalAnalysis.cc:38
Modal analysis.
Definition: ModalAnalysis.h:42