diff options
-rw-r--r-- | intern/elbeem/extern/LBM_fluidsim.h | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/intern/elbeem/extern/LBM_fluidsim.h b/intern/elbeem/extern/LBM_fluidsim.h index dd8c63d0d39..ec30d65af20 100644 --- a/intern/elbeem/extern/LBM_fluidsim.h +++ b/intern/elbeem/extern/LBM_fluidsim.h @@ -31,36 +31,11 @@ #ifndef LBM_FLUIDSIM_H #define LBM_FLUIDSIM_H -struct Mesh; -struct DerivedMesh; -struct Object; -struct fluidsimDerivedMesh; - -extern double fluidsimViscosityPreset[6]; -extern char* fluidsimViscosityPresetString[6]; - -/* allocates and initializes fluidsim data */ -struct FluidsimSettings* fluidsimSettingsNew(struct Object *srcob); - -/* frees internal data itself */ -void fluidsimSettingsFree(struct FluidsimSettings* sb); - -/* duplicate internal data */ -struct FluidsimSettings* fluidsimSettingsCopy(struct FluidsimSettings* sb); - -/* export blender geometry to fluid solver */ -void fluidsimBake(struct Object* ob); - -/* read & write bobj / bobj.gz files (e.g. for fluid sim surface meshes) */ -void writeBobjgz(char *filename, struct Object *ob, int useGlobalCoords, int append, float time); -struct Mesh* readBobjgz(char *filename, struct Mesh *orgmesh, float* bbstart, float *bbsize); - -/* create derived mesh for fluid sim objects */ -// WARNING - currently implemented in DerivedMesh.c! -void loadFluidsimMesh(struct Object *srcob, int useRenderParams); +/* note; elbeem.h was exported all over, should only expose LBM_fluidsim.h */ +#include "elbeem.h" /* run simulation with given config file */ -// WARNING - implemented in intern/elbeem/blendercall.cpp +// implemented in intern/elbeem/blendercall.cpp int performElbeemSimulation(char *cfgfilename); |