EDEM API Files

您所在的位置:网站首页 edem2022安装失败 EDEM API Files

EDEM API Files

2024-06-17 08:14| 来源: 网络整理| 查看: 265

EDEM API聽Files

EDEM includes C++ EDEM API v3.3.0 for Contact Models, v2.1.0 for Factories and v3.3.0 for Particle Body Force.

You can also continue to use any legacy API from previous versions of EDEM. The following tables give an overview of EDEM鈥檚 API source file location and files. For full details, refer to the API reference help at API reference help.

Example source files (which you can use as the basis for writing your own UDLs) are available from the customer area of our website. Header files which also contain details of each available Function can be found in the EDEM Install Directory EDEM > src > Api.

API Directories Directory Description src/Api v2.0.0 (and later) API files for contact models, particle body forces, and factories. src/Api/Help Online Reference Help. src/Misc Additional files that may be of use when developing UDLs. The Helpers.h file is an updated version of sharedTypes.h from the legacy API. src/LegacyApi Older API files as shipped with the previous version of EDEM.

Core API Header Files Directory Description Apilds.h Contains unique ID numbers for all supported APIs. ApiTypes.h Contains constants and declarations used by the EDEM generic API. IApi.h Defines the IApi interface. This is the base interface for all non-UDL APIs. IApiManager_1_0.h Defines the IApiManager_1_0 interface that provides the ability to allocate and initialize various APIs for use by UDLs. ICustomPropertyDataApi_1_0.h Provides basic access to custom property data and delta values. ICustomPropertyManagerApi_1_0.h Provides basic access to custom property meta-data for one of four different custom property collections (particle, geometry element, contact, simulation). IFieldApi_1_0.h Defines the IFieldAPI_1_0 interface that provides basic access to field data via a series of query methods. IFieldManagerApi_1_0.h Provides basic access to the field managervia a series of query methods. IGeometryManager_1_0.h Provides basic access to the custom properties associated with configured geometries. IGeometryManager_1_1.h Enables the custom geometry property data entries to be reset by property index instead of by name, improves speed of user API code. IGeometryManagerApi_1_2.h Provides additional access to the configured geometries mesh coordinates, in addition to the normal custom property access. IParticleManagerApi_1_0.h Provides basic access to the particles, and the ability to reset particle custom property values as well as get and set the size (scale) of the particles. IParticleManagerApi_1_1.h Provides a function to get the total number of particles of a specified type. IParticleManagerApi_1_2.h Enables the custom particle property data entries to be reset by property index instead of by name, improves speed of user API code. IParticleManagerApi_1_3 Enables the option to mark External Force model particle for additional CPU processing. Marked particles are removed from the simulation. ISimulationManagerApi_1_0.h Provides access to the simulation properties, enabling them to be reset to a specified value. ISimulationManagerApi_1_1.h Allows custom simulation property values to be reset by index instead of by name, improves speed of user API code. ISimulationManagerApi_1_2 Returns the value of the gravity vector used in the simulation.聽聽 聽 NCalcForceTypesV3_0_0.h Contains structures used in calculateForce() function. NExternalForceTypesV3_0_0.h Contains structures used in externalForce() function. PluginConstants.h Contains constants and declarations used by Contact Model, Particle Body Force, and Factory UDLs.

Contact Model Header Files Header Files Description IPluginContactModel.h Defines the IPluginContactModel interface that all Contact Model UDLs versioned interfaces derive from. IPluginContactModelV3_4_0.h Defines the IPluginContactModelV3_4_0 versionedinterface for contact models. Contains all the main methods to implement. PluginContactModelCore.h Core interface for contact models. Implement the methods contained here to enable EDEM to access your UDL.

Particle Body Force Header Files Header File Description IPluginParticleBodyForce.h Defines the IPluginParticleBodyForce interface that all Particle Body Force versioned interfaces derive from. IPluginParticleBodyForceV3_4_0.h Defines the IPluginParticleBodyFroceV3_3_0 versioned interface for particle body forces. Contains all the main methods to implement.聽聽 聽 PluginParticleBodyForceCore.h Core interface for Particle Body Force UDLs. Implement the methods contained here to enable EDEM to access your UDL.

Factory Header Files Header File Description IPluginParticleFactory.h Defines the PluginParticleFactory UDL interface that all Factory versioned interfaces derive from. IPluginParticleFactoryV2_1_0.h Defines the IPluginParticleFactoryV2_1_0 versioned interface for factories. Contains all the main methods to implement. IPluginParticleFactoryV2_2_0.h Allows API factories to be used with the Cylindrical Periodic boundaries. PluginParticleFactoryCore.h Core interface for factories. Implement the methods contained here to enable EDEM to access your UDL.

Other Header Files Header File Description CGenericFileReader.h聽聽 聽 Provides a generic way to read configuration files. You will also need to compile the CGenericFileReader.cpp file into your UDLs shared library along with other source files.聽聽 聽 HelpersV3_0_0.h Includes various utility classes to help with vector and matrix calculations. HelpersV3_4_0.h This update includes all helpers in sync CUDA API. Giving greater parity between the the CPU and CUDA API.

Example source files (which you can use as the basis for writing your own UDLs) are also available.

(c) 2023 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3