Base kernel class for peridynamic models. More...
#include <PeridynamicsKernelBase.h>
Public Member Functions | |
PeridynamicsKernelBase (const InputParameters ¶meters) | |
virtual void | computeResidual () override |
virtual void | computeJacobian () override |
virtual Real | computeQpResidual () override |
Protected Member Functions | |
virtual void | computeLocalResidual ()=0 |
Function to compute local contribution to the residual at the current nodes. More... | |
virtual void | computeNonlocalResidual () |
Function to compute nonlocal contribution to the residual at the current nodes. More... | |
virtual void | computeLocalJacobian () |
Function to compute local contribution to the diagonal Jacobian at the current nodes. More... | |
virtual void | prepare () |
Function to precalculate data which will be used in the derived classes. More... | |
Protected Attributes | |
MooseVariable * | _bond_status_var |
Bond_status variable. More... | |
const bool | _use_full_jacobian |
Option to use full jacobian including nonlocal constribution or not. More... | |
RealGradient | _origin_vec_ij |
Vector for current bond under undefored configuration. More... | |
Real | _bond_status_ij |
Bond status of current bond/edge2. More... | |
PeridynamicsMesh & | _pdmesh |
Parameters for peridynamic mesh information. More... | |
const unsigned int | _dim |
const unsigned int | _nnodes |
std::vector< Real > | _vols_ij |
std::vector< Real > | _dg_vol_frac_ij |
std::vector< Real > | _horiz_rad |
Base kernel class for peridynamic models.
Definition at line 25 of file PeridynamicsKernelBase.h.
PeridynamicsKernelBase::PeridynamicsKernelBase | ( | const InputParameters & | parameters | ) |
Definition at line 29 of file PeridynamicsKernelBase.C.
|
overridevirtual |
Definition at line 87 of file PeridynamicsKernelBase.C.
|
inlineprotectedvirtual |
Function to compute local contribution to the diagonal Jacobian at the current nodes.
Reimplemented in HeatConductionBPD.
Definition at line 48 of file PeridynamicsKernelBase.h.
Referenced by computeJacobian().
|
protectedpure virtual |
Function to compute local contribution to the residual at the current nodes.
Implemented in HeatConductionBPD, and HeatSourceBPD.
Referenced by computeResidual().
|
inlineprotectedvirtual |
Function to compute nonlocal contribution to the residual at the current nodes.
Definition at line 43 of file PeridynamicsKernelBase.h.
Referenced by computeResidual().
|
inlineoverridevirtual |
Definition at line 32 of file PeridynamicsKernelBase.h.
|
overridevirtual |
Definition at line 60 of file PeridynamicsKernelBase.C.
|
protectedvirtual |
Function to precalculate data which will be used in the derived classes.
Definition at line 43 of file PeridynamicsKernelBase.C.
Referenced by computeJacobian(), computeResidual(), and MechanicsBasePD::prepare().
|
protected |
Bond status of current bond/edge2.
Definition at line 74 of file PeridynamicsKernelBase.h.
Referenced by HeatConductionBPD::computeLocalJacobian(), HeatConductionBPD::computeLocalResidual(), and prepare().
|
protected |
Bond_status variable.
Definition at line 56 of file PeridynamicsKernelBase.h.
Referenced by prepare().
|
protected |
Definition at line 66 of file PeridynamicsKernelBase.h.
Referenced by prepare().
|
protected |
Definition at line 63 of file PeridynamicsKernelBase.h.
|
protected |
Definition at line 67 of file PeridynamicsKernelBase.h.
Referenced by prepare().
|
protected |
Definition at line 64 of file PeridynamicsKernelBase.h.
Referenced by HeatSourceBPD::computeLocalResidual(), computeResidual(), and prepare().
|
protected |
Vector for current bond under undefored configuration.
Definition at line 71 of file PeridynamicsKernelBase.h.
Referenced by prepare().
|
protected |
Parameters for peridynamic mesh information.
Definition at line 62 of file PeridynamicsKernelBase.h.
Referenced by HeatSourceBPD::computeLocalResidual(), and prepare().
|
protected |
Option to use full jacobian including nonlocal constribution or not.
Definition at line 59 of file PeridynamicsKernelBase.h.
Referenced by computeJacobian().
|
protected |
Definition at line 65 of file PeridynamicsKernelBase.h.
Referenced by HeatSourceBPD::computeLocalResidual(), and prepare().