Go to the documentation of this file.
21 params.addClassDescription(
"Class for calculating residual from heat source for bond-based "
22 "peridynamic heat conduction formulation");
24 params.addRequiredParam<FunctionName>(
"power_density",
"Volumetric heat source density");
38 for (
unsigned int i = 0; i <
_nnodes; ++i)
InputParameters validParams< PeridynamicsKernelBase >()
registerMooseObject("PeridynamicsApp", HeatSourceBPD)
InputParameters validParams< HeatSourceBPD >()
HeatSourceBPD(const InputParameters ¶meters)
Kernel class to implement hear source term for peridynamic heat conduction models.
const unsigned int _nnodes
virtual void computeLocalResidual() override
Function to compute local contribution to the residual at the current nodes.
Base kernel class for peridynamic models.
PeridynamicsMesh & _pdmesh
Parameters for peridynamic mesh information.
std::vector< dof_id_type > getNeighbors(dof_id_type node_id)
Function to return neighbor nodes indices for node node_id.
const Function & _power_density
Power density function.
std::vector< Real > _vols_ij