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.
Public Member Functions | List of all members
core.controllers.TemporalController Class Reference

Frequency-based controller. More...

Inheritance diagram for core.controllers.TemporalController:
Collaboration diagram for core.controllers.TemporalController:

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)
 

Detailed Description

Frequency-based controller.

@detail Controls execution according to the 'time_frequency' and 'step_frequency' specified in the json settings.

Constructor & Destructor Documentation

◆ __init__()

def core.controllers.TemporalController.__init__ (   self,
KratosMultiphysics.ModelPart  model_part,
operations.AggregateOperation  operation,
KratosMultiphysics.Parameters  settings 
)

Member Function Documentation

◆ __call__()

None core.controllers.TemporalController.__call__ (   self)

Execute assigned operations if a check is passed.

Reimplemented from core.controllers.Controller.

◆ ExecuteOperation()

None core.controllers.TemporalController.ExecuteOperation (   self)

Execute all assigned operations, bypassing the controller's checks.

Reimplemented from core.controllers.Controller.

◆ IsExecuteStep()

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.


The documentation for this class was generated from the following file: