NeoPZ
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Private Member Functions | List of all members
TPZTensor< T > Class Template Reference

#include <TPZTensor.h>

Inheritance diagram for TPZTensor< T >:
[legend]
Collaboration diagram for TPZTensor< T >:
[legend]

Classes

struct  TPZDecomposed
 

Public Member Functions

 TPZTensor ()
 
 TPZTensor (const T &Init)
 
 TPZTensor (const TPZTensor< T > &source)
 
 TPZTensor (const TPZDecomposed &eigensystem)
 
int ClassId () const override
 Define the class id associated with the class. More...
 
void Write (TPZStream &buf, int withclassid) const override
 Method to write to a pzstream. More...
 
void Read (TPZStream &buf, void *context) override
 Method to read the object from a pzstream. More...
 
 operator TPZFMatrix< T > () const
 
 TPZTensor (const TPZFMatrix< T > &input)
 
void Print (std::ostream &out) const
 
const TPZTensor< T > & operator= (const TPZTensor< T > &source)
 
const TPZTensor< T > & operator+= (const TPZTensor< T > &source)
 
const TPZTensor< T > & operator-= (const TPZTensor< T > &source)
 
const TPZTensor< T > & operator*= (const T &multipl)
 
TPZTensor< T > operator+ (const TPZTensor< T > &source) const
 
TPZTensor< T > operator- (const TPZTensor< T > &source) const
 
TPZTensor< T > operator* (const T &multipl) const
 
T & operator() (const int64_t row, const int64_t col)
 
T & operator() (const int64_t row, const int64_t col) const
 
template<class TBASE >
void Identity_T (TBASE &)
 
void Identity ()
 
template<class T1 , class T2 >
void Add (const TPZTensor< T1 > &tensor, const T2 &constant)
 
template<class T1 , class T2 >
void Multiply (const T1 &multipl, const T2 &constant)
 
void Multiply (const TPZTensor< T > tensor, TPZTensor< T > &resp) const
 
template<class T2 >
void Scale (const T2 &constant)
 
void Zero ()
 
void EigenVector (TPZVec< TPZVec< T > > &eigVec) const
 
T J2 () const
 
void dJ2 (TPZTensor< T > &Tangent) const
 
T Det () const
 
void dDet (TPZTensor< T > &grad) const
 
T I1 () const
 
T I2 () const
 
T I3 () const
 
T Norm () const
 
void S (TPZTensor< T > &s) const
 
T J3 () const
 
void dJ3 (TPZTensor< T > &deriv) const
 
void Adjust (TPZVec< T > &sigIJ, TPZTensor< T > &result) const
 adjust the tensor to the given values of I1 and sqj2 More...
 
void HaighWestergaard (T &LodeAngle, T &qsi, T &rho) const
 
void HaighWestergaard (T &LodeAngle, T &qsi, T &rho, TPZTensor< T > &dLodeAngle, TPZTensor< T > &dQsi, TPZTensor< T > &dRho) const
 
void ComputeEigenvalues (TPZDecomposed &eigensystem, const bool compute_eigenvectors=false) const
 
void Eigenvalue (TPZTensor< T > &eigenval, TPZTensor< T > &dSigma1, TPZTensor< T > &dSigma2, TPZTensor< T > &dSigma3) const
 
void Lodeangle (TPZTensor< T > &GradLode, T &Lode) const
 
bool IsZeroTensor (T tol=1.e-9) const
 
bool IsDiagonal (T tol=1.e-9) const
 
void EigenSystem (TPZDecomposed &eigensystem) const
 
void EigenSystemJacobi (TPZDecomposed &eigensystem) const
 
T & XX () const
 
T & XY () const
 
T & XZ () const
 
T & YY () const
 
T & YZ () const
 
T & ZZ () const
 
T & operator[] (int i) const
 
template<class T1 >
void CopyTo (TPZTensor< T1 > &target) const
 
void CopyTo (TPZFMatrix< REAL > &target) const
 
void CopyFrom (const TPZFMatrix< T > &source)
 
void CopyToTensor (TPZFMatrix< T > &Tensor) const
 
void SetUp (const TPZVec< REAL > &Solution)
 
void ComputeEigenvectors (TPZDecomposed &eigensystem) const
 
template<>
void Print (std::ostream &output) const
 
template<>
void Print (std::ostream &output) const
 
- Public Member Functions inherited from TPZSavable
 TPZSavable ()
 
virtual ~TPZSavable ()
 
virtual std::list< std::map< std::string, uint64_t > > VersionHistory () const
 
virtual std::pair< std::string, uint64_t > Version () const
 
virtual bool Compare (TPZSavable *copy, bool override=false)
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) const
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
- Public Member Functions inherited from TPZRegisterClassId
template<typename T >
 TPZRegisterClassId (int(T::*)() const)
 
 TPZRegisterClassId ()=default
 

Public Attributes

TPZManVector< T, 6 > fData
 

Protected Member Functions

bool AreEqual (const T &val1, const T &val2, const T tol=T(1.e-9)) const
 
