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.
apply_vector_constraint_table_process.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: Wijtze Pieter Kikstra,
11 // Anne van de Graaf
12 //
13 #pragma once
14 
15 #include "processes/process.h"
16 
17 namespace Kratos
18 {
19 
20 class ModelPart;
21 class Parameters;
22 
23 
24 class KRATOS_API(GEO_MECHANICS_APPLICATION) ApplyVectorConstraintTableProcess : public Process
25 {
26 public:
28 
30  const Parameters& rSettings);
31 
33 
36 
37  using ProcessUniquePointer = std::unique_ptr<Process>;
38 
39  void ExecuteInitialize() override;
40  void ExecuteInitializeSolutionStep() override;
41 
42  std::string Info() const override;
43 
44 private:
45  static std::vector<Parameters> CreateParametersForActiveComponents(const Parameters& rSettings);
46  static std::vector<char> ActiveComponents(const Parameters& rSettings);
47  static Parameters CreateParametersForComponent(const Parameters& rSettings, char component);
48  static std::size_t ComponentToIndex(char component);
49  ProcessUniquePointer MakeProcessFor(const Parameters& rParameters) const;
50 
51  ModelPart& mrModelPart;
52  std::vector<ProcessUniquePointer> mProcesses;
53 };
54 
55 }
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Definition: apply_vector_constraint_table_process.h:25
KRATOS_CLASS_POINTER_DEFINITION(ApplyVectorConstraintTableProcess)
ApplyVectorConstraintTableProcess & operator=(const ApplyVectorConstraintTableProcess &)=delete
std::unique_ptr< Process > ProcessUniquePointer
Definition: apply_vector_constraint_table_process.h:37
ApplyVectorConstraintTableProcess(const ApplyVectorConstraintTableProcess &)=delete
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
The base class for all processes in Kratos.
Definition: process.h:49
Kratos::ModelPart ModelPart
Definition: kratos_wrapper.h:31
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21