#include <gradual_variable_interpolation_utility.h>
◆ InitializeInterpolationAndConstraints()
void Kratos::GradualVariableInterpolationUtility::InitializeInterpolationAndConstraints |
( |
ModelPart & |
rOriginModelPart, |
|
|
ModelPart & |
rDestinationModelPart, |
|
|
std::vector< std::string > & |
rInterpolationVariablesList, |
|
|
double |
AlphaRampUpIncrement, |
|
|
int |
DomainSize, |
|
|
bool |
ConstrainVariables |
|
) |
| |
|
static |
Initializes interpolation and applies constraints to the given variables.
- Parameters
-
rOriginModelPart | The original model part |
rDestinationModelPart | The destination model part |
rInterpolationVariablesList | List of variables to be interpolated |
AlphaRampUpIncrement | Alpha increment for the ramp-up |
DomainSize | Size of the domain (2D or 3D) |
ConstrainVariables | Flag to apply constraints to the variables |
◆ KRATOS_CLASS_POINTER_DEFINITION()
◆ UpdateSolutionStepVariables()
void Kratos::GradualVariableInterpolationUtility::UpdateSolutionStepVariables |
( |
ModelPart & |
rDestinationModelPart, |
|
|
std::vector< std::string > & |
rInterpolationVariablesList, |
|
|
double & |
rAlpha, |
|
|
double & |
rOldAlpha, |
|
|
bool |
ConstrainVariables |
|
) |
| |
|
static |
Updates the solution step variables.
- Parameters
-
rDestinationModelPart | The destination model part |
rInterpolationVariablesList | List of variables to be interpolated |
rAlpha | Alpha value for updating the variables |
rOldAlpha | Previous alpha value |
ConstrainVariables | Flag to apply constraints to the variables |
The documentation for this class was generated from the following files: