40 "model_part_name":"PLEASE_CHOOSE_MODEL_PART_NAME",
41 "absorbing_factors": [1.0,1.0],
42 "virtual_thickness": 1e10
47 rParameters[
"model_part_name"];
53 mAbsorbingFactors.
resize(2,
false);
54 mAbsorbingFactors(0) = rParameters[
"absorbing_factors"][0].
GetDouble();
55 mAbsorbingFactors(1) = rParameters[
"absorbing_factors"][1].
GetDouble();
58 mVirtualThickness = rParameters[
"virtual_thickness"].
GetDouble();
74 rCondition.SetValue(ABSORBING_FACTORS, mAbsorbingFactors);
75 rCondition.SetValue(VIRTUAL_THICKNESS, mVirtualThickness);
81 std::string
Info()
const override
83 return "SetAbsorbingBoundaryParametersProcess";
90 double mVirtualThickness;
Base class for all Conditions.
Definition: condition.h:59
void resize(std::size_t NewSize1, std::size_t NewSize2, bool preserve=0)
Definition: amatrix_interface.h:224
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
ConditionsContainerType & Conditions(IndexType ThisIndex=0)
Definition: model_part.h:1381
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
double GetDouble() const
This method returns the double contained in the current Parameter.
Definition: kratos_parameters.cpp:657
void ValidateAndAssignDefaults(const Parameters &rDefaultParameters)
This function is designed to verify that the parameters under testing match the form prescribed by th...
Definition: kratos_parameters.cpp:1306
The base class for all processes in Kratos.
Definition: process.h:49
Definition: set_absorbing_boundary_parameters_process.hpp:25
void ExecuteInitialize() override
Definition: set_absorbing_boundary_parameters_process.hpp:69
std::string Info() const override
Turn back information as a string.
Definition: set_absorbing_boundary_parameters_process.hpp:81
SetAbsorbingBoundaryParametersProcess(const SetAbsorbingBoundaryParametersProcess &)=delete
KRATOS_CLASS_POINTER_DEFINITION(SetAbsorbingBoundaryParametersProcess)
~SetAbsorbingBoundaryParametersProcess() override=default
SetAbsorbingBoundaryParametersProcess(ModelPart &model_part, Parameters rParameters)
Definition: set_absorbing_boundary_parameters_process.hpp:31
SetAbsorbingBoundaryParametersProcess & operator=(const SetAbsorbingBoundaryParametersProcess &)=delete
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
void block_for_each(TIterator itBegin, TIterator itEnd, TFunction &&rFunction)
Execute a functor on all items of a range in parallel.
Definition: parallel_utilities.h:299
model_part
Definition: face_heat.py:14