www.mooseframework.org
peridynamics
include
userobjects
NodalRankTwoUserObjectBasePD.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 "
NodalAuxVariableUserObjectBasePD.h
"
13
14
class
NodalRankTwoUserObjectBasePD
;
15
16
template
<>
17
InputParameters
validParams<NodalRankTwoUserObjectBasePD>
();
18
22
class
NodalRankTwoUserObjectBasePD
:
public
NodalAuxVariableUserObjectBasePD
23
{
24
public
:
25
NodalRankTwoUserObjectBasePD
(
const
InputParameters & parameters);
26
27
virtual
void
computeValue
(
unsigned
int
id
, dof_id_type dof)
override
;
28
29
protected
:
38
virtual
void
gatherWeightedValue
(
unsigned
int
id
, dof_id_type dof, Real dg_vol_frac) = 0;
39
41
const
MaterialProperty<RankTwoTensor> &
_tensor
;
42
};
NodalAuxVariableUserObjectBasePD.h
NodalRankTwoUserObjectBasePD
Base userobject class for rank two tensor at individual material point.
Definition:
NodalRankTwoUserObjectBasePD.h:22
NodalAuxVariableUserObjectBasePD
UserObject base class to compute nodal quantities stored as AuxVariable at a material point based on ...
Definition:
NodalAuxVariableUserObjectBasePD.h:23
NodalRankTwoUserObjectBasePD::computeValue
virtual void computeValue(unsigned int id, dof_id_type dof) override
Function to assemble elemental quantities to nodal AuxVariable at a material point.
Definition:
NodalRankTwoUserObjectBasePD.C:39
NodalRankTwoUserObjectBasePD::gatherWeightedValue
virtual void gatherWeightedValue(unsigned int id, dof_id_type dof, Real dg_vol_frac)=0
Function to gather bond-associated quantities to each material point.
NodalRankTwoUserObjectBasePD::NodalRankTwoUserObjectBasePD
NodalRankTwoUserObjectBasePD(const InputParameters ¶meters)
Definition:
NodalRankTwoUserObjectBasePD.C:32
NodalRankTwoUserObjectBasePD::_tensor
const MaterialProperty< RankTwoTensor > & _tensor
Material properties tensor.
Definition:
NodalRankTwoUserObjectBasePD.h:41
validParams< NodalRankTwoUserObjectBasePD >
InputParameters validParams< NodalRankTwoUserObjectBasePD >()
Definition:
NodalRankTwoUserObjectBasePD.C:16
Generated on Sat Jan 25 2020 12:04:38 for www.mooseframework.org by
1.8.16