https://mooseframework.inl.gov
MechanicsMaterialBasePD.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 
13 
18 {
19 public:
21 
23 
24 protected:
29 
33  virtual void computeBondStretch() = 0;
34 
36  const bool _has_temp;
39 
42 
47 
49  std::vector<MooseVariable *> _disp_var;
50 
53 };
MooseVariable * _bond_status_var
Bond_status variable.
const bool _has_temp
Temperature variables.
Base class for peridynamics material models.
MaterialProperty< Real > & _total_stretch
Material properties to store.
std::vector< MooseVariable * > _disp_var
Displacement variables.
Real _current_len
Length of current bond.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MechanicsMaterialBasePD(const InputParameters &parameters)
virtual void computeBondStretch()=0
Function to compute current bond stretch: one dimensional strain.
const InputParameters & parameters() const
static InputParameters validParams()
void computeBondCurrentLength()
Function to compute the current bond length.
Base material class for peridynamic solid mechanics models.
MaterialProperty< Real > & _mechanical_stretch