Deprecated a block of old code that was used a long time ago for testing forcing
This commit is contained in:
@@ -739,17 +739,20 @@ read_out(const int idx, AcReal* __restrict__ field[], const int3 handle)
|
|||||||
* =============================================================================
|
* =============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* // DEPRECATED
|
||||||
static AcReal
|
static AcReal
|
||||||
randf(void)
|
randf(void)
|
||||||
{
|
{
|
||||||
return AcReal(rand()) / AcReal(RAND_MAX);
|
return AcReal(rand()) / AcReal(RAND_MAX);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
AcResult
|
AcResult
|
||||||
rk3_step_async(const cudaStream_t stream, const int& step_number, const int3& start,
|
rk3_step_async(const cudaStream_t stream, const int& step_number, const int3& start,
|
||||||
const int3& end, const AcReal dt, VertexBufferArray* buffer)
|
const int3& end, const AcReal dt, VertexBufferArray* buffer)
|
||||||
{
|
{
|
||||||
const dim3 tpb(32, 1, 4);
|
const dim3 tpb(32, 1, 4);
|
||||||
|
/* // DEPRECATED
|
||||||
/////////////////// Forcing
|
/////////////////// Forcing
|
||||||
#if LFORCING
|
#if LFORCING
|
||||||
const AcReal ff_scale = AcReal(.2);
|
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);
|
stream);
|
||||||
#endif // LFORCING
|
#endif // LFORCING
|
||||||
//////////////////////////
|
//////////////////////////
|
||||||
|
*/
|
||||||
|
|
||||||
const int nx = end.x - start.x;
|
const int nx = end.x - start.x;
|
||||||
const int ny = end.y - start.y;
|
const int ny = end.y - start.y;
|
||||||
|
Reference in New Issue
Block a user