XC Open source finite element analysis program
TzSimple1Gen.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 //$Revision: 1.4 $
28 //$Date: 2004/06/30 00:27:40 $
29 //$Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/PY/TzSimple1Gen.h,v $
30 
31 #include "Simple1GenBase.h"
32 
33 namespace XC {
35 //
38  {
39  // Variables used for reading input files:
40  int NumTzEle, NPile, NumMt, NumMtLoadSp;
41  double p, zground, TULT, Z50, ca, delta, Sa;
42  int *TzEleNum, *TzNode1, *TzNode2, *TzMat, *TzDir; // Arrays for Py Elements File
43  int *tzType;
44  double *p_t, *p_b, *ca_t, *ca_b, *delta_t, *delta_b,
45  *zMt_t, *zMt_b, *mt_val_t, *mt_val_b, tribcoord[2], *Sa_b, *Sa_t,
46  *tult_t, *tult_b, *z50_t, *z50_b;
47 
48  // Member functions for reading input files:
49  void GetTzElements(const std::string &file);
50  void GetSoilProperties(const std::string &file);
51  double GetTult(const std::string &type);
52  double GetZ50(const std::string &type);
53  double GetMt(double *vx, double *vy, double x, int length);
54  void GetTributaryCoordsTz(int nodenum1);
55  void GetTributaryCoordsPile(int nodenum1);
56 
57  void libera(void);
58  // Member functions for generating output:
59  void GetTzSimple1(const std::string &file1,const std::string &file2,const std::string &file3,const std::string &file4, const std::string &file5);
60  void GetPattern(const std::string &file6);
61 
62  // Member functions for calculating tult:
63  double GetVStress(double z);
64 
65  public:
66 
67  void WriteTzSimple1(const std::string &file1, const std::string &file2, const std::string &file3, const std::string &file4, const std::string &file5);
68  void WriteTzSimple1(const std::string &file1, const std::string &file2, const std::string &file3, const std::string &file4, const std::string &file5, const std::string &file6);
69 
70  TzSimple1Gen();
71  ~TzSimple1Gen();
72 };
73 } // end of XC namespace
??.
Definition: TzSimple1Gen.h:37
??.
Definition: Simple1GenBase.h:37
================================================================================
Definition: ContinuaReprComponent.h:34