https://mooseframework.inl.gov
ElementUserObjectBasePD.C
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 
11 #include "AuxiliarySystem.h"
12 #include "PeridynamicsMesh.h"
13 
16 {
18  params.addClassDescription("Base class for peridynamic elemental user objects");
19 
20  return params;
21 }
22 
24  : ElementUserObject(parameters),
25  _bond_status_var(&_subproblem.getStandardVariable(_tid, "bond_status")),
26  _aux(_fe_problem.getAuxiliarySystem()),
27  _pdmesh(dynamic_cast<PeridynamicsMesh &>(_mesh)),
28  _nnodes(2)
29 {
30 }
static InputParameters validParams()
static InputParameters validParams()
Peridynamics mesh class.
ElementUserObjectBasePD(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)