www.mooseframework.org
ContactSplit.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef CONTACTSPLIT_H
16 #define CONTACTSPLIT_H
17 
18 // MOOSE includes
19 #include "Split.h"
20 
24 class ContactSplit : public Split
25 {
26 public:
27  ContactSplit(const InputParameters & params);
28  virtual void setup(const std::string & prefix = "-") override;
29 
30 #if defined(LIBMESH_HAVE_PETSC) && !PETSC_VERSION_LESS_THAN(3, 3, 0)
31 protected:
32  std::vector<std::string> _contact_master;
33  std::vector<std::string> _contact_slave;
34  std::vector<int> _contact_displaced;
35  std::vector<std::string> _uncontact_master;
36  std::vector<std::string> _uncontact_slave;
37  std::vector<int> _uncontact_displaced;
39 #endif // defined(LIBMESH_HAVE_PETSC) && !PETSC_VERSION_LESS_THAN(3,3,0)
40 };
41 
42 #endif /* CONTACTSPLIT_H */
ContactSplit(const InputParameters &params)
Definition: ContactSplit.C:46
std::vector< std::string > _contact_slave
Definition: ContactSplit.h:33
std::vector< std::string > _contact_master
Definition: ContactSplit.h:32
std::vector< std::string > _uncontact_master
Definition: ContactSplit.h:35
virtual void setup(const std::string &prefix="-") override
Definition: ContactSplit.C:92
Split-based preconditioner for contact problems.
Definition: ContactSplit.h:24
bool _include_all_contact_nodes
Definition: ContactSplit.h:38
std::vector< int > _uncontact_displaced
Definition: ContactSplit.h:37
std::vector< std::string > _uncontact_slave
Definition: ContactSplit.h:36
std::vector< int > _contact_displaced
Definition: ContactSplit.h:34