Various intermediate changes

This commit is contained in:
jpekkila
2019-07-31 17:48:48 +03:00
parent 6b55fce54a
commit 5be775dbff
8 changed files with 43 additions and 1185 deletions

View File

@@ -103,21 +103,18 @@ AcResult acDeviceTransferVertexBuffer(const Device src_device, const Stream stre
AcResult acDeviceTransferMesh(const Device src_device, const Stream stream, Device* dst_device);
/** */
AcResult acDeviceIntegrateSubstep(const Device device, const StreamType stream_type,
const int step_number, const int3 start, const int3 end,
const AcReal dt);
AcResult acDeviceIntegrateSubstep(const Device device, const Stream stream, const int step_number,
const int3 start, const int3 end, const AcReal dt);
/** */
AcResult acDevicePeriodicBoundcondStep(const Device device, const StreamType stream_type,
const int3 start, const int3 end);
AcResult acDevicePeriodicBoundcondStep(const Device device, const Stream stream, const int3 start,
const int3 end);
/** */
AcResult acDeviceReduceScal(const Device device, const StreamType stream_type,
const ReductionType rtype, const VertexBufferHandle vtxbuf_handle,
AcReal* result);
AcResult acDeviceReduceScal(const Device device, const Stream stream, const ReductionType rtype,
const VertexBufferHandle vtxbuf_handle, AcReal* result);
/** */
AcResult acDeviceReduceVec(const Device device, const StreamType stream_type,
const ReductionType rtype, const VertexBufferHandle vec0,
const VertexBufferHandle vec1, const VertexBufferHandle vec2,
AcReal* result);
AcResult acDeviceReduceVec(const Device device, const Stream stream, const ReductionType rtype,
const VertexBufferHandle vec0, const VertexBufferHandle vec1,
const VertexBufferHandle vec2, AcReal* result);
#ifdef __cplusplus
} // extern "C"

View File

@@ -89,16 +89,15 @@ AcResult acGridTransferVertexBuffer(const Stream stream, const VertexBufferHandl
AcResult acGridTransferMesh(const Stream stream);
/** */
AcResult acGridIntegrateSubstep(const StreamType stream_type, const int step_number,
const int3 start, const int3 end, const AcReal dt);
AcResult acGridIntegrateSubstep(const Stream stream, const int step_number, const int3 start,
const int3 end, const AcReal dt);
/** */
AcResult acGridPeriodicBoundcondStep(const StreamType stream_type, const int3 start,
const int3 end);
AcResult acGridPeriodicBoundcondStep(const Stream stream, const int3 start, const int3 end);
/** */
AcResult acGridReduceScal(const StreamType stream_type, const ReductionType rtype,
AcResult acGridReduceScal(const Stream stream, const ReductionType rtype,
const VertexBufferHandle vtxbuf_handle, AcReal* result);
/** */
AcResult acGridReduceVec(const StreamType stream_type, const ReductionType rtype,
AcResult acGridReduceVec(const Stream stream, const ReductionType rtype,
const VertexBufferHandle vec0, const VertexBufferHandle vec1,
const VertexBufferHandle vec2, AcReal* result);

View File

@@ -104,17 +104,16 @@ AcResult acNodeTransferVertexBuffer(const Node src_node, const Stream stream,
AcResult acNodeTransferMesh(const Node src_node, const Stream stream, Node* dst_node);
/** */
AcResult acNodeIntegrateSubstep(const Node node, const StreamType stream_type,
const int step_number, const int3 start, const int3 end,
const AcReal dt);
AcResult acNodeIntegrateSubstep(const Node node, const Stream stream, const int step_number,
const int3 start, const int3 end, const AcReal dt);
/** */
AcResult acNodePeriodicBoundcondStep(const Node node, const StreamType stream_type,
const int3 start, const int3 end);
AcResult acNodePeriodicBoundcondStep(const Node node, const Stream stream, const int3 start,
const int3 end);
/** */
AcResult acNodeReduceScal(const Node node, const StreamType stream_type, const ReductionType rtype,
AcResult acNodeReduceScal(const Node node, const Stream stream, const ReductionType rtype,
const VertexBufferHandle vtxbuf_handle, AcReal* result);
/** */
AcResult acNodeReduceVec(const Node node, const StreamType stream_type, const ReductionType rtype,
AcResult acNodeReduceVec(const Node node, const Stream stream, const ReductionType rtype,
const VertexBufferHandle vec0, const VertexBufferHandle vec1,
const VertexBufferHandle vec2, AcReal* result);