Revision 496c81a5c6e53a04073e11a4b96c85024abea7a3 authored by Thomas Poulet on 05 June 2019, 12:49:37 UTC, committed by GitHub on 05 June 2019, 12:49:37 UTC
use const Function
RedbackMechMaterialElastic.C
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* REDBACK - Rock mEchanics with Dissipative feedBACKs */
/* */
/* (c) 2014 CSIRO and UNSW Australia */
/* ALL RIGHTS RESERVED */
/* */
/* Prepared by CSIRO and UNSW Australia */
/* */
/* See COPYRIGHT for full restrictions */
/****************************************************************/
#include "RedbackMechMaterialElastic.h"
registerMooseObject("RedbackApp", RedbackMechMaterialElastic);
template <>
InputParameters
validParams<RedbackMechMaterialElastic>()
{
InputParameters params = validParams<RedbackMechMaterial>();
return params;
}
RedbackMechMaterialElastic::RedbackMechMaterialElastic(const InputParameters & parameters)
: RedbackMechMaterial(parameters)
{
}
void
RedbackMechMaterialElastic::returnMap(
const RankTwoTensor & sig_old,
const RankTwoTensor & delta_d,
const RankFourTensor & E_ijkl,
RankTwoTensor & dp, // Plastic rate of deformation tensor in unrotated configuration
RankTwoTensor & sig,
Real & /*p_y*/,
Real & /*q_y*/)
{
sig = sig_old + E_ijkl * delta_d;
dp.zero();
}
void
RedbackMechMaterialElastic::getFlowTensor(const RankTwoTensor & /*sig*/,
Real /*q*/,
Real /*p*/,
Real /*q_y*/,
Real /*p_y*/,
Real /*yield_stress*/,
RankTwoTensor & /*flow_tensor_dev*/)
{
}
Real RedbackMechMaterialElastic::getFlowIncrement(
Real /*sig_eqv*/, Real /*p*/, Real /*q_y*/, Real /*p_y*/, Real /*yield_stress*/)
{
return 0;
}
void
RedbackMechMaterialElastic::getJac(const RankTwoTensor & /*sig*/,
const RankFourTensor & /*E_ijkl*/,
Real /*flow_incr_dev*/,
Real /*q*/,
Real /*p*/,
Real /*p_y*/,
Real /*q_y*/,
Real /*yield_stress*/,
RankFourTensor & /*dresid_dsig*/)
{
}
void
RedbackMechMaterialElastic::get_py_qy(Real /*p*/,
Real /*q*/,
Real & /*p_y*/,
Real & /*q_y*/,
Real /*yield_stress*/,
bool & /*is_plastic*/)
{
mooseError("RedbackMechMaterialElastic::get_py_qy should not get called");
}
Computing file changes ...