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 | Public Attributes | List of all members
base_classes.co_simulation_io.CoSimulationIO Class Reference

Baseclass defining the interface for the input and output methods for the communication with external solvers. More...

Collaboration diagram for base_classes.co_simulation_io.CoSimulationIO:

Public Member Functions

def __init__ (self, settings, model, solver_name, data_communicator)
 
def Initialize (self)
 
def Finalize (self)
 
def ImportCouplingInterface (self, interface_config)
 Imports coupling interface from an external solver External solver sends, CoSimulation receives. More...
 
def ExportCouplingInterface (self, interface_config)
 Exports coupling interface to an external solver CoSimulation sends, external solver receives. More...
 
def ImportData (self, data_config)
 Imports data from an external solver External solver sends, CoSimulation receives. More...
 
def ExportData (self, data_config)
 Exports data to an external solver CoSimulation sends, external solver receives. More...
 
def PrintInfo (self)
 
def Check (self)
 

Public Attributes

 model
 
 solver_name
 
 data_communicator
 
 settings
 
 echo_level
 

Detailed Description

Baseclass defining the interface for the input and output methods for the communication with external solvers.

Constructor & Destructor Documentation

◆ __init__()

def base_classes.co_simulation_io.CoSimulationIO.__init__ (   self,
  settings,
  model,
  solver_name,
  data_communicator 
)

Member Function Documentation

◆ Check()

def base_classes.co_simulation_io.CoSimulationIO.Check (   self)

◆ ExportCouplingInterface()

def base_classes.co_simulation_io.CoSimulationIO.ExportCouplingInterface (   self,
  interface_config 
)

Exports coupling interface to an external solver CoSimulation sends, external solver receives.

Parameters
interface_config<python dictionary> : configuration of the interface to be exported

◆ ExportData()

def base_classes.co_simulation_io.CoSimulationIO.ExportData (   self,
  data_config 
)

Exports data to an external solver CoSimulation sends, external solver receives.

Parameters
data_config<python dictionary> : configuration of the data to be exported

◆ Finalize()

def base_classes.co_simulation_io.CoSimulationIO.Finalize (   self)

◆ ImportCouplingInterface()

def base_classes.co_simulation_io.CoSimulationIO.ImportCouplingInterface (   self,
  interface_config 
)

Imports coupling interface from an external solver External solver sends, CoSimulation receives.

Parameters
interface_config<python dictionary> : configuration of the interface to be imported

◆ ImportData()

def base_classes.co_simulation_io.CoSimulationIO.ImportData (   self,
  data_config 
)

Imports data from an external solver External solver sends, CoSimulation receives.

Parameters
data_config<python dictionary> : configuration of the data to be imported

◆ Initialize()

def base_classes.co_simulation_io.CoSimulationIO.Initialize (   self)

◆ PrintInfo()

def base_classes.co_simulation_io.CoSimulationIO.PrintInfo (   self)

Member Data Documentation

◆ data_communicator

base_classes.co_simulation_io.CoSimulationIO.data_communicator

◆ echo_level

base_classes.co_simulation_io.CoSimulationIO.echo_level

◆ model

base_classes.co_simulation_io.CoSimulationIO.model

◆ settings

base_classes.co_simulation_io.CoSimulationIO.settings

◆ solver_name

base_classes.co_simulation_io.CoSimulationIO.solver_name

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