void DirectEigenValues (TPZDecomposed &eigensystem, bool compute_eigenvectors) const
 
void Precondition (REAL &conditionFactor, TPZTensor< T > &A, TPZDecomposed &decomposition) const
 
void ComputeEigenvector0 (const T &eigenvalue, TPZManVector< T, 3 > &eigenvector) const
 
void ComputeEigenvector1 (const TPZManVector< T, 3 > &eigenvector0, const T &eigenvalue1, TPZManVector< T, 3 > &eigenvector1) const
 
void ComputeEigenvectorsInternal (TPZDecomposed &eigensystem) const
 
void EigenProjection (const TPZVec< T > &EigenVals, int index, const TPZVec< int > &DistinctEigenvalues, TPZTensor< T > &Ei) const
 

Static Protected Member Functions

static bool IsZeroVal (const T &val, T tol=1.e-9)
 

Private Member Functions

template<class TBASE >
void DeviatoricDiagonal_T (TPZVec< T > &vec) const
 
void DeviatoricDiagonal (TPZVec< T > &vec) const
 

Additional Inherited Members

- Static Public Member Functions inherited from TPZSavable
static std::set< TPZRestoreClassBase * > & RestoreClassSet ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::map< int, TPZRestore_t > & ClassIdMap ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::pair< std::string, uint64_t > NeoPZVersion ()
 
static void Register (TPZRestoreClassBase *restore)
 
static void RegisterClassId (int classid, TPZRestore_t fun)
 
static TPZSavable * CreateInstance (const int &classId)
 

Detailed Description

template<class T>
class TPZTensor< T >

Classe que implementa o comportamento de um tensor simetrico

Definition at line 42 of file TPZTensor.h.

Constructor & Destructor Documentation

◆ TPZTensor() [1/5]

template<class T>
TPZTensor< T >::TPZTensor ( )
inline

Construtor vazio inicializando com zero

Definition at line 245 of file TPZTensor.h.

◆ TPZTensor() [2/5]

template<class T>
TPZTensor< T >::TPZTensor ( const T &  Init)
inline

Construtor inicializando com Init

Definition at line 251 of file TPZTensor.h.

◆ TPZTensor() [3/5]

template<class T>
TPZTensor< T >::TPZTensor ( const TPZTensor< T > &  source)
inline

Copy Constructor

Definition at line 257 of file TPZTensor.h.

◆ TPZTensor() [4/5]

template<class T>
TPZTensor< T >::TPZTensor ( const TPZDecomposed &  eigensystem)
inline

Construct a tensor based on its eigensystem decomposition

Definition at line 263 of file TPZTensor.h.

◆ TPZTensor() [5/5]

template<class T>
TPZTensor< T >::TPZTensor ( const TPZFMatrix< T > &  input)
inline

Definition at line 296 of file TPZTensor.h.

Member Function Documentation

◆ Add()

template<class T >
template<class T1 , class T2 >
void TPZTensor< T >::Add ( const TPZTensor< T1 > &  tensor,
const T2 &  constant 
)

Adiciona um tensor no tensor atual

Parameters
[in]tensortensor sendo adicionado
[in]constantfator multiplicativo

Definition at line 757 of file TPZTensor.h.

Referenced by TPZMatElastoPlastic< T, TMEM >::ApplyDeltaStrain(), TPZMatElastoPlastic< T, TMEM >::ApplyDeltaStrainComputeDep(), TPZLadeNelsonElasticResponse::ApplyElasticTensor(), TPZPlasticStepPV< YC_t, ER_t >::ApplyLoad(), TPZLadeKim::ApplyLoad(), TPZLadeKim::ApplyStrain(), TPZLadeKim::ApplyStrainComputeDep(), TPZLadeKim::ApplyStrainComputeSigma(), TPZMohrCoulombNeto::CommitDeformation(), TPZMohrCoulombPV::CommitDeformation(), TPZPlasticStep< YC_t, TF_t, ER_t >::ComputePlasticVars(), TPZElasticResponse::ComputeStrain(), TPZElasticResponse::ComputeStress(), TPZPorousElasticResponse::ComputeStress(), TPZTensor< STATE >::EigenSystem(), TPZPlasticStep< YC_t, TF_t, ER_t >::FindPointAtYield(), TPZPlasticTest::GlobalCheckConv(), TPZYCTresca::GradInverseAngle(), TPZYCSandlerDimaggioL2::InitialGuess(), TPZYCSandlerDimaggioL::InitialGuess(), TPZYCSandlerDimaggio::InitialGuess(), TPZPlasticStep< YC_t, TF_t, ER_t >::InitialGuess(), TPZTensor< STATE >::Lodeangle(), TPZYCTresca::N(), TPZYCWillamWarnke::N(), TPZYCModifiedMohrCoulomb::N(), TPZTensor< STATE >::operator()(), TPZLadeKim::Phi(), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticIntegrate(), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticLoop(), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticResidual(), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticResidualRK(), TPZPlasticStep< YC_t, TF_t, ER_t >::ProcessStrain(), TPZPlasticStep< YC_t, TF_t, ER_t >::ProcessStrainNoSubIncrement(), TPZMohrCoulombPV::SigmaElast(), TPZMohrCoulombNeto::SigmaElast(), TPZPlasticStepPV< YC_t, ER_t >::TaylorCheck(), and TPZTensor< STATE >::TPZTensor().

