Merge branch 'master' into alt_bcond_2020_09

This commit is contained in:
Miikka Vaisala
2020-11-23 15:47:46 +08:00
14 changed files with 238 additions and 65 deletions

View File

@@ -298,6 +298,9 @@ Resets all devices on the current grid.
*/
AcResult acGridQuit(void);
/** Randomizes the local mesh */
AcResult acGridRandomize(void);
/** */
AcResult acGridSynchronizeStream(const Stream stream);
@@ -633,6 +636,9 @@ AcResult acUpdateBuiltinParams(AcMeshInfo* config);
/** Creates a mesh stored in host memory */
AcResult acMeshCreate(const AcMeshInfo mesh_info, AcMesh* mesh);
/** Randomizes a host mesh */
AcResult acMeshRandomize(AcMesh* mesh);
/** Destroys a mesh stored in host memory */
AcResult acMeshDestroy(AcMesh* mesh);

View File

@@ -50,9 +50,6 @@ AcResult acVertexBufferSet(const VertexBufferHandle handle, const AcReal value,
/** */
AcResult acMeshSet(const AcReal value, AcMesh* mesh);
/** */
AcResult acMeshRandomize(AcMesh* mesh);
/** */
AcResult acMeshApplyPeriodicBounds(AcMesh* mesh);