Skip to main content

oSP3D Script API 2024 R1

CompatibleMeshMapper Class Reference

Last update: 16.07.2025

Imports data from a compatible mesh. More...

Public Types

typedef boost::shared_ptr< CoorTransformationBaseCoorTransformationBasePtr
 a pointer to a rigid transformation algorithm object
 
enum  Type {
  eCOMPATIBLE =0, eINCOMPATIBLE, eINCOMPATIBLE_CPP, eINCOMPATIBLE_RAY,
  eGRID, eP2VOLUME, eMORPHED_MESH
}
 an enum type defining the type of the derived class More...
 

Public Member Functions

 CompatibleMeshMapper ()
 constructor
 
virtual string generateScriptOfSettingsDefinition (string variable_ident)
 
virtual Type mapperType ()
 
virtual string mapperTypeIdent ()
 

Public Attributes

bool ignore_wrong_indices
 destructor More...
 

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

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

bool ignore_wrong_indices
Initial value:
{}
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.

Connect with Ansys