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.
activate_model_part_operation.h
Go to the documentation of this file.
1 // KRATOS___
2 // // ) )
3 // // ___ ___
4 // // ____ //___) ) // ) )
5 // // / / // // / /
6 // ((____/ / ((____ ((___/ / MECHANICS
7 //
8 // License: geo_mechanics_application/license.txt
9 //
10 // Main authors: Lorenzo Gracia
11 // Aron Noordam
12 // Vahid Galavi
13 // Marjan Fathian
14 // Ruben Zorrilla
15 //
16 
17 #pragma once
18 
19 // Project includes
20 #include "operations/operation.h"
21 
22 namespace Kratos
23 {
24 
27 
30 
41 class KRATOS_API(GEO_MECHANICS_APPLICATION) ActivateModelPartOperation : public Operation
42 {
43 public:
46 
49 
51  KRATOS_REGISTRY_ADD_PROTOTYPE("Operations.KratosMultiphysics.GeoMechanicsApplication", Operation, ActivateModelPartOperation)
53 
54 
57 
60 
65  Model& rModel,
66  const Parameters rSettings);
67 
69  ~ActivateModelPartOperation() override = default;
70 
73 
77 
80 
84 
85  Operation::Pointer Create(
86  Model& rModel,
87  Parameters ThisParameters) const override;
88 
89  void Execute() override;
90 
92 private:
96 
97  const ModelPart* mpModelPart = nullptr; // Reference to the model part to which the operation is applied
98 
100 }; // Class ActivateModelPartOperation
101 
103 
104 } // namespace Kratos.
This operation emulate the effect of an excavation by deactivating some parts of the computational do...
Definition: activate_model_part_operation.h:42
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
The base class for all operations in Kratos.
Definition: operation.h:43
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
#define KRATOS_REGISTRY_ADD_PROTOTYPE(NAME, X, Y)
Macro to register class prototypes This macro creates a static bool in the class (which value is not ...
Definition: define_registry.h:43
KRATOS_CLASS_POINTER_DEFINITION(ActivateModelPartOperation)
Pointer definition of ActivateModelPartOperation.
ActivateModelPartOperation & operator=(const ActivateModelPartOperation &)=delete
Assignment operator.
~ActivateModelPartOperation() override=default
Destructor.
ActivateModelPartOperation(const ActivateModelPartOperation &)=delete
Copy constructor.
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21