9 template <
class T_YCBASE>
22 enum {
NYield = 1 + T_YCBASE::NYield};
26 return "TPZYCRankine<>";
79 T_YCBASE::Write(buf,withclassid);
84 T_YCBASE::Read(buf,context);
106 template <
class T_YCBASE>
110 T_YCBASE::Compute(sigma, A, result, checkForcedYield);
118 T sqrtJ232 = J2 * sqrtJ2;
121 T value = J3 / sqrtJ232 * T(
sqrt(27.)/2.);
122 theta =
acos( value / T(3.) );
126 result[T_YCBASE::NYield] = value;
136 template <
class T_YCBASE>
140 T_YCBASE::N(sigma, A, Ndir, checkForcedYield);
144 NRankine.
XX() = T(0.);
145 NRankine.
YY() = T(0.);
146 NRankine.
ZZ() = T(0.);
147 NRankine.
XY() = T(0.);
148 NRankine.
XZ() = T(0.);
149 NRankine.
YZ() = T(0.);
150 Ndir[T_YCBASE::NYield] = NRankine;
154 template <
class T_YCBASE>
158 h[T_YCBASE::NYield] = 0.;
161 template <
class T_YCBASE>
163 return Hash(
"TPZYCRankine") ^ T_YCBASE::ClassId() << 1;
165 #endif //TPZYCRANKINE_H
void N(const TPZTensor< T > &sigma, const T &A, TPZVec< TPZTensor< T > > &Ndir, int checkForcedYield=0) const
Contains definitions to LOGPZ_DEBUG, LOGPZ_INFO, LOGPZ_WARN, LOGPZ_ERROR and LOGPZ_FATAL, and the implementation of the inline InitializePZLOG(string) function using log4cxx library or not. It must to be called out of "#ifdef LOG4CXX" scope.
const char * Name() const
void Compute(const TPZTensor< T > &sigma, const T &A, TPZVec< T > &result, int checkForcedYield=0) const
clarg::argBool h("-h", "help message", false)
This class implements a simple vector storage scheme for a templated class T. Utility.
void Read(TPZStream &buf, void *context=0) override
void H(const TPZTensor< T > &sigma, const T &A, TPZVec< T > &h, int checkForcedYield=0) const
expr_ expr_ expr_ expr_ acos
virtual void Write(const bool val)
int ClassId() const override
expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ sqrt
void Write(TPZStream &buf, int withclassid=0) const override
int32_t Hash(std::string str)
Defines the interface for saving and reading data. Persistency.
void AlphaMultiplier(const T &A, T &multiplier) const
TPZFlopCounter cos(const TPZFlopCounter &orig)
Returns the cosine in radians and increments the counter of the Cosine.
virtual void Read(bool &val)
void SetUpRankine(const REAL &YieldT)