www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
SolidMechImplicitEuler Class Reference

#include <SolidMechImplicitEuler.h>

Inheritance diagram for SolidMechImplicitEuler:
[legend]

Public Member Functions

 SolidMechImplicitEuler (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 
virtual Real scaling ()
 

Protected Attributes

const VariableValue & _u_old
 
const VariableValue & _u_older
 

Private Attributes

const MaterialProperty< Real > & _density
 
const bool _artificial_scaling_set
 
const Real _artificial_scaling
 

Detailed Description

Definition at line 22 of file SolidMechImplicitEuler.h.

Constructor & Destructor Documentation

◆ SolidMechImplicitEuler()

SolidMechImplicitEuler::SolidMechImplicitEuler ( const InputParameters &  parameters)

Definition at line 25 of file SolidMechImplicitEuler.C.

26  : SecondDerivativeImplicitEuler(parameters),
27  _density(getMaterialProperty<Real>("density")),
28  _artificial_scaling_set(parameters.isParamValid("artificial_scaling")),
29  _artificial_scaling(_artificial_scaling_set ? getParam<Real>("artificial_scaling") : 1)
30 {
31 }
const MaterialProperty< Real > & _density
SecondDerivativeImplicitEuler(const InputParameters &parameters)

Member Function Documentation

◆ computeQpJacobian()

Real SolidMechImplicitEuler::computeQpJacobian ( )
protectedvirtual

Reimplemented from SecondDerivativeImplicitEuler.

Definition at line 40 of file SolidMechImplicitEuler.C.

41 {
43 }
const MaterialProperty< Real > & _density

◆ computeQpResidual()

Real SolidMechImplicitEuler::computeQpResidual ( )
protectedvirtual

Reimplemented from SecondDerivativeImplicitEuler.

Definition at line 34 of file SolidMechImplicitEuler.C.

35 {
37 }
const MaterialProperty< Real > & _density

◆ scaling()

Real SolidMechImplicitEuler::scaling ( )
protectedvirtual

Definition at line 46 of file SolidMechImplicitEuler.C.

Referenced by computeQpJacobian(), and computeQpResidual().

47 {
48  Real factor(_artificial_scaling);
50  {
51  factor *= _dt * _dt / _density[_qp];
52  }
53  return factor;
54 }
const MaterialProperty< Real > & _density

Member Data Documentation

◆ _artificial_scaling

const Real SolidMechImplicitEuler::_artificial_scaling
private

Definition at line 37 of file SolidMechImplicitEuler.h.

Referenced by scaling().

◆ _artificial_scaling_set

const bool SolidMechImplicitEuler::_artificial_scaling_set
private

Definition at line 36 of file SolidMechImplicitEuler.h.

Referenced by scaling().

◆ _density

const MaterialProperty<Real>& SolidMechImplicitEuler::_density
private

Definition at line 35 of file SolidMechImplicitEuler.h.

Referenced by computeQpJacobian(), computeQpResidual(), and scaling().

◆ _u_old

const VariableValue& SecondDerivativeImplicitEuler::_u_old
protectedinherited

◆ _u_older

const VariableValue& SecondDerivativeImplicitEuler::_u_older
protectedinherited

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