XC Open source finite element analysis program
BFBRoydenBase.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 //BFBRoydenBase.h
28 
29 #ifndef BFBRoydenBase_h
30 #define BFBRoydenBase_h
31 
32 #include "EquiSolnConvAlgo.h"
33 #include "utility/matrix/Vector.h"
34 
35 namespace XC {
36 
38 //
41  {
42  void libera(void);
43  void alloc(const ConvergenceTest *);
44  protected:
45  ConvergenceTest *localTest;
46  int tangent;
48  std::vector<Vector> s;
49  std::vector<Vector> z;
54 
55  BFBRoydenBase(SoluMethod *,int classTag,int tangent = CURRENT_TANGENT, int n = 10);
56  BFBRoydenBase(SoluMethod *,int classTag,ConvergenceTest &theTest, int tangent= CURRENT_TANGENT, int n=10);
57  public:
58  ~BFBRoydenBase(void);
59 
60  int setConvergenceTest(ConvergenceTest *theNewTest);
61  };
62 } // end of XC namespace
63 
64 #endif
65 
66 
int numberLoops
number of iterations
Definition: BFBRoydenBase.h:47
EquiSolnConvAlgo is a class which performs a Newton-Raphson solution algorihm in solving the equation...
Definition: EquiSolnConvAlgo.h:79
int setConvergenceTest(ConvergenceTest *theNewTest)
Sets convergence test to use with the algorithm.
Definition: BFBRoydenBase.cc:66
Definition: Vector.h:82
Solution procedure for the finite element problem. The solution procedure is definde by specifiying: ...
Definition: SoluMethod.h:76
~BFBRoydenBase(void)
Destructor.
Definition: BFBRoydenBase.cc:62
std::vector< Vector > z
displacement increments
Definition: BFBRoydenBase.h:49
convergence test.
Definition: ConvergenceTest.h:75
??
Definition: BFBRoydenBase.h:40
Vector residNew
residuals
Definition: BFBRoydenBase.h:51
BFBRoydenBase(SoluMethod *, int classTag, int tangent=CURRENT_TANGENT, int n=10)
Constructor.
Definition: BFBRoydenBase.cc:50
std::vector< Vector > s
displacement increments
Definition: BFBRoydenBase.h:48
Vector du
displacement increment
Definition: BFBRoydenBase.h:52
================================================================================
Definition: ContinuaReprComponent.h:34
Vector temp
temporary vector
Definition: BFBRoydenBase.h:53
Vector residOld
residuals
Definition: BFBRoydenBase.h:50