https://mooseframework.inl.gov
SidesetReaction.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 
13 #include "RankTwoTensor.h"
14 
18 template <bool is_ad>
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeQpIntegral() override;
28 
29 private:
32 
35 };
36 
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
the stress tensor
const RealVectorValue _dir
the direction along which the force is computed
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
SidesetReactionTempl< false > SidesetReaction
virtual Real computeQpIntegral() override
This postprocessor computes the integral of the force on a sideset in direction _dir.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
SidesetReactionTempl< true > ADSidesetReaction
const InputParameters & parameters() const
SidesetReactionTempl(const InputParameters &parameters)