> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CompatibleMeshMapper Class Reference

Part of [Mesh mapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__meshmapper)

Imports data from a compatible mesh.

## Public Types

| Type | Name |
| - | - |
|  typedef boost::shared\_ptr\< [CoorTransformationBase](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_coor_transformation_base.md) > | [CoorTransformationBasePtr](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a7c3eb7b21b8e3254d697b15a4192a7fe) a pointer to a rigid transformation algorithm object |
| enum | [Type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7) \{  [eCOMPATIBLE](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7a459203ce56429dc8706ca2740bd69841) =0, [eINCOMPATIBLE](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7abb012f96e4409688aa1c1b06b645f184), [eINCOMPATIBLE\_CPP](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7a29ad298ad8ef76fee66b8f94a6d463c3), [eINCOMPATIBLE\_RAY](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7a5a8514eef49d57792d68c382249f7e77),  [eGRID](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7a284b6ad33acf2df5fcd062adc42ad59c), [eP2VOLUME](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7adede4088d718f7458095afc816edd231), [eMORPHED\_MESH](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7afc6b02161f5d04720e7f94015730e580)  } an enum type defining the type of the derived class |

## Public Member Functions

| Type | Name |
| - | - |
| | [CompatibleMeshMapper](#abc7b6d1ebc4649e301c5414d8a6f2e25) () constructor |
|  virtual string | **generateScriptOfSettingsDefinition** (string variable\_ident) |
|  virtual [Type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_mesh_mapper_base.md#a1d1cfd8ffb84e947f82999c682b666a7) | **mapperType** () |
|  virtual string | **mapperTypeIdent** () |

## Public Attributes

| Type | Name |
| - | - |
| bool | [ignore\_wrong\_indices](#a5498e4ddf05d8cf910682431555620e0) destructor |

## Detailed Description

Imports data from a compatible mesh.

* The meshes must be compatible.
* If the inserted meta structure does not contain a mesh, compatibility will be assumed. Otherwise, compatibility will be tested.
* This mapper is able to detect erroded elements and eroded nodes.
* Coordinate deviations will be projected onto the nodal normal vectors of the boundary. These are, therefore, not the true deviation vectors. They are suitable for simulation of deformed geometries.
* If nodal normal deviations are imported, interior nodes and boundary nodes with incorrect normal will be marked as eroded in the deviation objects.

## Member Enumeration Documentation

### Type

```cpp theme={null}
enum Type
```

`inherited`

an enum type defining the type of the derived class

| Enumerator | |
| - | - |
| eCOMPATIBLE | compatible mesh mapper |
| eINCOMPATIBLE | incompatible mesh mapper |
| eINCOMPATIBLE\_CPP | incompatible mesh mapper (closest point projection) |
| eINCOMPATIBLE\_RAY | incompatible mesh mapper (along user-specified direction) |
| eGRID | grid mesh mapper |
| eP2VOLUME | point-to-volume mesh mapper |
| eMORPHED\_MESH | mesh mapper used morphing |

## Member Data Documentation

### ignore\_wrong\_indices

```cpp theme={null}
bool ignore_wrong_indices
```

**Initial value:**

```lua theme={null}
{}

 bool deviations_along_boundary_normal
```

destructor

if this is false (default), then an error occurs if the loaded data contains node/element indices which are not part of the reference mesh.
