www.mooseframework.org
peridynamics
include
postprocessors
NodalDisplacementDifferenceL2NormPD.h
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
10
#pragma once
11
12
#include "
NodalIntegralPostprocessorBasePD.h
"
13
14
class
NodalDisplacementDifferenceL2NormPD
;
15
16
template
<>
17
InputParameters
validParams<NodalDisplacementDifferenceL2NormPD>
();
18
23
class
NodalDisplacementDifferenceL2NormPD
:
public
NodalIntegralPostprocessorBasePD
24
{
25
public
:
26
NodalDisplacementDifferenceL2NormPD
(
const
InputParameters & parameters);
27
28
virtual
Real
getValue
()
override
;
29
30
protected
:
31
virtual
Real
computeNodalValue
()
override
;
32
34
unsigned
int
_n_disps
;
35
std::vector<MooseVariable *>
_disp_var
;
36
38
std::vector<const Function *>
_funcs
;
39
};
NodalDisplacementDifferenceL2NormPD::_disp_var
std::vector< MooseVariable * > _disp_var
Definition:
NodalDisplacementDifferenceL2NormPD.h:35
NodalDisplacementDifferenceL2NormPD::_funcs
std::vector< const Function * > _funcs
Known analytic displacement functions.
Definition:
NodalDisplacementDifferenceL2NormPD.h:38
NodalDisplacementDifferenceL2NormPD::computeNodalValue
virtual Real computeNodalValue() override
Function to evaluate the given function at each material point.
Definition:
NodalDisplacementDifferenceL2NormPD.C:64
NodalDisplacementDifferenceL2NormPD::getValue
virtual Real getValue() override
Definition:
NodalDisplacementDifferenceL2NormPD.C:58
NodalDisplacementDifferenceL2NormPD
Postprocessor class to compute L2 norm of displacements difference between prediction and analytical ...
Definition:
NodalDisplacementDifferenceL2NormPD.h:23
validParams< NodalDisplacementDifferenceL2NormPD >
InputParameters validParams< NodalDisplacementDifferenceL2NormPD >()
Definition:
NodalDisplacementDifferenceL2NormPD.C:18
NodalIntegralPostprocessorBasePD.h
NodalDisplacementDifferenceL2NormPD::NodalDisplacementDifferenceL2NormPD
NodalDisplacementDifferenceL2NormPD(const InputParameters ¶meters)
Definition:
NodalDisplacementDifferenceL2NormPD.C:32
NodalIntegralPostprocessorBasePD
Postprocessor class to compute a volume integral of the specified variable Note that specializations ...
Definition:
NodalIntegralPostprocessorBasePD.h:24
NodalDisplacementDifferenceL2NormPD::_n_disps
unsigned int _n_disps
Displacement variables.
Definition:
NodalDisplacementDifferenceL2NormPD.h:34
Generated on Sat Jan 25 2020 12:04:38 for www.mooseframework.org by
1.8.16