XC Open source finite element analysis program
InternalParamsIn.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 //InternalParamsIn.h
28 
29 #ifndef INTERNALPARAMSIN_H
30 #define INTERNALPARAMSIN_H
31 
32 #include <material/uniaxial/PY/InternalParamsA.h>
33 
34 namespace XC {
36 //
39  {
40  protected:
41  double Rin;
42  double vin;
43  int sendData(CommParameters &);
44  int recvData(const CommParameters &);
45  public:
46  InternalParamsIn(const double &V= 0.0,const double &r= 0.0,const double &t= 0.0,const double &Vin= 0.0,const double &rin= 0.0);
47  inline const double &yin(void) const //Para PySimple1
48  { return vin; }
49  inline double &yin(void) //Para PySimple1
50  { return vin; }
51  inline double &zin(void) //Para QzSimple1
52  { return vin; }
53  inline const double &zin(void) const //Para QzSimple1
54  { return vin; }
55  inline const double &Pin(void) const //Para PySimple1
56  { return Rin; }
57  inline double &Pin(void) //Para PySimple1
58  { return Rin; }
59  inline const double &Qin(void) const //Para QzSimple1
60  { return Rin; }
61  inline double &Qin(void) //Para QzSimple1
62  { return Rin; }
63  inline const double &Tin(void) const //Para TzSimple1
64  { return Rin; }
65  inline double &Tin(void) //Para TzSimple1
66  { return Rin; }
67  void revertToStart(const double &tg);
68  int sendSelf(CommParameters &);
69  int recvSelf(const CommParameters &);
70  };
71 } // end of XC namespace
72 
73 
74 #endif
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: InternalParamsIn.cc:73
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: InternalParamsIn.cc:59
double vin
v (y or z) at start of current plastic loading cycle
Definition: InternalParamsIn.h:42
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: InternalParamsIn.cc:51
InternalParamsIn(const double &V=0.0, const double &r=0.0, const double &t=0.0, const double &Vin=0.0, const double &rin=0.0)
Constructor with data.
Definition: InternalParamsIn.cc:32
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: InternalParamsIn.cc:43
double Rin
R at start of current plastic loading cycle.
Definition: InternalParamsIn.h:41
Internal parameters for a p-y material.
Definition: InternalParamsA.h:38
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
Internal parameters for a p-y material.
Definition: InternalParamsIn.h:38