Go to the documentation of this file.
16 #include "petscblaslapack.h"
18 #if PETSC_VERSION_LESS_THAN(3, 5, 0)
19 extern "C" void FORTRAN_CALL(
dgetri)(...);
108 MaterialProperty<std::vector<Real>> &
_intvar;
void FORTRAN_CALL() dgetri(...)
Real _intvar_incr_tol
Tolerance for zero.
virtual void postSolveStress()
This function updates the stress after solve.
SymmElasticityTensor _elasticity
virtual void initVariables()
RateDepSmearCrackModel is the base class for rate dependent continuum damage model.
std::vector< Real > _intvar_tmp
virtual void postSolveVariables()
This function updates the internal variables after solve.
Real _zero_tol
Relative tolerance factor for convergence of the Newton Raphson solve.
const MaterialProperty< SymmTensor > & _stress_undamaged_old
bool _err_tol
Convergence flag.
std::vector< Real > _intvar_incr
RateDepSmearCrackModel(const InputParameters ¶meters)
virtual void updateVariables()
This function updates variables during solve a(i+1) = a(i) + da(i+1)
This class defines a basic set of capabilities any elasticity tensor should have.
MaterialProperty< SymmTensor > & _stress_undamaged
virtual void computeStress(const Elem ¤t_elem, const SymmElasticityTensor &elasticity_tensor, const SymmTensor &stress_old, SymmTensor &strain_increment, SymmTensor &stress_new)
Real _rndm_scale_var
Flag to specify scaling parameter to generate random stress.
InputParameters validParams< RateDepSmearCrackModel >()
virtual ~RateDepSmearCrackModel()
unsigned int _nstate
reference damage rate
virtual void solve()
This function solves the state variables.
std::vector< Real > _dvar
std::vector< Real > _resid
virtual void initQpStatefulProperties()
virtual void calcJacobian()
This function calculates the Jacobian.
std::vector< Real > _intvar_old_tmp
MaterialProperty< std::vector< Real > > & _intvar
Variable value.
virtual void calcResidual()
This function calculates the residual as r = v - v_old - dv.
Real _exponent
Number of state variables.
int matrixInversion(std::vector< Real > &A, int n) const
bool _input_rndm_scale_var
Allowable relative increment size of state variables (dv)
bool getConvergeVar()
This function returns true if convergence is not achieved.
Real _tol
Maximum number of Newton Raphson iteration.
const MaterialProperty< std::vector< Real > > & _intvar_old
virtual void calcStateIncr()
This function calculated thw increment of the state variables (dv) used to form the residual.