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...
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:
- Doing so would require some special treatment of the pure virtual functions exposed to python
- They are more or less temporary until Kratos has more Mappers
◆ __init__()
def python_mapper.PythonMapper.__init__ |
( |
|
self, |
|
|
|
model_part_origin, |
|
|
|
model_part_destination, |
|
|
|
mapper_settings |
|
) |
| |
◆ 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 | ) |
|
◆ 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:
- /home/runner/work/Documentation/Documentation/master/applications/MappingApplication/python_scripts/python_mapper.py