https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeElemDampingThread.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 "ThreadedElementLoop.h"
14
15#include "libmesh/elem_range.h"
16
17// Forward declarations
19class ElementDamper;
20template <typename T>
22
23class ComputeElemDampingThread : public ThreadedElementLoop<ConstElemRange>
24{
25public:
27
28 // Splitting Constructor
30
32
33 virtual void onElement(const Elem * elem) override;
34
35 void join(const ComputeElemDampingThread & y);
36
37 Real damping();
38
39protected:
41 void printGeneralExecutionInformation() const override;
42
46};
virtual void onElement(const Elem *elem) override
Assembly of the element (not including surface assembly)
const MooseObjectWarehouse< ElementDamper > & _element_dampers
void join(const ComputeElemDampingThread &y)
void printGeneralExecutionInformation() const override
Print list of objects executed and in which order.
Base class for deriving element dampers.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
A storage container for MooseObjects that inherit from SetupInterface.
Nonlinear system to be solved.
Base class for assembly-like calculations.