https://mooseframework.inl.gov
MortarUserObjectThread.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 "MooseTypes.h"
14 
15 #include "libmesh/libmesh_common.h"
16 
17 class MortarUserObject;
18 class SubProblem;
19 class FEProblemBase;
21 class Assembly;
22 
24 {
25 public:
26  MortarUserObjectThread(std::vector<MortarUserObject *> & mortar_user_objects,
27  const AutomaticMortarGeneration & amg,
28  SubProblem & subproblem,
29  FEProblemBase & fe_problem,
30  bool displaced,
31  Assembly & assembly);
32 
36  void operator()();
37 
38 private:
40  std::vector<MortarUserObject *> & _mortar_user_objects;
41 
44 
47 
52 
54  const bool _displaced;
55 
58 };
Keeps track of stuff related to assembling.
Definition: Assembly.h:101
Interface for notifications that the mortar mesh has been setup.
void operator()()
Loops over the mortar segment mesh and executes the user objects.
Assembly & _assembly
A reference to the assembly object.
Base class for creating new nodally-based mortar user objects.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
This class is a container/interface for the objects involved in automatic generation of mortar spaces...
SubProblem & _subproblem
A reference to the SubProblem object for reiniting lower-dimensional element quantities.
const bool _displaced
Whether the mortar user objects are operating on the displaced mesh.
std::vector< MortarUserObject * > & _mortar_user_objects
The mortar user objects to loop over when on each mortar segment element.
Generic class for solving transient nonlinear problems.
Definition: SubProblem.h:78
MortarUserObjectThread(std::vector< MortarUserObject *> &mortar_user_objects, const AutomaticMortarGeneration &amg, SubProblem &subproblem, FEProblemBase &fe_problem, bool displaced, Assembly &assembly)
FEProblemBase & _fe_problem
A reference to the FEProblemBase object for reiniting higher-dimensional element and neighbor element...
const AutomaticMortarGeneration & _amg
Automatic mortar generation (amg) object providing the mortar mesh to loop over.