diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-24 16:47:20 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-24 16:47:20 +0300 |
commit | 7f780bffd6e621c0cd3378e7919b90c7d9103ec4 (patch) | |
tree | 0c266fda9b7ac001d81a9eb327f66fc34800dc87 /intern/elbeem/extern | |
parent | 0ac35ca7c185f8e8f462b4ec06ad28c7f136e82e (diff) |
2.5
Made API for elbeem sane; it was prototyping and exporting
functions from old src/ !
Note; elbeem.h is not exported anymore.
Diffstat (limited to 'intern/elbeem/extern')
-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); |