Go to the documentation of this file.
91 const std::vector<Real> & intnl,
92 std::vector<RankTwoTensor> & df_dstress);
102 const std::vector<Real> & intnl,
103 std::vector<Real> & df_dintnl);
113 const std::vector<Real> & intnl,
114 std::vector<RankFourTensor> & dr_dstress);
123 const std::vector<Real> & intnl,
124 std::vector<RankTwoTensor> & dr_dintnl);
142 const std::vector<Real> & intnl_old,
143 const std::vector<Real> & intnl,
144 const std::vector<Real> & pm,
148 std::vector<std::vector<Real>> & jac);
150 bool dof_included(
unsigned int dof,
const std::vector<bool> & deactivated_due_to_ld);
static InputParameters validParams()
std::vector< Real > _fspb_debug_intnl
Debug the Jacobian entires at these internal parameters.
virtual void fdJacobian(const RankTwoTensor &stress, const std::vector< Real > &intnl_old, const std::vector< Real > &intnl, const std::vector< Real > &pm, const RankTwoTensor &delta_dp, const RankFourTensor &E_inv, bool eliminate_ld, std::vector< std::vector< Real >> &jac)
The Jacobian calculated using finite differences.
MooseEnum _fspb_debug
none - don't do any debugging crash - currently inactive jacobian - check the jacobian entries jacobi...
void fddyieldFunction_dstress(const RankTwoTensor &stress, const std::vector< Real > &intnl, std::vector< RankTwoTensor > &df_dstress)
The finite-difference derivative of yield function(s) with respect to stress.
virtual void fddflowPotential_dintnl(const RankTwoTensor &stress, const std::vector< Real > &intnl, std::vector< RankTwoTensor > &dr_dintnl)
The finite-difference derivative of the flow potentials with respect to internal parameters.
RankTwoTensor _fspb_debug_stress
Debug the Jacobian entries at this stress.
InputParameters validParams< MultiPlasticityDebugger >()
bool dof_included(unsigned int dof, const std::vector< bool > &deactivated_due_to_ld)
Real _fspb_debug_stress_change
Debug finite-differencing parameter for the stress.
MultiPlasticityLinearSystem computes the linear system and handles linear-dependence removal for use ...
std::vector< Real > _fspb_debug_intnl_change
Debug finite-differencing parameters for the internal parameters.
virtual void fddflowPotential_dstress(const RankTwoTensor &stress, const std::vector< Real > &intnl, std::vector< RankFourTensor > &dr_dstress)
The finite-difference derivative of the flow potential(s) with respect to stress.
MultiPlasticityDebugger(const MooseObject *moose_object)
void outputAndCheckDebugParameters()
Outputs the debug parameters: _fspb_debug_stress, _fspd_debug_pm, etc and checks that they are sized ...
std::vector< Real > _fspb_debug_pm
Debug the Jacobian entires at these plastic multipliers.
void checkDerivatives()
Checks the derivatives, eg dyieldFunction_dstress by using finite difference approximations.
MultiPlasticityDebugger computes various finite-difference things to help developers remove bugs in t...
void fddyieldFunction_dintnl(const RankTwoTensor &stress, const std::vector< Real > &intnl, std::vector< Real > &df_dintnl)
The finite-difference derivative of yield function(s) with respect to internal parameter(s)
void checkJacobian(const RankFourTensor &E_inv, const std::vector< Real > &intnl_old)
Checks the full Jacobian, which is just certain linear combinations of the dyieldFunction_dstress,...
void checkSolution(const RankFourTensor &E_inv)
Checks that Ax does equal b in the NR procedure.
std::vector< Real > _fspb_debug_pm_change
Debug finite-differencing parameters for the plastic multipliers.