https://mooseframework.inl.gov
Loading...
Searching...
No Matches
contact
include
postprocessors
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
15
class
MooseVariableFieldBase
;
16
namespace
libMesh
17
{
18
class
MeshBase;
19
}
20
21
class
ContactDOFSetSize
:
public
GeneralPostprocessor
22
{
23
public
:
24
static
InputParameters
validParams
();
25
26
ContactDOFSetSize
(
const
InputParameters
&
parameters
);
27
28
virtual
void
initialize
()
override
;
29
virtual
void
execute
()
override
;
30
31
virtual
PostprocessorValue
getValue
()
const override
;
32
33
private
:
35
const
MooseVariableFieldBase
&
_var
;
36
38
const
MeshBase &
_mesh
;
39
41
const
SubdomainID
_subdomain_id
;
42
44
const
Real
_tolerance
;
45
47
unsigned
int
_count
;
48
};
GeneralPostprocessor.h
PostprocessorValue
Real PostprocessorValue
ContactDOFSetSize
Definition
ContactDOFSetSize.h:22
ContactDOFSetSize::initialize
virtual void initialize() override
Definition
ContactDOFSetSize.C:49
ContactDOFSetSize::_var
const MooseVariableFieldBase & _var
MOOSE variable we compute the contact set from.
Definition
ContactDOFSetSize.h:35
ContactDOFSetSize::execute
virtual void execute() override
Definition
ContactDOFSetSize.C:55
ContactDOFSetSize::getValue
virtual PostprocessorValue getValue() const override
Definition
ContactDOFSetSize.C:78
ContactDOFSetSize::_subdomain_id
const SubdomainID _subdomain_id
The subdomain over which to query degrees of freedom.
Definition
ContactDOFSetSize.h:41
ContactDOFSetSize::_mesh
const MeshBase & _mesh
The libmesh mesh.
Definition
ContactDOFSetSize.h:38
ContactDOFSetSize::_count
unsigned int _count
Represents the number of values in contact.
Definition
ContactDOFSetSize.h:47
ContactDOFSetSize::_tolerance
const Real _tolerance
The tolerance used to decide whether the variable indicates contact.
Definition
ContactDOFSetSize.h:44
ContactDOFSetSize::validParams
static InputParameters validParams()
Definition
ContactDOFSetSize.C:24
GeneralPostprocessor
GeneralPostprocessor::parameters
const InputParameters & parameters() const
MooseVariableFieldBase
libMesh::TestClass
libMesh
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
InputParameters
Generated on Mon Aug 24 2026 19:09:43 for https://mooseframework.inl.gov by
1.9.8