Forcing disabled from autotest and from defaults.

It is not suitable function of the autotest tool. If there in really a
mandatory need to add it. I will need special help from Johannes.
This commit is contained in:
Miikka Vaisala
2019-07-02 18:46:04 +08:00
parent 4766441ffb
commit 334ff868d9
4 changed files with 13 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
Copyright (C) 2014-2018, Johannes Pekkilae, Miikka Vaeisalae.
Copyright (C) 2014-2019, Johannes Pekkilae, Miikka Vaeisalae.
This file is part of Astaroth.
@@ -710,6 +710,8 @@ is_valid(const ModelVector& a)
}
#if 0
//FORCING NOT SUPPORTED FOR AUTOTEST
static inline ModelVector
simple_vortex_forcing(ModelVector a, ModelVector b, ModelScalar magnitude)
@@ -784,6 +786,7 @@ forcing(int3 globalVertexIdx, ModelScalar dt)
if (is_valid(force)) { return force; }
else { return (ModelVector){0, 0, 0}; }
}
#endif
static void
solve_alpha_step(const int step_number, const ModelScalar dt, const int i, const int j, const int k,