https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ContactSlipDamper.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// Moose Includes
13#include "GeneralDamper.h"
14
15// Forward Declarations
16class AuxiliarySystem;
19
26{
27public:
29
31
32 virtual void timestepSetup();
33
34protected:
36 MooseSharedPointer<DisplacedProblem> _displaced_problem;
37
41 virtual Real computeDamping(const NumericVector<Number> & solution,
42 const NumericVector<Number> & update);
43
48 bool operateOnThisInteraction(const PenetrationLocator & pen_loc);
49
50 std::set<std::pair<int, int>> _interactions;
51
62
64 typedef std::map<std::pair<unsigned int, unsigned int>, PenetrationLocator *>::iterator
66};
Simple constant damper.
MooseSharedPointer< DisplacedProblem > _displaced_problem
virtual void timestepSetup()
static InputParameters validParams()
virtual Real computeDamping(const NumericVector< Number > &solution, const NumericVector< Number > &update)
Compute the amount of damping.
std::map< std::pair< unsignedint, unsignedint >, PenetrationLocator * >::iterator pl_iterator
Convenient typedef for frequently used iterator.
bool operateOnThisInteraction(const PenetrationLocator &pen_loc)
Determine whether the damper should operate on the interaction corresponding to the supplied Penetrat...
std::set< std::pair< int, int > > _interactions
AuxiliarySystem & _aux_sys
const InputParameters & parameters() const