XC Open source finite element analysis program
HandlerRecorder.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 //HandlerRecorder.h
28 
29 #ifndef HandlerRecorder_h
30 #define HandlerRecorder_h
31 
32 #include <utility/recorder/DomainRecorderBase.h>
33 
34 namespace XC {
35 class Domain;
36 class DataOutputHandler;
37 
39 //
43  {
44  protected:
46  bool initializationDone;
47  bool echoTimeFlag; // flag indicating whether time to be included in o/p
48  protected:
49  int sendData(CommParameters &);
50  int receiveData(const CommParameters &);
51 
52  public:
53  HandlerRecorder(int classTag);
54  HandlerRecorder(int classTag, Domain &theDomain, DataOutputHandler &theOutputHandler,bool timeFlag);
56 
57  };
58 } // end of XC namespace
59 
60 #endif
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
int sendData(CommParameters &)
Sends objet through the communicator being passed as parameter.
Definition: HandlerRecorder.cc:45
Recording of domain information.
Definition: DomainRecorderBase.h:40
int receiveData(const CommParameters &)
Receives objet through the communicator being passed as parameter.
Definition: HandlerRecorder.cc:54
void SetOutputHandler(DataOutputHandler *tH)
Sets de data output handler.
Definition: HandlerRecorder.cc:40
DataOutputHandler * theHandler
Output handler (TO DEPRECATE).
Definition: HandlerRecorder.h:45
Definition: DataOutputHandler.h:61
Communication parameters between processes.
Definition: CommParameters.h:65
Base class for recorders that get the response of one or more nodes during the analysis.
Definition: HandlerRecorder.h:42
================================================================================
Definition: ContinuaReprComponent.h:34