8 #if !defined(KRATOS_APPLY_DOUBLE_TABLE_PROCESS )
9 #define KRATOS_APPLY_DOUBLE_TABLE_PROCESS
12 #include "custom_processes/apply_component_table_process.hpp"
18 class ApplyDoubleTableProcess :
public ApplyComponentTableProcess
58 #pragma omp parallel for
61 ModelPart::NodesContainerType::iterator it = it_begin +
i;
83 double value =
mpTable->GetValue(Time);
91 #pragma omp parallel for
94 ModelPart::NodesContainerType::iterator it = it_begin +
i;
96 it->FastGetSolutionStepValue(var) = value;
104 std::string
Info()
const override
106 return "ApplyDoubleTableProcess";
112 rOStream <<
"ApplyDoubleTableProcess";
139 inline std::istream&
operator >> (std::istream& rIStream,
140 ApplyDoubleTableProcess& rThis);
143 inline std::ostream&
operator << (std::ostream& rOStream,
144 const ApplyDoubleTableProcess& rThis)
146 rThis.PrintInfo(rOStream);
147 rOStream << std::endl;
148 rThis.PrintData(rOStream);
Definition: apply_component_table_process.hpp:28
std::string mvariable_name
Definition: apply_component_table_process.hpp:167
double minitial_value
Definition: apply_component_table_process.hpp:169
bool mis_fixed
Definition: apply_component_table_process.hpp:168
double mTimeUnitConverter
Definition: apply_component_table_process.hpp:173
TableType::Pointer mpTable
Definition: apply_component_table_process.hpp:172
ModelPart & mr_model_part
Member Variables.
Definition: apply_component_table_process.hpp:166
Definition: apply_double_table_process.hpp:25
void ExecuteInitializeSolutionStep() override
this function will be executed at every time step BEFORE performing the solve phase
Definition: apply_double_table_process.hpp:76
~ApplyDoubleTableProcess() override
Destructor.
Definition: apply_double_table_process.hpp:35
void Execute() override
Execute method is used to execute the ApplyDoubleTableProcess algorithms.
Definition: apply_double_table_process.hpp:40
std::string Info() const override
Turn back information as a string.
Definition: apply_double_table_process.hpp:104
ApplyDoubleTableProcess(ModelPart &model_part, Parameters rParameters)
Constructor.
Definition: apply_double_table_process.hpp:28
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: apply_double_table_process.hpp:110
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: apply_double_table_process.hpp:116
KRATOS_CLASS_POINTER_DEFINITION(ApplyDoubleTableProcess)
void ExecuteInitialize() override
Definition: apply_double_table_process.hpp:46
KratosComponents class encapsulates a lookup table for a family of classes in a generic way.
Definition: kratos_components.h:49
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
NodeIterator NodesBegin(IndexType ThisIndex=0)
Definition: model_part.h:487
ProcessInfo & GetProcessInfo()
Definition: model_part.h:1746
NodesContainerType & Nodes(IndexType ThisIndex=0)
Definition: model_part.h:507
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
#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
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
model_part
Definition: face_heat.py:14
int nnodes
Definition: sensitivityMatrix.py:24
integer i
Definition: TensorModule.f:17