◆ Adjust()

template<class T>
void TPZTensor< T >::Adjust ( TPZVec< T > &  sigIJ,
TPZTensor< T > &  result 
) const
inline

adjust the tensor to the given values of I1 and sqj2

Definition at line 490 of file TPZTensor.h.

Referenced by TPZYCSandlerDimaggioL2::InitialGuess(), TPZYCSandlerDimaggioL::InitialGuess(), and TPZYCSandlerDimaggio::InitialGuess().

◆ AreEqual()

template<class T>
bool TPZTensor< T >::AreEqual ( const T &  val1,
const T &  val2,
const T  tol = T(1.e-9) 
) const
inlineprotected

◆ ClassId()

template<class T>
int TPZTensor< T >::ClassId ( ) const
inlineoverridevirtual

Define the class id associated with the class.

This id has to be unique for all classes A non unique id is flagged at the startup of the program

Implements TPZSavable.

Definition at line 275 of file TPZTensor.h.

◆ ComputeEigenvalues()

template<class T >
void TPZTensor< T >::ComputeEigenvalues ( TPZDecomposed &  eigensystem,
const bool  compute_eigenvectors = false 
) const

◆ ComputeEigenvector0()

template<class T>
void TPZTensor< T >::ComputeEigenvector0 ( const T &  eigenvalue,
TPZManVector< T, 3 > &  eigenvector 
) const
protected

◆ ComputeEigenvector1()

template<class T>
void TPZTensor< T >::ComputeEigenvector1 ( const TPZManVector< T, 3 > &  eigenvector0,
const T &  eigenvalue1,
TPZManVector< T, 3 > &  eigenvector1 
) const
protected

◆ ComputeEigenvectors()

template<class T >
void TPZTensor< T >::ComputeEigenvectors ( TPZDecomposed &  eigensystem) const

Updates the eigen decomposition object, filling the eigenvectors.

Computes the eigen projections if it wasn't done yet.

Parameters
decomposed

Definition at line 1321 of file TPZTensor.h.

Referenced by TPZPlasticStepPV< YC_t, ER_t >::ApplyStrainComputeDep(), TPZTensor< STATE >::EigenSystem(), and TPZTensor< STATE >::operator[]().

◆ ComputeEigenvectorsInternal()

template<class T >
void TPZTensor< T >::ComputeEigenvectorsInternal ( TPZDecomposed &  eigensystem) const
protected

◆ CopyFrom()

template<class T>
void TPZTensor< T >::CopyFrom ( const TPZFMatrix< T > &  source)

◆ CopyTo() [1/2]

template<class T >
template<class T1 >
void TPZTensor< T >::CopyTo ( TPZTensor< T1 > &  target) const

◆ CopyTo() [2/2]

template<class T >
void TPZTensor< T >::CopyTo ( TPZFMatrix< REAL > &  target) const

Copia os valores do tensor no vetor indicado Derivadas sao decartadas

Parameters
[out]targetonde os valores serao copiados

Definition at line 826 of file TPZTensor.h.

◆ CopyToTensor()

template<class T>
void TPZTensor< T >::CopyToTensor ( TPZFMatrix< T > &  Tensor) const

Converts the stress vector onto a symmetric stress tensor

Parameters
Tensor[out]

Definition at line 988 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::EigenProjection(), TPZTensor< STATE >::operator[](), and TPZMatElastoPlastic< T, TMEM >::vectorToTensor().

◆ dDet()

template<class T>
void TPZTensor< T >::dDet ( TPZTensor< T > &  grad) const

Metodo que calcula o determinante do tensor

Metodo que calcula a derivada do determinante do tensor

Definition at line 884 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::operator()().

◆ Det()

template<class T >
T TPZTensor< T >::Det ( ) const

Metodo que calcula o determinante do tensor

Definition at line 875 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::J3(), and TPZTensor< STATE >::operator()().

◆ DeviatoricDiagonal()

template<class T>
void TPZTensor< T >::DeviatoricDiagonal ( TPZVec< T > &  vec) const
private

Definition at line 849 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::operator[]().

◆ DeviatoricDiagonal_T()

template<class T>
template<class TBASE >
void TPZTensor< T >::DeviatoricDiagonal_T ( TPZVec< T > &  vec) const
private

Metodo que calcula a diagonal do tensor deviatorico

Parameters
[out]vecdiagonal

Definition at line 841 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::operator[]().

◆ DirectEigenValues()

template<class T >
void TPZTensor< T >::DirectEigenValues ( TPZDecomposed &  eigensystem,
bool  compute_eigenvectors 
) const
protected

