www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BoundaryOffsetPD Class Reference

Aux Kernel class to output the offset of boundary nodes from initial FE mesh. More...

#include <BoundaryOffsetPD.h>

Inheritance diagram for BoundaryOffsetPD:
[legend]

Public Member Functions

 BoundaryOffsetPD (const InputParameters &parameters)
 

Protected Member Functions

Real computeValue () override
 

Protected Attributes

PeridynamicsMesh_pdmesh
 Reference to peridynamic mesh object. More...
 
const unsigned int _dim
 Problem dimension. More...
 

Detailed Description

Aux Kernel class to output the offset of boundary nodes from initial FE mesh.

Definition at line 23 of file BoundaryOffsetPD.h.

Constructor & Destructor Documentation

◆ BoundaryOffsetPD()

BoundaryOffsetPD::BoundaryOffsetPD ( const InputParameters &  parameters)

Definition at line 28 of file BoundaryOffsetPD.C.

28  : AuxKernelBasePD(parameters)
29 {
30  if (!_var.isNodal())
31  mooseError("BoundaryOffsetPD operates on nodal variable!");
32 }

Member Function Documentation

◆ computeValue()

Real BoundaryOffsetPD::computeValue ( )
overrideprotected

Definition at line 35 of file BoundaryOffsetPD.C.

36 {
37  return _pdmesh.getBoundaryOffset(_current_node->id());
38 }

Member Data Documentation

◆ _dim

const unsigned int AuxKernelBasePD::_dim
protectedinherited

Problem dimension.

Definition at line 33 of file AuxKernelBasePD.h.

Referenced by NodalRankTwoPD::computeNodalTotalStrain(), and NodalRankTwoPD::NodalRankTwoPD().

◆ _pdmesh

PeridynamicsMesh& AuxKernelBasePD::_pdmesh
protectedinherited

Reference to peridynamic mesh object.

Definition at line 30 of file AuxKernelBasePD.h.

Referenced by NodalRankTwoPD::computeNodalTotalStrain(), NodalVolumePD::computeValue(), and computeValue().


The documentation for this class was generated from the following files:
AuxKernelBasePD::_pdmesh
PeridynamicsMesh & _pdmesh
Reference to peridynamic mesh object.
Definition: AuxKernelBasePD.h:30
AuxKernelBasePD::AuxKernelBasePD
AuxKernelBasePD(const InputParameters &parameters)
Definition: AuxKernelBasePD.C:23
PeridynamicsMesh::getBoundaryOffset
Real getBoundaryOffset(dof_id_type node_id)
Function to return offset for boundary nodes.
Definition: PeridynamicsMesh.C:480