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
python_mapper.PythonMapper Class Reference

Baseclass for python based mappers in Kratos The inteface matches the C++ version ("custom_mappers/mapper.h") The py-mappers are intentionally NOT derived from the c++ version. More...

Inheritance diagram for python_mapper.PythonMapper:
Collaboration diagram for python_mapper.PythonMapper:

Public Member Functions

def __init__ (self, model_part_origin, model_part_destination, mapper_settings)
 
def Map (self, variable_origin, variable_destination, mapper_flags=KM.Flags())
 
def InverseMap (self, variable_origin, variable_destination, mapper_flags=KM.Flags())
 
def UpdateInterface (self)
 

Public Attributes

 model_part_origin
 
 model_part_destination
 
 mapper_settings
 
 echo_level
 

Detailed Description

Baseclass for python based mappers in Kratos The inteface matches the C++ version ("custom_mappers/mapper.h") The py-mappers are intentionally NOT derived from the c++ version.

Reasons:

Constructor & Destructor Documentation

◆ __init__()

def python_mapper.PythonMapper.__init__ (   self,
  model_part_origin,
  model_part_destination,
  mapper_settings 
)

Member Function Documentation

◆ InverseMap()

def python_mapper.PythonMapper.InverseMap (   self,
  variable_origin,
  variable_destination,
  mapper_flags = KM.Flags() 
)

◆ Map()

def python_mapper.PythonMapper.Map (   self,
  variable_origin,
  variable_destination,
  mapper_flags = KM.Flags() 
)

◆ UpdateInterface()

def python_mapper.PythonMapper.UpdateInterface (   self)

Member Data Documentation

◆ echo_level

python_mapper.PythonMapper.echo_level

◆ mapper_settings

python_mapper.PythonMapper.mapper_settings

◆ model_part_destination

python_mapper.PythonMapper.model_part_destination

◆ model_part_origin

python_mapper.PythonMapper.model_part_origin

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