Returns the tensor eigenvalues through an analytical approach

Definition at line 1612 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::AreEqual(), and TPZTensor< STATE >::ComputeEigenvalues().

◆ dJ2()

template<class T>
void TPZTensor< T >::dJ2 ( TPZTensor< T > &  Tangent) const

◆ dJ3()

template<class T>
void TPZTensor< T >::dJ3 ( TPZTensor< T > &  deriv) const

◆ EigenProjection()

template<class T>
void TPZTensor< T >::EigenProjection ( const TPZVec< T > &  EigenVals,
int  index,
const TPZVec< int > &  DistinctEigenvalues,
TPZTensor< T > &  Ei 
) const
protected

Computes the eigenprojections and eigenvalues based on the Geometric Tools code. https://www.geometrictools.com/

Definition at line 1381 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::AreEqual().

◆ EigenSystem()

template<class T >
void TPZTensor< T >::EigenSystem ( TPZDecomposed &  eigensystem) const

◆ EigenSystemJacobi()

template<class T >
void TPZTensor< T >::EigenSystemJacobi ( TPZDecomposed &  eigensystem) const

Computes the eigenvectors and eigenvalues based on Jacobi method

Definition at line 1018 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::IsDiagonal().

◆ Eigenvalue()

template<class T>
void TPZTensor< T >::Eigenvalue ( TPZTensor< T > &  eigenval,
TPZTensor< T > &  dSigma1,
TPZTensor< T > &  dSigma2,
TPZTensor< T > &  dSigma3 
) const

Returns the tensor eigenvalues and derivatives through an analytical approach

Definition at line 1744 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::Adjust(), TPZYCWillamWarnke::Compute(), TPZYCModifiedMohrCoulomb::Compute(), TPZYCModifiedMohrCoulomb::N(), and TPZPlasticTest::WillamWarnkeTest().

◆ EigenVector()

template<class T>
void TPZTensor< T >::EigenVector ( TPZVec< TPZVec< T > > &  eigVec) const

Metodo que calcula os autovetores to tensor

Parameters
[out]eigVecautovetores

Referenced by TPZTensor< STATE >::operator()().

◆ HaighWestergaard() [1/2]

template<class T>
void TPZTensor< T >::HaighWestergaard ( T &  LodeAngle,
T &  qsi,
T &  rho 
) const

Returns the Haigh-Westergaard stress representation

Referenced by TPZTensor< STATE >::Adjust().

◆ HaighWestergaard() [2/2]

template<class T>
void TPZTensor< T >::HaighWestergaard ( T &  LodeAngle,
T &  qsi,
T &  rho,
TPZTensor< T > &  dLodeAngle,
TPZTensor< T > &  dQsi,
TPZTensor< T > &  dRho 
) const

Returns the Haigh-Westergaard stress representation and derivatives

◆ I1()

template<class T >
T TPZTensor< T >::I1 ( ) const

Metodo que calcula o primeiro invariante

Definition at line 903 of file TPZTensor.h.

Referenced by TPZLadeNelsonElasticResponse::ApplyElasticTensor(), TPZMohrCoulombPV::CommitDeformation(), TPZMohrCoulombNeto::CommitDeformation(), TPZYCRankine< T_YCBASE >::Compute(), TPZYCSandlerDimaggioL2::Compute(), TPZYCSandlerDimaggioL::Compute(), TPZYCWillamWarnke::Compute(), TPZYCModifiedMohrCoulomb::Compute(), TPZYCDruckerPrager::Compute(), TPZYCLadeKim::Compute(), TPZYCSandlerDimaggio::Compute(), TPZYCLadeKim::ComputePlasticPotential(), TPZElasticResponse::ComputeStrain(), TPZPorousElasticResponse::ComputeStrain(), TPZElasticResponse::ComputeStress(), TPZPorousElasticResponse::ComputeStress(), TPZLadeNelsonElasticResponse::ComputeYoung(), TPZTensor< STATE >::DeviatoricDiagonal_T(), TPZTensor< STATE >::DirectEigenValues(), TPZTensor< STATE >::dJ2(), TPZPlasticTest::DruckerTest(), TPZTensor< STATE >::Eigenvalue(), TPZPorousElasticResponse::G(), TPZYCSandlerDimaggioL2::H(), TPZYCSandlerDimaggioL::H(), TPZYCSandlerDimaggio::H(), TPZYCSandlerDimaggioL2::InitialGuess(), TPZYCSandlerDimaggioL::InitialGuess(), TPZYCSandlerDimaggio::InitialGuess(), TPZPorousElasticResponse::K(), LKFineSilicaLoadTest(), LKKoCompressionLoadTest(), LKLoadingTest(), TPZPlasticTest::ModifiedMohrCoulombTest(), TPZYCSandlerDimaggioL2::N(), TPZYCSandlerDimaggioL::N(), TPZYCWillamWarnke::N(), TPZYCSandlerDimaggio::N(), TPZYCLadeKim::N(), TPZTensor< STATE >::operator()(), TPZYCDruckerPragerPV::Phi(), TPZYCCamClayPV::Phi(), TPZPorousElasticResponse::Poisson_linearized(), TPZTensor< STATE >::S(), TPZYCLadeKim::SetYieldStatusMode(), TPZMohrCoulombNeto::SigmaElast(), TPZMohrCoulombPV::SigmaElast(), and TPZMatElastoPlastic< T, TMEM >::Solution().

