https://mooseframework.inl.gov
ContactDOFSetSize.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 
12 #include "GeneralPostprocessor.h"
13 
14 // Forward Declarations
16 namespace libMesh
17 {
18 class MeshBase;
19 }
20 
22 {
23 public:
25 
27 
28  virtual void initialize() override;
29  virtual void execute() override;
30 
31  virtual PostprocessorValue getValue() const override;
32 
33 private:
36 
38  const MeshBase & _mesh;
39 
42 
45 
47  unsigned int _count;
48 };
const MooseVariableFieldBase & _var
MOOSE variable we compute the contact set from.
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
const Real _tolerance
The tolerance used to decide whether the variable indicates contact.
virtual PostprocessorValue getValue() const override
static InputParameters validParams()
Real PostprocessorValue
const SubdomainID _subdomain_id
The subdomain over which to query degrees of freedom.
virtual void execute() override
ContactDOFSetSize(const InputParameters &parameters)
virtual void initialize() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MeshBase & _mesh
The libmesh mesh.
unsigned int _count
Represents the number of values in contact.
const InputParameters & parameters() const