Moved the definition of acForcingVec to host_forcing.cc since it depends on user parameters that may not be defined in all projects

This commit is contained in:
jpekkila
2019-07-04 15:28:18 +03:00
parent 698d04c57d
commit 0884c4bf38
4 changed files with 37 additions and 40 deletions

View File

@@ -272,15 +272,9 @@ AcResult acQuit(void);
unless otherwise stated. */
AcResult acSynchronize(void);
/** */
/** Loads a parameter to the constant memory of all devices */
AcResult acLoadDeviceConstant(const AcRealParam param, const AcReal value);
/** Tool for loading forcing vector information into the device memory
*/
AcResult acForcingVec(const AcReal forcing_magnitude, const AcReal3 k_force,
const AcReal3 ff_hel_re, const AcReal3 ff_hel_im, const AcReal forcing_phase,
const AcReal kaver);
/* End extern "C" */
#ifdef __cplusplus
}