◆ I2()

template<class T >
T TPZTensor< T >::I2 ( ) const

◆ I3()

template<class T >
T TPZTensor< T >::I3 ( ) const

◆ Identity()

template<class T >
void TPZTensor< T >::Identity ( )
inline

◆ Identity_T()

template<class T >
template<class TBASE >
void TPZTensor< T >::Identity_T ( TBASE &  )
inline

Identity Matrix TBASE is needed when 3rd derivatives are of interest. In such cases the FAD promotion fails.

Definition at line 694 of file TPZTensor.h.

Referenced by TPZLadeNelsonElasticResponse::ApplyElasticTensor(), TPZTensor< STATE >::Identity(), and TPZTensor< STATE >::operator()().

◆ IsDiagonal()

template<class T>
bool TPZTensor< T >::IsDiagonal ( T  tol = 1.e-9) const
inline

◆ IsZeroTensor()

template<class T>
bool TPZTensor< T >::IsZeroTensor ( T  tol = 1.e-9) const
inline

Definition at line 534 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::ComputeEigenvalues().

◆ IsZeroVal()

template<class T>
static bool TPZTensor< T >::IsZeroVal ( const T &  val,
T  tol = 1.e-9 
)
inlinestaticprotected

◆ J2()

template<class T >
T TPZTensor< T >::J2 ( ) const

◆ J3()

template<class T >
T TPZTensor< T >::J3 ( ) const

◆ Lodeangle()

template<class T>
void TPZTensor< T >::Lodeangle ( TPZTensor< T > &  GradLode,
T &  Lode 
) const

Computes the Lode angle and its derivatives

Definition at line 1675 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::Adjust(), TPZYCWillamWarnke::Compute(), TPZTensor< STATE >::Eigenvalue(), and TPZYCWillamWarnke::N().

◆ Multiply() [1/2]

template<class T >
template<class T1 , class T2 >
void TPZTensor< T >::Multiply ( const T1 &  multipl,
const T2 &  constant 
)

◆ Multiply() [2/2]

template<class T>
void TPZTensor< T >::Multiply ( const TPZTensor< T >  tensor,
TPZTensor< T > &  resp 
) const

realiza a multiplicacao tradicional entre matrizes

Parameters
[in]tensora ser multiplicado
[out]tensorresposta

Definition at line 775 of file TPZTensor.h.

◆ Norm()

template<class T >
T TPZTensor< T >::Norm ( ) const

◆ operator TPZFMatrix< T >()

template<class T>
TPZTensor< T >::operator TPZFMatrix< T > ( ) const
inline

◆ operator()() [1/2]

template<class T>
T& TPZTensor< T >::operator() ( const int64_t  row,
const int64_t  col 
)
inline

Definition at line 359 of file TPZTensor.h.

◆ operator()() [2/2]

template<class T>
T& TPZTensor< T >::operator() ( const int64_t  row,
const int64_t  col 
) const
inline

Definition at line 367 of file TPZTensor.h.

◆ operator*()

template<class T>
TPZTensor< T > TPZTensor< T >::operator* ( const T &  multipl) const

Operator*

Definition at line 750 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::TPZTensor().

◆ operator*=()

template<class T>
const TPZTensor< T > & TPZTensor< T >::operator*= ( const T &  multipl)

Operator*=

Definition at line 731 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::TPZTensor().

◆ operator+()

template<class T>
TPZTensor< T > TPZTensor< T >::operator+ ( const TPZTensor< T > &  source) const

Operator+

Definition at line 738 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::TPZTensor().

◆ operator+=()

template<class T>
const TPZTensor< T > & TPZTensor< T >::operator+= ( const TPZTensor< T > &  source)

Operator+=

Definition at line 717 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::TPZTensor().

◆ operator-()

template<class T>
TPZTensor< T > TPZTensor< T >::operator- ( const TPZTensor< T > &  source) const

Operator-

Definition at line 744 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::TPZTensor().

◆ operator-=()

template<class T>
const TPZTensor< T > & TPZTensor< T >::operator-= ( const TPZTensor< T > &  source)

Operator-=

Definition at line 724 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::TPZTensor().

◆ operator=()

template<class T>
const TPZTensor< T > & TPZTensor< T >::operator= ( const TPZTensor< T > &  source)

Operator=

Definition at line 711 of file TPZTensor.h.

◆ operator[]()

template<class T>
T& TPZTensor< T >::operator[] ( int  i) const
inline

Definition at line 590 of file TPZTensor.h.

◆ Precondition()

