KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
self_contact_utilities.h
Go to the documentation of this file.
1 // KRATOS ______ __ __ _____ __ __ __
2 // / ____/___ ____ / /_____ ______/ /_/ ___// /________ _______/ /___ ___________ _/ /
3 // / / / __ \/ __ \/ __/ __ `/ ___/ __/\__ \/ __/ ___/ / / / ___/ __/ / / / ___/ __ `/ /
4 // / /___/ /_/ / / / / /_/ /_/ / /__/ /_ ___/ / /_/ / / /_/ / /__/ /_/ /_/ / / / /_/ / /
5 // \____/\____/_/ /_/\__/\__,_/\___/\__//____/\__/_/ \__,_/\___/\__/\__,_/_/ \__,_/_/ MECHANICS
6 //
7 // License: BSD License
8 // license: ContactStructuralMechanicsApplication/license.txt
9 //
10 // Main authors: Vicente Mataix Ferrandiz
11 //
12 
13 #pragma once
14 
15 // System includes
16 
17 // External includes
18 
19 // Project includes
20 #include "includes/model_part.h"
21 
22 namespace Kratos
23 {
26 
30 
34 
38 
42 
48 namespace SelfContactUtilities
49 {
55  void KRATOS_API(CONTACT_STRUCTURAL_MECHANICS_APPLICATION) ComputeSelfContactPairing(
56  ModelPart& rModelPart,
57  const std::size_t EchoLevel = 0
58  );
59 
64  void KRATOS_API(CONTACT_STRUCTURAL_MECHANICS_APPLICATION) FullAssignmentOfPairs(ModelPart& rModelPart);
65 
70  void KRATOS_API(CONTACT_STRUCTURAL_MECHANICS_APPLICATION) NotPredefinedMasterSlave(ModelPart& rModelPart);
71 
72 }; // namespace SelfContactUtilities
73 } // namespace Kratos
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
static int EchoLevel
Definition: co_sim_EMPIRE_API.h:42
void FullAssignmentOfPairs(ModelPart &rModelPart)
This method assign all the potential pairs (brute-force)
Definition: self_contact_utilities.cpp:252
void ComputeSelfContactPairing(ModelPart &rModelPart, const std::size_t EchoLevel)
This method computes the pairing for self-contact.
Definition: self_contact_utilities.cpp:30
void NotPredefinedMasterSlave(ModelPart &rModelPart)
This method is used in case of not predefined master/slave we assign the master/slave nodes and condi...
Definition: self_contact_utilities.cpp:275
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
This namespace includes several utilities necessaries for the computation of self-contact.