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.
gradual_variable_interpolation_utility.h
Go to the documentation of this file.
1 // KRATOS __ __ _____ ____ _ _ ___ _ _ ____
2 // | \/ | ____/ ___|| | | |_ _| \ | |/ ___|
3 // | |\/| | _| \___ \| |_| || || \| | | _
4 // | | | | |___ ___) | _ || || |\ | |_| |
5 // |_| |_|_____|____/|_| |_|___|_| \_|\____| APPLICATION
6 //
7 // License: BSD License
8 // license: MeshingApplication/license.txt
9 //
10 // Main authors: Sebastian Ares de Parga Regalado
11 
12 #pragma once
13 
14 // Project includes
15 #include "processes/process.h"
16 #include "includes/model_part.h"
21 
22 namespace Kratos {
23 
24 class KRATOS_API(MESHING_APPLICATION) GradualVariableInterpolationUtility {
25 public:
27 
37  static void InitializeInterpolationAndConstraints(
38  ModelPart& rOriginModelPart,
39  ModelPart& rDestinationModelPart,
40  std::vector<std::string>& rInterpolationVariablesList,
41  double AlphaRampUpIncrement,
42  int DomainSize,
43  bool ConstrainVariables);
44 
53  static void UpdateSolutionStepVariables(
54  ModelPart& rDestinationModelPart,
55  std::vector<std::string>& rInterpolationVariablesList,
56  double& rAlpha,
57  double& rOldAlpha,
58  bool ConstrainVariables);
59 };
60 
61 } // namespace Kratos.
62 
Definition: gradual_variable_interpolation_utility.h:24
KRATOS_CLASS_POINTER_DEFINITION(GradualVariableInterpolationUtility)
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21