template<class T>
void TPZTensor< T >::Precondition ( REAL &  conditionFactor,
TPZTensor< T > &  A,
TPZDecomposed &  decomposition 
) const
protected

◆ Print() [1/3]

template<class T >
void TPZTensor< T >::Print ( std::ostream &  out) const
inline

◆ Print() [2/3]

template<>
void TPZTensor< TFad< 6, REAL > >::Print ( std::ostream &  output) const
inline

Definition at line 1837 of file TPZTensor.h.

◆ Print() [3/3]

template<>
void TPZTensor< TFad< 9, REAL > >::Print ( std::ostream &  output) const
inline

Definition at line 1842 of file TPZTensor.h.

◆ Read()

template<class T >
void TPZTensor< T >::Read ( TPZStream &  buf,
void *  context 
)
overridevirtual

Method to read the object from a pzstream.

Reimplemented from TPZSavable.

Definition at line 683 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::ClassId(), TPZElastoPlasticMem::Read(), TPZPorousElastoPlasticMem::Read(), TPZElasticResponse::Read(), and TPZPlasticState< STATE >::Read().

◆ S()

template<class T>
void TPZTensor< T >::S ( TPZTensor< T > &  s) const

◆ Scale()

template<class T >
template<class T2 >
void TPZTensor< T >::Scale ( const T2 &  constant)

multiplica um scalar com o tensor atual

Parameters
[in]constantfator multiplicativo

Definition at line 792 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::operator()(), and TPZPlasticStepPV< YC_t, ER_t >::TaylorCheck().

◆ SetUp()

template<class T >
void TPZTensor< T >::SetUp ( const TPZVec< REAL > &  Solution)

Initializa o valor do tensor (tensor de deformacao)

Definition at line 810 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::operator[]().

◆ Write()

template<class T >
void TPZTensor< T >::Write ( TPZStream &  buf,
int  withclassid 
) const
overridevirtual

◆ XX()

template<class T>
T& TPZTensor< T >::XX ( ) const
inline

Mnemonical access

Definition at line 566 of file TPZTensor.h.

Referenced by TPZTensor< T >::TPZDecomposed::ApplyStrainComputeElasticStress(), TPZMohrCoulombNeto::CommitDeformation(), TPZMohrCoulombPV::CommitDeformation(), TPZYCMohrCoulomb::Compute(), TPZYCModifiedMohrCoulomb::Compute(), TPZTensor< STATE >::ComputeEigenvalues(), TPZTensor< STATE >::ComputeEigenvector0(), TPZTensor< STATE >::ComputeEigenvector1(), TPZPorousElasticResponse::ComputeStrain(), TPZElasticResponse::ComputeStress(), TPZPlasticStepPV< YC_t, ER_t >::CopyFromFMatrixToTensor(), TPZPlasticStepPV< YC_t, ER_t >::CopyFromTensorToFMatrix(), TPZTensor< STATE >::CopyToTensor(), TPZPorousElasticResponse::De_G_constant(), TPZPorousElasticResponse::De_Poisson_constant(), TPZTensor< STATE >::DirectEigenValues(), DruckerBiaxialTest(), DruckerIsotropicCompression(), TPZPlasticTest::DruckerPragerTest(), TPZPlasticTest::DruckerTest(), TPZTensor< STATE >::Eigenvalue(), LadeKimTriaxialLooseSand(), LKBiaxialTest(), LKFineSilicaLoadTest(), LKIsotropicCompression(), LKKoCompressionLoadTest(), LKLoadingTest(), TPZPlasticTest::LoadTest(), TPZPlasticTest::ModifiedMohrCoulombTest(), TPZPlasticTest::MohrCoulombTest(), MultiDirectionsMaterialPointTest(), TPZTensor< STATE >::Multiply(), TPZYCRankine< T_YCBASE >::N(), TPZYCSandlerDimaggioL2::N(), TPZYCSandlerDimaggioL::N(), TPZYCModifiedMohrCoulomb::N(), TPZYCDruckerPrager::N(), TPZYCSandlerDimaggio::N(), TPZYCLadeKim::N(), TPZTensor< T >::operator TPZFMatrix< T >(), TPZYCDruckerPragerPV::Phi(), TPZYCCamClayPV::Phi(), TPZPlasticTest::PlasticIntegratorCheck(), TPZTensor< STATE >::Precondition(), TPZTensor< STATE >::Print(), SandlerDimaggioIsotropicCompression(), TPZMatElastoPlastic< T, TMEM >::Solution(), TPZYCSandlerDimaggio::TestSolveL(), TPZPlasticTest::UndocumentedTest3(), TPZPlasticTest::UndocumentedTest4(), TPZPlasticTest::VonMisesTest(), TPZPlasticTest::WillamWarnkeTest(), TPZPorousElasticCriterion::YieldFunction(), TPZYCVonMises::YieldFunction(), TPZYCTresca::YieldFunction(), TPZYCMohrCoulomb::YieldFunction(), TPZYCVonMisesCombTresca::YieldFunction(), TPZYCModifiedMohrCoulomb::YieldFunction(), TPZYCDruckerPrager::YieldFunction(), TPZYCLadeKim::YieldFunction(), TPZElasticCriterion::YieldFunction(), TPZYCWillamWarnke::YieldFunction(), and TPZYCSandlerDimaggio::YieldFunction().

