XC Open source finite element analysis program
InternalParamsLRIn.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 //InternalParamsLRIn.h
28 
29 #ifndef INTERNALPARAMSLRIn_H
30 #define INTERNALPARAMSLRIn_H
31 
32 #include <material/uniaxial/PY/InternalParamsLR.h>
33 
34 namespace XC {
36 //
39  {
40  protected:
41  double RLeft;
42  double RRight;
43  int sendData(CommParameters &);
44  int recvData(const CommParameters &);
45  public:
46  InternalParamsLRIn(const double &V= 0.0,const double &r= 0.0,const double &t= 0.0,const double &yl= 0.0,const double &yr= 0.0,const double &pl= 0.0,const double &pr= 0.0);
47  inline const double &yleftIn(void) const //Para PySimple1
48  { return vLeft; }
49  inline double &yleftIn(void) //Para PySimple1
50  { return vLeft; }
51  inline const double &yrightIn(void) const //Para PySimple1
52  { return vRight; }
53  inline double &yrightIn(void) //Para PySimple1
54  { return vRight; }
55  inline const double &zleftIn(void) const //Para QzSimple1
56  { return vLeft; }
57  inline double &zleftIn(void) //Para QzSimple1
58  { return vLeft; }
59  inline const double &zrightIn(void) const //Para QzSimple1
60  { return vRight; }
61  inline double &zrightIn(void) //Para QzSimple1
62  { return vRight; }
63  inline const double &PleftIn(void) const //Para PySimple1
64  { return RLeft; }
65  inline double &PleftIn(void) //Para PySimple1
66  { return RLeft; }
67  inline const double &PrightIn(void) const //Para PySimple1
68  { return RRight; }
69  inline double &PrightIn(void) //Para PySimple1
70  { return RRight; }
71  inline const double &QleftIn(void) const //Para QzSimple1
72  { return RLeft; }
73  inline double &QleftIn(void) //Para QzSimple1
74  { return RLeft; }
75  inline const double &QrightIn(void) const //Para QzSimple1
76  { return RRight; }
77  inline double &QrightIn(void) //Para QzSimple1
78  { return RRight; }
79  int sendSelf(CommParameters &);
80  int recvSelf(const CommParameters &);
81  };
82 } // end of XC namespace
83 
84 
85 #endif
double vRight
right reference point
Definition: InternalParamsLR.h:42
double RLeft
p at start of current plastic loading cycle - left side
Definition: InternalParamsLRIn.h:41
double RRight
p at start of current plastic loading cycle - right side
Definition: InternalParamsLRIn.h:42
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: InternalParamsLRIn.cc:66
double vLeft
left reference point
Definition: InternalParamsLR.h:41
InternalParamsLRIn(const double &V=0.0, const double &r=0.0, const double &t=0.0, const double &yl=0.0, const double &yr=0.0, const double &pl=0.0, const double &pr=0.0)
Constructor with data.
Definition: InternalParamsLRIn.cc:32
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: InternalParamsLRIn.cc:36
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: InternalParamsLRIn.cc:44
Internal parameters for a p-y material.
Definition: InternalParamsLRIn.h:38
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
Internal parameters for a p-y material.
Definition: InternalParamsLR.h:38
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: InternalParamsLRIn.cc:52