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

Aux Kernel class to output the area/volume of material points. More...

#include <NodalVolumePD.h>

Inheritance diagram for NodalVolumePD:
[legend]

Public Member Functions

 NodalVolumePD (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 area/volume of material points.

Definition at line 23 of file NodalVolumePD.h.

Constructor & Destructor Documentation

◆ NodalVolumePD()

NodalVolumePD::NodalVolumePD ( const InputParameters &  parameters)

Definition at line 27 of file NodalVolumePD.C.

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

Member Function Documentation

◆ computeValue()

Real NodalVolumePD::computeValue ( )
overrideprotected

Definition at line 34 of file NodalVolumePD.C.

35 {
36  return _pdmesh.getPDNodeVolume(_current_node->id());
37 }

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(), computeValue(), and BoundaryOffsetPD::computeValue().


The documentation for this class was generated from the following files:
PeridynamicsMesh::getPDNodeVolume
Real getPDNodeVolume(dof_id_type node_id)
Function to return nodal volume for node node_id.
Definition: PeridynamicsMesh.C:435
AuxKernelBasePD::_pdmesh
PeridynamicsMesh & _pdmesh
Reference to peridynamic mesh object.
Definition: AuxKernelBasePD.h:30
AuxKernelBasePD::AuxKernelBasePD
AuxKernelBasePD(const InputParameters &parameters)
Definition: AuxKernelBasePD.C:23