◆ XY()

template<class T>
T& TPZTensor< T >::XY ( ) const
inline

◆ XZ()

template<class T>
T& TPZTensor< T >::XZ ( ) const
inline

◆ YY()

template<class T>
T& TPZTensor< T >::YY ( ) const
inline

Definition at line 578 of file TPZTensor.h.

Referenced by TPZTensor< T >::TPZDecomposed::ApplyStrainComputeElasticStress(), TPZMohrCoulombPV::CommitDeformation(), TPZMohrCoulombNeto::CommitDeformation(), TPZYCMohrCoulomb::Compute(), TPZYCModifiedMohrCoulomb::Compute(), TPZTensor< STATE >::ComputeEigenvalues(), TPZTensor< STATE >::ComputeEigenvector0(), TPZTensor< STATE >::ComputeEigenvector1(), TPZPorousElasticResponse::ComputeStrain(), TPZElasticResponse::ComputeStress(), TPZPlasticStepPV< YC_t, ER_t >::CopyFromFMatrixToTensor(), TPZPlasticStepPV< YC_t, ER_t >::CopyFromTensorToFMatrix(), TPZTensor< STATE >::CopyToTensor(), TPZPorousElasticResponse::De_G_constant(), TPZPorousElasticResponse::De_Poisson_constant(), TPZTensor< STATE >::DirectEigenValues(), DruckerBiaxialTest(), DruckerIsotropicCompression(), TPZPlasticTest::DruckerTest(), TPZTensor< STATE >::Eigenvalue(), LadeKimTriaxialLooseSand(), LKBiaxialTest(), LKFineSilicaLoadTest(), LKIsotropicCompression(), LKKoCompressionLoadTest(), LKLoadingTest(), TPZPlasticTest::ModifiedMohrCoulombTest(), TPZPlasticTest::MohrCoulombTest(), MultiDirectionsMaterialPointTest(), TPZTensor< STATE >::Multiply(), TPZYCRankine< T_YCBASE >::N(), TPZYCSandlerDimaggioL2::N(), TPZYCSandlerDimaggioL::N(), TPZYCModifiedMohrCoulomb::N(), TPZYCDruckerPrager::N(), TPZYCSandlerDimaggio::N(), TPZYCLadeKim::N(), TPZTensor< T >::operator TPZFMatrix< T >(), TPZYCDruckerPragerPV::Phi(), TPZYCCamClayPV::Phi(), TPZPlasticTest::PlasticIntegratorCheck(), TPZTensor< STATE >::Precondition(), TPZTensor< STATE >::Print(), SandlerDimaggioIsotropicCompression(), TPZMatElastoPlastic< T, TMEM >::Solution(), TPZYCSandlerDimaggio::TestSolveL(), TPZPlasticTest::UndocumentedTest3(), TPZPlasticTest::UndocumentedTest4(), TPZPlasticTest::VonMisesTest(), TPZPlasticTest::WillamWarnkeTest(), TPZPorousElasticCriterion::YieldFunction(), TPZYCVonMises::YieldFunction(), TPZYCTresca::YieldFunction(), TPZYCMohrCoulomb::YieldFunction(), TPZYCVonMisesCombTresca::YieldFunction(), TPZYCModifiedMohrCoulomb::YieldFunction(), TPZYCDruckerPrager::YieldFunction(), TPZYCLadeKim::YieldFunction(), TPZElasticCriterion::YieldFunction(), TPZYCWillamWarnke::YieldFunction(), and TPZYCSandlerDimaggio::YieldFunction().

◆ YZ()

template<class T>
T& TPZTensor< T >::YZ ( ) const
inline

◆ Zero()

template<class T >
void TPZTensor< T >::Zero ( )

◆ ZZ()

template<class T>
T& TPZTensor< T >::ZZ ( ) const
inline

Definition at line 586 of file TPZTensor.h.

