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.
|
Frequency-based controller. More...
Public Member Functions | |
def | __init__ (self, KratosMultiphysics.ModelPart model_part, operations.AggregateOperation operation, KratosMultiphysics.Parameters settings) |
None | ExecuteOperation (self) |
Execute all assigned operations, bypassing the controller's checks. More... | |
bool | IsExecuteStep (self) |
Return true if the current step/time is a multiple of the output frequency. More... | |
None | __call__ (self) |
Execute assigned operations if a check is passed. More... | |
Public Member Functions inherited from core.controllers.Controller | |
def | __init__ (self, KratosMultiphysics.ModelPart model_part, operations.AggregateOperation operation) |
Frequency-based controller.
@detail Controls execution according to the 'time_frequency' and 'step_frequency' specified in the json settings.
def core.controllers.TemporalController.__init__ | ( | self, | |
KratosMultiphysics.ModelPart | model_part, | ||
operations.AggregateOperation | operation, | ||
KratosMultiphysics.Parameters | settings | ||
) |
None core.controllers.TemporalController.__call__ | ( | self | ) |
Execute assigned operations if a check is passed.
Reimplemented from core.controllers.Controller.
None core.controllers.TemporalController.ExecuteOperation | ( | self | ) |
Execute all assigned operations, bypassing the controller's checks.
Reimplemented from core.controllers.Controller.
bool core.controllers.TemporalController.IsExecuteStep | ( | self | ) |
Return true if the current step/time is a multiple of the output frequency.
@detail Relative errors are compared against an epsilon, which is much larger than the machine epsilon, and include a lower bound based on https://github.com/chromium/chromium, cc::IsNearlyTheSame.
Reimplemented from core.controllers.Controller.