www.mooseframework.org
ElementUserObjectBasePD.C
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 
11 #include "AuxiliarySystem.h"
12 #include "PeridynamicsMesh.h"
13 
14 template <>
15 InputParameters
17 {
18  InputParameters params = validParams<ElementUserObject>();
19  params.addClassDescription("Base class for peridynamic elemental user objects");
20 
21  return params;
22 }
23 
24 ElementUserObjectBasePD::ElementUserObjectBasePD(const InputParameters & parameters)
25  : ElementUserObject(parameters),
26  _bond_status_var(&_subproblem.getStandardVariable(_tid, "bond_status")),
27  _aux(_fe_problem.getAuxiliarySystem()),
28  _aux_sln(_aux.solution()),
29  _pdmesh(dynamic_cast<PeridynamicsMesh &>(_mesh))
30 {
31 }
PeridynamicsMesh.h
ElementUserObjectBasePD.h
PeridynamicsMesh
Peridynamics mesh class.
Definition: PeridynamicsMesh.h:25
ElementUserObjectBasePD::ElementUserObjectBasePD
ElementUserObjectBasePD(const InputParameters &parameters)
Definition: ElementUserObjectBasePD.C:24
validParams< ElementUserObjectBasePD >
InputParameters validParams< ElementUserObjectBasePD >()
Definition: ElementUserObjectBasePD.C:16