www.mooseframework.org
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 
13 
15 
16 template <>
18 
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 &parameters)
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