www.mooseframework.org
RBMPresetOldValuePD.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "DirichletBCBase.h"
13 #include "PeridynamicsMesh.h"
14 
16 
17 template <>
18 InputParameters validParams<RBMPresetOldValuePD>();
19 
24 class RBMPresetOldValuePD : public DirichletBCBase
25 {
26 public:
27  RBMPresetOldValuePD(const InputParameters & parameters);
28 
29  virtual Real computeQpValue() override;
30  virtual bool shouldApply() override;
31 
32 protected:
35 
37  const VariableValue & _u_old;
38 
40  MooseVariable * _bond_status_var;
41 };
RBMPresetOldValuePD::_u_old
const VariableValue & _u_old
Value of the unknown variable this BC is acting on at last time step.
Definition: RBMPresetOldValuePD.h:37
RBMPresetOldValuePD::shouldApply
virtual bool shouldApply() override
Definition: RBMPresetOldValuePD.C:43
RBMPresetOldValuePD::RBMPresetOldValuePD
RBMPresetOldValuePD(const InputParameters &parameters)
Definition: RBMPresetOldValuePD.C:28
RBMPresetOldValuePD::_bond_status_var
MooseVariable * _bond_status_var
AuxVariable for number of intact bonds associated with each material point.
Definition: RBMPresetOldValuePD.h:40
validParams< RBMPresetOldValuePD >
InputParameters validParams< RBMPresetOldValuePD >()
Definition: RBMPresetOldValuePD.C:16
RBMPresetOldValuePD::_pdmesh
PeridynamicsMesh & _pdmesh
Peridynamic mesh.
Definition: RBMPresetOldValuePD.h:34
PeridynamicsMesh.h
PeridynamicsMesh
Peridynamics mesh class.
Definition: PeridynamicsMesh.h:25
RBMPresetOldValuePD::computeQpValue
virtual Real computeQpValue() override
Definition: RBMPresetOldValuePD.C:37
RBMPresetOldValuePD
Class to apply preset BC of old variable solution based on the singularity of nodal shape tensor.
Definition: RBMPresetOldValuePD.h:24