https://mooseframework.inl.gov
NodalVariableIntegralPD.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 "MooseVariable.h"
12 
14 
17 {
19  params.addClassDescription("Class for calculating the domain integral of nodal variables");
20 
21  params.addRequiredParam<VariableName>(
22  "variable", "The name of the variable that this postprocessor operates on");
23 
24  return params;
25 }
26 
29  _var(_subproblem.getStandardVariable(_tid, getParam<VariableName>("variable")))
30 {
31 }
32 
33 Real
35 {
37 }
Postprocessor class to compute a volume integral of the specified variable Note that specializations ...
const Node *const & _current_node
registerMooseObject("PeridynamicsApp", NodalVariableIntegralPD)
MooseVariable & _var
Nodal variable to be integrated.
void addRequiredParam(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
OutputData getNodalValue(const Node &node) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
NodalVariableIntegralPD(const InputParameters &parameters)
Postprocessor class to compute nodal variable integral in peridynamic discretization.
void addClassDescription(const std::string &doc_string)
virtual Real computeNodalValue() override
Function to evaluate the given function at each material point.