XC Open source finite element analysis program
AggregatorAdditions.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 //AggregatorAdditions.h
28 //deque de pointers (se emplear en la clase Set).
29 
30 
31 #ifndef AGGREGATORADDITIONS_H
32 #define AGGREGATORADDITIONS_H
33 
34 #include <material/uniaxial/DqUniaxialMaterial.h>
35 #include "material/section/ResponseId.h"
36 
37 namespace XC {
38 
39 class ResponseId;
40 
42 //
46  {
47  ResponseId matCodes;
48  protected:
49  int sendData(CommParameters &);
50  int recvData(const CommParameters &);
51 
52  public:
53  AggregatorAdditions(EntCmd *owner= nullptr);
54  AggregatorAdditions(EntCmd *owner,const UniaxialMaterial &,int c);
58 
59  inline bool check_ptrs(void) const
60  { return !matCodes.Nulo(); }
61 
62  void putMatCodes(const ResponseId &codes);
63 
64  void getType(ResponseId &retval,const size_t &offset) const;
65 
66  int sendSelf(CommParameters &);
67  int recvSelf(const CommParameters &);
68 
69  void Print(std::ostream &s, int flag =0) const;
70 
71  };
72 
73 } //end of XC namespace
74 #endif
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: AggregatorAdditions.cc:88
pointers to UniaxialMaterial with the degree of freedom associated to each of them (used in SectionAg...
Definition: AggregatorAdditions.h:45
AggregatorAdditions(EntCmd *owner=nullptr)
Constructor.
Definition: AggregatorAdditions.cc:36
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: AggregatorAdditions.cc:96
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: AggregatorAdditions.cc:110
Stiffness material contribution response identifiers.
Definition: ResponseId.h:60
Contenedor de pointers to UniaxialMaterial.
Definition: DqUniaxialMaterial.h:44
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: AggregatorAdditions.cc:80
Base class for force deformation section models. Constitutive equations of the section.
Definition: SectionForceDeformation.h:86
void Print(std::ostream &s, int flag=0) const
Imprime el objeto.
Definition: AggregatorAdditions.cc:73
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
~AggregatorAdditions(void)
Destructor.
Definition: AggregatorAdditions.cc:57
void getType(ResponseId &retval, const size_t &offset) const
Response identifiers for material stiffness contributions.
Definition: AggregatorAdditions.cc:65
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88