xc
LinearBucklingEigenAnalysis.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 //LinearBucklingEigenAnalysis.h
29 
30 
31 #ifndef LinearBucklingEigenAnalysis_h
32 #define LinearBucklingEigenAnalysis_h
33 
34 #include <solution/analysis/analysis/EigenAnalysis.h>
35 
36 namespace XC {
37  class Vector;
38  class LinearBucklingAlgo;
39  class ArpackSOE;
40 
42 //
45  {
46  protected:
47  friend class SolutionProcedure;
48  friend class LinearBucklingAnalysis;
49  LinearBucklingEigenAnalysis(SolutionStrategy *analysis_aggregation);
50  Analysis *getCopy(void) const;
51  public:
52 
53  virtual int setupPreviousStep(void);
54 
55  virtual int setAlgorithm(LinearBucklingAlgo &theAlgo);
56  virtual int setIntegrator(LinearBucklingIntegrator &theIntegrator);
57  virtual int setEigenSOE(ArpackSOE &theSOE);
58  virtual const double &getEigenvalue(int mode) const;
59  boost::python::list getEigenvaluesPy(void) const;
60  };
61 } // end of XC namespace
62 
63 #endif
64 
boost::python::list getEigenvaluesPy(void) const
Returns a Python list with the computed eigenvectors as lists.
Definition: LinearBucklingEigenAnalysis.cc:96
Algorithm for linear buckling analysis.
Definition: LinearBucklingAlgo.h:79
Base class for the object that perform the analysis.
Definition: Analysis.h:117
Analysis * getCopy(void) const
Virtual constructor.
Definition: LinearBucklingEigenAnalysis.cc:45
virtual int setAlgorithm(LinearBucklingAlgo &theAlgo)
Sets the algorithm to use in the analysis.
Definition: LinearBucklingEigenAnalysis.cc:75
virtual int setupPreviousStep(void)
Performs the analysis.
Definition: LinearBucklingEigenAnalysis.cc:49
Eigenproblem analysis.
Definition: EigenAnalysis.h:79
Linear buckling analysis.
Definition: LinearBucklingAnalysis.h:55
LinearBucklingIntegrator is an algorithmic class for setting up the finite element equations for a li...
Definition: LinearBucklingIntegrator.h:49
Solution procedure for the finite element problem.
Definition: SolutionProcedure.h:57
virtual int setIntegrator(LinearBucklingIntegrator &theIntegrator)
Sets the integrator to use in the analysis.
Definition: LinearBucklingEigenAnalysis.cc:79
Eigenvalue analysis for linear buckling analysis (used inside an StaticAnalysis). ...
Definition: LinearBucklingEigenAnalysis.h:44
Solution strategy for the finite element problem.
Definition: SolutionStrategy.h:94
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Arpack++ based system of equations.
Definition: ArpackSOE.h:40
virtual const double & getEigenvalue(int mode) const
Returns the eigenvalue that corresponds to given mode.
Definition: LinearBucklingEigenAnalysis.cc:87
LinearBucklingEigenAnalysis(SolutionStrategy *analysis_aggregation)
Constructor.
Definition: LinearBucklingEigenAnalysis.cc:41
virtual int setEigenSOE(ArpackSOE &theSOE)
Sets the system of eigenvalues to use in the analysis.
Definition: LinearBucklingEigenAnalysis.cc:83