Deprecated a block of old code that was used a long time ago for testing forcing

This commit is contained in:
jpekkila
2019-07-03 17:10:01 +03:00
parent 945751e585
commit d54ccc1da8

View File

@@ -739,17 +739,20 @@ read_out(const int idx, AcReal* __restrict__ field[], const int3 handle)
* =============================================================================
*/
/* // DEPRECATED
static AcReal
randf(void)
{
return AcReal(rand()) / AcReal(RAND_MAX);
}
*/
AcResult
rk3_step_async(const cudaStream_t stream, const int& step_number, const int3& start,
const int3& end, const AcReal dt, VertexBufferArray* buffer)
{
const dim3 tpb(32, 1, 4);
/* // DEPRECATED
/////////////////// Forcing
#if LFORCING
const AcReal ff_scale = AcReal(.2);
@@ -764,6 +767,7 @@ rk3_step_async(const cudaStream_t stream, const int& step_number, const int3& st
stream);
#endif // LFORCING
//////////////////////////
*/
const int nx = end.x - start.x;
const int ny = end.y - start.y;