https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GeneralUserObjectBasePD.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 "PeridynamicsMesh.h"
12
15{
17 params.addClassDescription("Base class for peridynamics general userobjects");
18
19 return params;
20}
21
23 : GeneralUserObject(parameters),
24 _mesh(_subproblem.mesh()),
25 _pdmesh(dynamic_cast<PeridynamicsMesh &>(_mesh)),
26 _dim(_pdmesh.dimension()),
27 _aux(_fe_problem.getAuxiliarySystem()),
28 _bond_status_var(&_subproblem.getStandardVariable(_tid, "bond_status")),
29 _nnodes(2)
30{
31}
GeneralUserObjectBasePD(const InputParameters &parameters)
static InputParameters validParams()
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
Peridynamics mesh class.
MeshBase & mesh