https://mooseframework.inl.gov
peridynamics
include
postprocessors
NodalDisplacementDifferenceL2NormPD.h
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
10
#pragma once
11
12
#include "
NodalIntegralPostprocessorBasePD.h
"
13
18
class
NodalDisplacementDifferenceL2NormPD
:
public
NodalIntegralPostprocessorBasePD
19
{
20
public
:
21
static
InputParameters
validParams
();
22
23
NodalDisplacementDifferenceL2NormPD
(
const
InputParameters
&
parameters
);
24
25
virtual
Real
getValue
()
const override
;
26
27
protected
:
28
virtual
Real
computeNodalValue
()
override
;
29
31
unsigned
int
_n_disps
;
32
std::vector<MooseVariable *>
_disp_var
;
33
35
std::vector<const Function *>
_funcs
;
36
};
NodalDisplacementDifferenceL2NormPD::_funcs
std::vector< const Function * > _funcs
Known analytic displacement functions.
Definition:
NodalDisplacementDifferenceL2NormPD.h:35
NodalIntegralPostprocessorBasePD
Postprocessor class to compute a volume integral of the specified variable Note that specializations ...
Definition:
NodalIntegralPostprocessorBasePD.h:19
NodalDisplacementDifferenceL2NormPD::validParams
static InputParameters validParams()
Definition:
NodalDisplacementDifferenceL2NormPD.C:17
NodalDisplacementDifferenceL2NormPD::computeNodalValue
virtual Real computeNodalValue() override
Function to evaluate the given function at each material point.
Definition:
NodalDisplacementDifferenceL2NormPD.C:63
NodalDisplacementDifferenceL2NormPD::NodalDisplacementDifferenceL2NormPD
NodalDisplacementDifferenceL2NormPD(const InputParameters ¶meters)
Definition:
NodalDisplacementDifferenceL2NormPD.C:31
InputParameters
NodalIntegralPostprocessorBasePD.h
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
NodalDisplacementDifferenceL2NormPD::_n_disps
unsigned int _n_disps
Displacement variables.
Definition:
NodalDisplacementDifferenceL2NormPD.h:31
NodalPostprocessor::parameters
const InputParameters & parameters() const
NodalDisplacementDifferenceL2NormPD::getValue
virtual Real getValue() const override
Definition:
NodalDisplacementDifferenceL2NormPD.C:57
NodalDisplacementDifferenceL2NormPD
Postprocessor class to compute L2 norm of displacements difference between prediction and analytical ...
Definition:
NodalDisplacementDifferenceL2NormPD.h:18
NodalDisplacementDifferenceL2NormPD::_disp_var
std::vector< MooseVariable * > _disp_var
Definition:
NodalDisplacementDifferenceL2NormPD.h:32
Generated on Fri Jul 18 2025 13:43:13 for https://mooseframework.inl.gov by
1.8.14