From 4ff7c5eed6b546ae42692f3a869a5ccc095a9cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Barschkis?= Date: Mon, 16 Dec 2019 15:40:15 +0100 Subject: Mantaflow [Part 1]: Added preprocessed Mantaflow source files Includes preprocessed Mantaflow source files for both OpenMP and TBB (if OpenMP is not present, TBB files will be used instead). These files come directly from the Mantaflow repository. Future updates to the core fluid solver will take place by updating the files. Reviewed By: sergey, mont29 Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3850 --- .../mantaflow/preprocessed/fluidsolver.h.reg.cpp | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 extern/mantaflow/preprocessed/fluidsolver.h.reg.cpp (limited to 'extern/mantaflow/preprocessed/fluidsolver.h.reg.cpp') diff --git a/extern/mantaflow/preprocessed/fluidsolver.h.reg.cpp b/extern/mantaflow/preprocessed/fluidsolver.h.reg.cpp new file mode 100644 index 00000000000..764c7c59021 --- /dev/null +++ b/extern/mantaflow/preprocessed/fluidsolver.h.reg.cpp @@ -0,0 +1,70 @@ + + +// DO NOT EDIT ! +// This file is generated using the MantaFlow preprocessor (prep link). + +#include "fluidsolver.h" +namespace Manta { +#ifdef _C_FluidSolver +static const Pb::Register _R_6("FluidSolver", "Solver", "PbClass"); +template<> const char *Namify::S = "FluidSolver"; +static const Pb::Register _R_7("FluidSolver", "FluidSolver", FluidSolver::_W_0); +static const Pb::Register _R_8("FluidSolver", "getGridSize", FluidSolver::_W_1); +static const Pb::Register _R_9("FluidSolver", "printMemInfo", FluidSolver::_W_2); +static const Pb::Register _R_10("FluidSolver", "step", FluidSolver::_W_3); +static const Pb::Register _R_11("FluidSolver", "adaptTimestep", FluidSolver::_W_4); +static const Pb::Register _R_12("FluidSolver", "create", FluidSolver::_W_5); +static const Pb::Register _R_13("FluidSolver", + "timestep", + FluidSolver::_GET_mDt, + FluidSolver::_SET_mDt); +static const Pb::Register _R_14("FluidSolver", + "timeTotal", + FluidSolver::_GET_mTimeTotal, + FluidSolver::_SET_mTimeTotal); +static const Pb::Register _R_15("FluidSolver", + "frame", + FluidSolver::_GET_mFrame, + FluidSolver::_SET_mFrame); +static const Pb::Register _R_16("FluidSolver", + "cfl", + FluidSolver::_GET_mCflCond, + FluidSolver::_SET_mCflCond); +static const Pb::Register _R_17("FluidSolver", + "timestepMin", + FluidSolver::_GET_mDtMin, + FluidSolver::_SET_mDtMin); +static const Pb::Register _R_18("FluidSolver", + "timestepMax", + FluidSolver::_GET_mDtMax, + FluidSolver::_SET_mDtMax); +static const Pb::Register _R_19("FluidSolver", + "frameLength", + FluidSolver::_GET_mFrameLength, + FluidSolver::_SET_mFrameLength); +static const Pb::Register _R_20("FluidSolver", + "timePerFrame", + FluidSolver::_GET_mTimePerFrame, + FluidSolver::_SET_mTimePerFrame); +#endif +extern "C" { +void PbRegister_file_6() +{ + KEEP_UNUSED(_R_6); + KEEP_UNUSED(_R_7); + KEEP_UNUSED(_R_8); + KEEP_UNUSED(_R_9); + KEEP_UNUSED(_R_10); + KEEP_UNUSED(_R_11); + KEEP_UNUSED(_R_12); + KEEP_UNUSED(_R_13); + KEEP_UNUSED(_R_14); + KEEP_UNUSED(_R_15); + KEEP_UNUSED(_R_16); + KEEP_UNUSED(_R_17); + KEEP_UNUSED(_R_18); + KEEP_UNUSED(_R_19); + KEEP_UNUSED(_R_20); +} +} +} // namespace Manta \ No newline at end of file -- cgit v1.2.3