Subversion Repositories OpenSees

Rev

Rev 2721 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2721 Rev 4628
Line 56... Line 56...
56
    const Matrix &getTangent (void);
56
    const Matrix &getTangent (void);
57
    const Matrix &getInitialTangent (void);
57
    const Matrix &getInitialTangent (void);
58
58
59
    const Vector &getStress (void);
59
    const Vector &getStress (void);
60
    const Vector &getStrain (void);
60
    const Vector &getStrain (void);
61
-
 
62
    int setTrialStrain (const Tensor &v);
-
 
63
    int setTrialStrain (const Tensor &v, const Tensor &r);
-
 
64
    int setTrialStrainIncr (const Tensor &v);
-
 
65
    int setTrialStrainIncr (const Tensor &v, const Tensor &r);
-
 
66
    const Tensor &getTangentTensor (void);
-
 
67
    const stresstensor& getStressTensor (void);
-
 
68
    const straintensor& getStrainTensor (void);
-
 
69
   
-
 
70
    // For elastoplastic material model
-
 
71
    int setStressTensor(const Tensor& stressIn);
-
 
72
61
73
    int commitState (void);
62
    int commitState (void);
74
    int revertToLastCommit (void);
63
    int revertToLastCommit (void);
75
    int revertToStart (void);
64
    int revertToStart (void);
76
65
Line 81... Line 70...
81
70
82
    int sendSelf(int commitTag, Channel &theChannel);
71
    int sendSelf(int commitTag, Channel &theChannel);
83
    int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
72
    int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
84
73
85
    void Print(OPS_Stream &s, int flag =0);
74
    void Print(OPS_Stream &s, int flag =0);
86
-
 
87
  //Private functions
-
 
88
  private:
-
 
89
    const Tensor& ComputeElasticStiffness(void);
-
 
90
75
91
  protected:
76
  protected:
92
77
93
  private:
78
  private:
94
    double exp0;                 // exponent usually 0.6
79
    double exp0;                 // exponent usually 0.6
95
    double p_ref;                // Reference pressure, usually atmosphere pressure, i.e. 100kPa
80
    double p_ref;                // Reference pressure, usually atmosphere pressure, i.e. 100kPa
96
    double p_cutoff;             // Cutoff pressure of this material point
81
    double p_cutoff;             // Cutoff pressure of this material point
97
-
 
98
    static stresstensor Stress;  // Stress tensor
-
 
99
    static Tensor Dt;            // Elastic constants tensor
-
 
100
    straintensor Strain;         // Strain tensor
-
 
101
   
-
 
102
    stresstensor CStrain;
-
 
103
    stresstensor CStress;
-
 
104
82
105
    static Vector sigma;
83
    static Vector sigma;
106
    static Matrix D;
84
    static Matrix D;
107
    Vector epsilon;
85
    Vector epsilon;
-
 
86
    Vector Cepsilon;
108
87
109
    double p_n1; // trial pressure
-
 
110
    double p_n; // committed pressure
88
    double p_n; // committed pressure
-
 
89
    double p_n1; // trial pressure
111
};
90
};
112
91
113
#endif
92
#endif
114
93