XC Open source finite element analysis program
MovableMatrices.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 //MovableMatrices
28 
29 
30 #ifndef MovableMatrices_h
31 #define MovableMatrices_h
32 
33 #include "utility/actor/actor/MovableObject.h"
34 #include "utility/matrix/Matrix.h"
35 #include <vector>
36 
37 namespace XC {
38 
40 //
43  {
44  protected:
45  std::vector<Matrix> &vectores;
46  public:
47  explicit MovableMatrices(std::vector<Matrix> &);
48 
49  void setMatrices(const std::vector<Matrix> &);
50  const std::vector<Matrix> &getMatrices(void) const
51  { return vectores; }
52 
53  virtual int sendSelf(CommParameters &);
54  virtual int recvSelf(const CommParameters &);
55  };
56 
57 } // end of XC namespace
58 
59 #endif
60 
MovableMatrices(std::vector< Matrix > &)
Constructor.
Definition: MovableMatrices.cc:38
Object that can move between processes.
Definition: MovableObject.h:91
Matrices that can move between objects.
Definition: MovableMatrices.h:42
virtual int sendSelf(CommParameters &)
Envia el vector through the channel being passed as parameter.
Definition: MovableMatrices.cc:42
virtual int recvSelf(const CommParameters &)
Recibe el vector through the channel being passed as parameter.
Definition: MovableMatrices.cc:59
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34