https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MechanicsOSPD.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "MechanicsBasePD.h"
13
18{
19public:
21
22 MechanicsOSPD(const InputParameters & parameters);
23
24protected:
25 virtual void computeLocalResidual() override;
26 virtual void computeNonlocalResidual() override;
27
28 virtual void computeLocalJacobian() override;
29 virtual void computeNonlocalJacobian() override;
30
31 void computeLocalOffDiagJacobian(unsigned int /*jvar_num*/,
32 unsigned int coupled_component) override;
33 void computePDNonlocalOffDiagJacobian(unsigned int jvar_num,
34 unsigned int coupled_component) override;
35
44
46 const unsigned int _component;
47};
Base kernel class for peridynamic solid mechanics models.
Kernel class for ordinary state based peridynamic solid mechanics models for small strain.
void computeLocalOffDiagJacobian(unsigned int, unsigned int coupled_component) override
Function to compute local contribution to the off-diagonal Jacobian at the current nodes.
const MaterialProperty< Real > & _bond_nonlocal_force
const MaterialProperty< Real > & _bond_local_dfdU
const MaterialProperty< Real > & _bond_local_dfdT
virtual void computeLocalJacobian() override
const unsigned int _component
The index of displacement component.
virtual void computeNonlocalResidual() override
virtual void computeLocalResidual() override
virtual void computeNonlocalJacobian() override
void computePDNonlocalOffDiagJacobian(unsigned int jvar_num, unsigned int coupled_component) override
Function to compute nonlocal contribution to the off-diagonal Jacobian at the current nodes.
const MaterialProperty< Real > & _bond_nonlocal_dfdU
const MaterialProperty< Real > & _bond_local_force
Bond based material properties.
static InputParameters validParams()
const MaterialProperty< Real > & _bond_nonlocal_dfdT