Referenced by TPZTensor< T >::TPZDecomposed::ApplyStrainComputeElasticStress(), TPZMohrCoulombPV::CommitDeformation(), TPZMohrCoulombNeto::CommitDeformation(), TPZYCMohrCoulomb::Compute(), TPZYCModifiedMohrCoulomb::Compute(), TPZTensor< STATE >::ComputeEigenvalues(), TPZTensor< STATE >::ComputeEigenvector0(), TPZTensor< STATE >::ComputeEigenvector1(), TPZPorousElasticResponse::ComputeStrain(), TPZElasticResponse::ComputeStress(), TPZPlasticStepPV< YC_t, ER_t >::CopyFromFMatrixToTensor(), TPZPlasticStepPV< YC_t, ER_t >::CopyFromTensorToFMatrix(), TPZTensor< STATE >::CopyToTensor(), TPZPorousElasticResponse::De_G_constant(), TPZPorousElasticResponse::De_Poisson_constant(), TPZTensor< STATE >::DirectEigenValues(), DruckerBiaxialTest(), DruckerIsotropicCompression(), TPZPlasticTest::DruckerPragerTest(), TPZPlasticTest::DruckerTest(), TPZTensor< STATE >::Eigenvalue(), LadeKimTriaxialLooseSand(), LKBiaxialTest(), LKFineSilicaLoadTest(), LKIsotropicCompression(), LKKoCompressionLoadTest(), LKLoadingTest(), TPZPlasticTest::MohrCoulombTest(), MultiDirectionsMaterialPointTest(), TPZTensor< STATE >::Multiply(), TPZYCRankine< T_YCBASE >::N(), TPZYCSandlerDimaggioL2::N(), TPZYCSandlerDimaggioL::N(), TPZYCModifiedMohrCoulomb::N(), TPZYCDruckerPrager::N(), TPZYCSandlerDimaggio::N(), TPZYCLadeKim::N(), TPZTensor< T >::operator TPZFMatrix< T >(), TPZYCDruckerPragerPV::Phi(), TPZYCCamClayPV::Phi(), TPZPlasticTest::PlasticIntegratorCheck(), TPZTensor< STATE >::Precondition(), TPZTensor< STATE >::Print(), SandlerDimaggioIsotropicCompression(), TPZMatElastoPlastic< T, TMEM >::Solution(), TPZYCSandlerDimaggio::TestSolveL(), TPZPlasticTest::UndocumentedTest3(), TPZPlasticTest::UndocumentedTest4(), TPZPlasticTest::VonMisesTest(), TPZPlasticTest::WillamWarnkeTest(), TPZPorousElasticCriterion::YieldFunction(), TPZYCVonMises::YieldFunction(), TPZYCTresca::YieldFunction(), TPZYCMohrCoulomb::YieldFunction(), TPZYCVonMisesCombTresca::YieldFunction(), TPZYCModifiedMohrCoulomb::YieldFunction(), TPZYCDruckerPrager::YieldFunction(), TPZYCLadeKim::YieldFunction(), TPZElasticCriterion::YieldFunction(), TPZYCWillamWarnke::YieldFunction(), and TPZYCSandlerDimaggio::YieldFunction().

Member Data Documentation

◆ fData

template<class T>
TPZManVector<T, 6> TPZTensor< T >::fData

Dados do tensor

Definition at line 652 of file TPZTensor.h.

Referenced by TPZTensor< STATE >::Add(), TPZMatElastoPlastic< T, TMEM >::CheckConvergence(), TPZPlasticStep< YC_t, TF_t, ER_t >::ComputeDep(), TPZMatElastoPlastic< T, TMEM >::ComputeStrainVector(), TPZYCTrescaRegularized::ComputeTangent(), TPZYCTresca::ComputeTangent(), TPZYCDruckerPrager::ComputeTangent(), TPZYCSandlerDimaggio::ComputeTangent(), TPZTensor< STATE >::dDet(), TPZTensor< STATE >::dJ2(), TPZTensor< STATE >::dJ3(), TPZLadeNelsonElasticResponse::ExtractTangent(), TPZPlasticTest::GlobalCheckConv(), TPZTensor< STATE >::IsZeroTensor(), TPZYCTrescaRegularized::LoadState(), TPZPlasticTest::LoadState(), TPZYCMohrCoulomb::LoadState(), TPZYCTresca::LoadState(), TPZYCDruckerPrager::LoadState(), TPZYCSandlerDimaggio::LoadState(), TPZPlasticTest::LoadTest(), TPZTensor< STATE >::Multiply(), TPZTensor< STATE >::operator()(), TPZTensor< STATE >::operator+=(), TPZTensor< STATE >::operator-=(), TPZTensor< STATE >::operator=(), TPZTensor< STATE >::operator[](), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticResidual(), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticResidualRK(), TPZTensor< STATE >::Precondition(), TPZPlasticStep< YC_t, TF_t, ER_t >::ProcessLoad(), TPZPlasticStep< YC_t, TF_t, ER_t >::ProcessStrainNoSubIncrement(), TPZTensor< STATE >::S(), TPZLadeNelsonElasticResponse::SolveSigma(), TPZPlasticTest::StrainTest(), TPZPlasticTest::StressTest(), TPZTensor< STATE >::TPZTensor(), TPZPlasticTest::UndocumentedTest2(), TPZPlasticTest::UndocumentedTest4(), TPZPlasticStep< YC_t, TF_t, ER_t >::UpdatePlasticVars(), TPZTensor< STATE >::XX(), TPZTensor< STATE >::XY(), TPZTensor< STATE >::XZ(), TPZTensor< STATE >::YY(), TPZTensor< STATE >::YZ(), and TPZTensor< STATE >::ZZ().


The documentation for this class was generated from the following file: