https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BondStatusConvergedPostprocessorPD.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
13
16{
19 "Postprocessor to check whether the bond status is converged within a time step");
20
21 return params;
22}
23
25 const InputParameters & parameters)
26 : ElementPostprocessor(parameters),
27 _bond_status_var(&_subproblem.getStandardVariable(_tid, "bond_status")),
28 _pdmesh(dynamic_cast<PeridynamicsMesh &>(_mesh)),
29 _dim(_pdmesh.dimension())
30{
31}
32
33void
38
39void
46
47Real
52
53void
58
59void
registerMooseObject("PeridynamicsApp", BondStatusConvergedPostprocessorPD)
Postprocessor to commpute the number of bonds whose stataus has changed in the most update.
virtual void threadJoin(const UserObject &uo) override
MooseVariable * _bond_status_var
Bond status aux variable.
BondStatusConvergedPostprocessorPD(const InputParameters &parameters)
unsigned int _num_bond_status_updated
total number of times bond_status updated
static InputParameters validParams()
const Elem *const & _current_elem
void addClassDescription(const std::string &doc_string)
DofValue getElementalValue(const Elem *elem, unsigned int idx=0) const
DofValue getElementalValueOld(const Elem *elem, unsigned int idx=0) const
Peridynamics mesh class.
void gatherSum(T &value)