https://mooseframework.inl.gov
ComputeNodalDampingThread.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 "ThreadedNodeLoop.h"
14 
15 #include "libmesh/node_range.h"
16 
17 // Forward declarations
18 template <typename T>
20 class NodalDamper;
22 
24  : public ThreadedNodeLoop<ConstNodeRange, ConstNodeRange::const_iterator>
25 {
26 public:
28 
29  // Splitting Constructor
31 
33 
34  virtual void onNode(ConstNodeRange::const_iterator & node_it) override;
35 
36  void join(const ComputeNodalDampingThread & y);
37 
38  Real damping();
39 
40 protected:
42  void printGeneralExecutionInformation() const override;
43 
47 };
A storage container for MooseObjects that inherit from SetupInterface.
void join(const ComputeNodalDampingThread &y)
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Nonlinear system to be solved.
virtual void onNode(ConstNodeRange::const_iterator &node_it) override
Base class for deriving nodal dampers.
Definition: NodalDamper.h:27
const MooseObjectWarehouse< NodalDamper > & _nodal_dampers
tbb::split split
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
vec_type::const_iterator const_iterator
ComputeNodalDampingThread(FEProblemBase &feproblem, NonlinearSystemBase &nl)
void printGeneralExecutionInformation() const override
Print information about the loop, mostly order of execution of objects.