def CreateCouplingOperation(coupling_operation_settings, solvers, parent_coupled_solver_process_info): """This function creates and returns the Coupling Operation used for CoSimulation""" return base_factory.Create( coupling_operation_settings, [solvers, parent_coupled_solver_process_info], "KratosMultiphysics.CoSimulationApplication.coupling_operations")
def CreateConvergenceAccelerator(convergence_accelerator_settings): """This function creates and returns the Convergence Accelerator used for CoSimulation""" return base_factory.Create( convergence_accelerator_settings, [], "KratosMultiphysics.CoSimulationApplication.convergence_accelerators")
def CreatePredictor(predictor_settings, solver_wrapper): """This function creates and returns the Predictor used for CoSimulation""" return base_factory.Create(predictor_settings, [solver_wrapper], "KratosMultiphysics.CoSimulationApplication.predictors")
def CreateDataTransferOperator(coupling_operation_settings): """This function creates and returns the Data Transfer Operator used for CoSimulation""" return base_factory.Create( coupling_operation_settings, [], "KratosMultiphysics.CoSimulationApplication.data_transfer_operators")
def CreateIO(io_settings, model, solver_name, io_name): """This function creates and returns the IO used for CoSimulation""" return base_factory.Create( io_settings, [model, solver_name], "KratosMultiphysics.CoSimulationApplication.solver_wrappers", io_name)
def CreateConvergenceCriterion(convergence_criterion_settings): """This function creates and returns the Convergence Criterion used for CoSimulation""" return base_factory.Create( convergence_criterion_settings, [], "KratosMultiphysics.CoSimulationApplication.convergence_criteria")
def CreateSolverWrapper(settings, models, solver_name): """This function creates and returns the Wrapper for the Solver used for CoSimulation""" return base_factory.Create(settings, [models, solver_name], "KratosMultiphysics.CoSimulationApplication")