Blender  V3.3
manta_fluid_API.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2016 Blender Foundation. All rights reserved. */
3 
8 #ifndef MANTA_API_H
9 #define MANTA_API_H
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 struct MANTA;
16 
17 /* Fluid functions */
18 struct MANTA *manta_init(int *res, struct FluidModifierData *fmd);
19 void manta_free(struct MANTA *fluid);
20 bool manta_ensure_obstacle(struct MANTA *fluid, struct FluidModifierData *fmd);
21 bool manta_ensure_guiding(struct MANTA *fluid, struct FluidModifierData *fmd);
22 bool manta_ensure_invelocity(struct MANTA *fluid, struct FluidModifierData *fmd);
23 bool manta_ensure_outflow(struct MANTA *fluid, struct FluidModifierData *fmd);
24 bool manta_write_config(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
25 bool manta_write_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
26 bool manta_write_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
27 bool manta_read_config(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
28 bool manta_read_data(struct MANTA *fluid,
29  struct FluidModifierData *fmd,
30  int framenr,
31  bool resumable);
32 bool manta_read_noise(struct MANTA *fluid,
33  struct FluidModifierData *fmd,
34  int framenr,
35  bool resumable);
36 bool manta_read_mesh(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
37 bool manta_read_particles(struct MANTA *fluid,
38  struct FluidModifierData *fmd,
39  int framenr,
40  bool resumable);
41 bool manta_read_guiding(struct MANTA *fluid,
42  struct FluidModifierData *fmd,
43  int framenr,
44  bool sourceDomain);
45 bool manta_bake_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
46 bool manta_bake_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
47 bool manta_bake_mesh(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
48 bool manta_bake_particles(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
49 bool manta_bake_guiding(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
50 bool manta_has_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
51 bool manta_has_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
52 bool manta_has_mesh(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
53 bool manta_has_particles(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr);
54 bool manta_has_guiding(struct MANTA *fluid,
55  struct FluidModifierData *fmd,
56  int framenr,
57  bool domain);
58 
59 void manta_update_variables(struct MANTA *fluid, struct FluidModifierData *fmd);
60 int manta_get_frame(struct MANTA *fluid);
61 float manta_get_timestep(struct MANTA *fluid);
62 void manta_adapt_timestep(struct MANTA *fluid);
63 bool manta_needs_realloc(struct MANTA *fluid, struct FluidModifierData *fmd);
64 void manta_update_pointers(struct MANTA *fluid, struct FluidModifierData *fmd, bool flush);
65 
66 /* Fluid accessors */
67 size_t manta_get_index(int x, int max_x, int y, int max_y, int z /*, int max_z */);
68 size_t manta_get_index2d(int x, int max_x, int y /*, int max_y, int z, int max_z */);
69 float *manta_get_velocity_x(struct MANTA *fluid);
70 float *manta_get_velocity_y(struct MANTA *fluid);
71 float *manta_get_velocity_z(struct MANTA *fluid);
72 float *manta_get_ob_velocity_x(struct MANTA *fluid);
73 float *manta_get_ob_velocity_y(struct MANTA *fluid);
74 float *manta_get_ob_velocity_z(struct MANTA *fluid);
75 float *manta_get_guide_velocity_x(struct MANTA *fluid);
76 float *manta_get_guide_velocity_y(struct MANTA *fluid);
77 float *manta_get_guide_velocity_z(struct MANTA *fluid);
78 float *manta_get_in_velocity_x(struct MANTA *fluid);
79 float *manta_get_in_velocity_y(struct MANTA *fluid);
80 float *manta_get_in_velocity_z(struct MANTA *fluid);
81 float *manta_get_force_x(struct MANTA *fluid);
82 float *manta_get_force_y(struct MANTA *fluid);
83 float *manta_get_force_z(struct MANTA *fluid);
84 float *manta_get_phiguide_in(struct MANTA *fluid);
85 float *manta_get_num_obstacle(struct MANTA *fluid);
86 float *manta_get_num_guide(struct MANTA *fluid);
87 int manta_get_res_x(struct MANTA *fluid);
88 int manta_get_res_y(struct MANTA *fluid);
89 int manta_get_res_z(struct MANTA *fluid);
90 float *manta_get_phi_in(struct MANTA *fluid);
91 float *manta_get_phistatic_in(struct MANTA *fluid);
92 float *manta_get_phiobs_in(struct MANTA *fluid);
93 float *manta_get_phiobsstatic_in(struct MANTA *fluid);
94 float *manta_get_phiout_in(struct MANTA *fluid);
95 float *manta_get_phioutstatic_in(struct MANTA *fluid);
96 float *manta_get_phi(struct MANTA *fluid);
97 float *manta_get_pressure(struct MANTA *fluid);
98 
99 /* Smoke functions */
100 bool manta_smoke_export_script(struct MANTA *smoke, struct FluidModifierData *fmd);
101 void manta_smoke_get_rgba(struct MANTA *smoke, float *data, int sequential);
102 void manta_noise_get_rgba(struct MANTA *smoke, float *data, int sequential);
103 void manta_smoke_get_rgba_fixed_color(struct MANTA *smoke,
104  float color[3],
105  float *data,
106  int sequential);
107 void manta_noise_get_rgba_fixed_color(struct MANTA *smoke,
108  float color[3],
109  float *data,
110  int sequential);
111 bool manta_smoke_ensure_heat(struct MANTA *smoke, struct FluidModifierData *fmd);
112 bool manta_smoke_ensure_fire(struct MANTA *smoke, struct FluidModifierData *fmd);
113 bool manta_smoke_ensure_colors(struct MANTA *smoke, struct FluidModifierData *fmd);
114 
115 /* Smoke accessors */
116 float *manta_smoke_get_density(struct MANTA *smoke);
117 float *manta_smoke_get_fuel(struct MANTA *smoke);
118 float *manta_smoke_get_react(struct MANTA *smoke);
119 float *manta_smoke_get_heat(struct MANTA *smoke);
120 float *manta_smoke_get_flame(struct MANTA *smoke);
121 float *manta_smoke_get_shadow(struct MANTA *fluid);
122 float *manta_smoke_get_color_r(struct MANTA *smoke);
123 float *manta_smoke_get_color_g(struct MANTA *smoke);
124 float *manta_smoke_get_color_b(struct MANTA *smoke);
125 int *manta_smoke_get_flags(struct MANTA *smoke);
126 float *manta_smoke_get_density_in(struct MANTA *smoke);
127 float *manta_smoke_get_heat_in(struct MANTA *smoke);
128 float *manta_smoke_get_color_r_in(struct MANTA *smoke);
129 float *manta_smoke_get_color_g_in(struct MANTA *smoke);
130 float *manta_smoke_get_color_b_in(struct MANTA *smoke);
131 float *manta_smoke_get_fuel_in(struct MANTA *smoke);
132 float *manta_smoke_get_react_in(struct MANTA *smoke);
133 float *manta_smoke_get_emission_in(struct MANTA *smoke);
134 bool manta_smoke_has_heat(struct MANTA *smoke);
135 bool manta_smoke_has_fuel(struct MANTA *smoke);
136 bool manta_smoke_has_colors(struct MANTA *smoke);
137 float *manta_noise_get_density(struct MANTA *smoke);
138 float *manta_noise_get_fuel(struct MANTA *smoke);
139 float *manta_noise_get_react(struct MANTA *smoke);
140 float *manta_noise_get_color_r(struct MANTA *smoke);
141 float *manta_noise_get_color_g(struct MANTA *smoke);
142 float *manta_noise_get_color_b(struct MANTA *smoke);
143 float *manta_noise_get_texture_u(struct MANTA *smoke);
144 float *manta_noise_get_texture_v(struct MANTA *smoke);
145 float *manta_noise_get_texture_w(struct MANTA *smoke);
146 float *manta_noise_get_texture_u2(struct MANTA *smoke);
147 float *manta_noise_get_texture_v2(struct MANTA *smoke);
148 float *manta_noise_get_texture_w2(struct MANTA *smoke);
149 float *manta_noise_get_flame(struct MANTA *smoke);
150 bool manta_noise_has_fuel(struct MANTA *smoke);
151 bool manta_noise_has_colors(struct MANTA *smoke);
152 void manta_noise_get_res(struct MANTA *smoke, int *res);
153 int manta_noise_get_cells(struct MANTA *smoke);
154 
155 /* Liquid functions */
156 bool manta_liquid_export_script(struct MANTA *smoke, struct FluidModifierData *fmd);
157 bool manta_liquid_ensure_sndparts(struct MANTA *fluid, struct FluidModifierData *fmd);
158 
159 /* Liquid accessors */
160 int manta_liquid_get_particle_res_x(struct MANTA *liquid);
161 int manta_liquid_get_particle_res_y(struct MANTA *liquid);
162 int manta_liquid_get_particle_res_z(struct MANTA *liquid);
163 int manta_liquid_get_mesh_res_x(struct MANTA *liquid);
164 int manta_liquid_get_mesh_res_y(struct MANTA *liquid);
165 int manta_liquid_get_mesh_res_z(struct MANTA *liquid);
166 int manta_liquid_get_particle_upres(struct MANTA *liquid);
167 int manta_liquid_get_mesh_upres(struct MANTA *liquid);
168 int manta_liquid_get_num_verts(struct MANTA *liquid);
169 int manta_liquid_get_num_normals(struct MANTA *liquid);
170 int manta_liquid_get_num_triangles(struct MANTA *liquid);
171 float manta_liquid_get_vertex_x_at(struct MANTA *liquid, int i);
172 float manta_liquid_get_vertex_y_at(struct MANTA *liquid, int i);
173 float manta_liquid_get_vertex_z_at(struct MANTA *liquid, int i);
174 float manta_liquid_get_normal_x_at(struct MANTA *liquid, int i);
175 float manta_liquid_get_normal_y_at(struct MANTA *liquid, int i);
176 float manta_liquid_get_normal_z_at(struct MANTA *liquid, int i);
177 int manta_liquid_get_triangle_x_at(struct MANTA *liquid, int i);
178 int manta_liquid_get_triangle_y_at(struct MANTA *liquid, int i);
179 int manta_liquid_get_triangle_z_at(struct MANTA *liquid, int i);
180 float manta_liquid_get_vertvel_x_at(struct MANTA *liquid, int i);
181 float manta_liquid_get_vertvel_y_at(struct MANTA *liquid, int i);
182 float manta_liquid_get_vertvel_z_at(struct MANTA *liquid, int i);
183 int manta_liquid_get_num_flip_particles(struct MANTA *liquid);
184 int manta_liquid_get_num_snd_particles(struct MANTA *liquid);
185 int manta_liquid_get_flip_particle_flag_at(struct MANTA *liquid, int i);
186 int manta_liquid_get_snd_particle_flag_at(struct MANTA *liquid, int i);
187 float manta_liquid_get_flip_particle_position_x_at(struct MANTA *liquid, int i);
188 float manta_liquid_get_flip_particle_position_y_at(struct MANTA *liquid, int i);
189 float manta_liquid_get_flip_particle_position_z_at(struct MANTA *liquid, int i);
190 float manta_liquid_get_flip_particle_velocity_x_at(struct MANTA *liquid, int i);
191 float manta_liquid_get_flip_particle_velocity_y_at(struct MANTA *liquid, int i);
192 float manta_liquid_get_flip_particle_velocity_z_at(struct MANTA *liquid, int i);
193 float manta_liquid_get_snd_particle_position_x_at(struct MANTA *liquid, int i);
194 float manta_liquid_get_snd_particle_position_y_at(struct MANTA *liquid, int i);
195 float manta_liquid_get_snd_particle_position_z_at(struct MANTA *liquid, int i);
196 float manta_liquid_get_snd_particle_velocity_x_at(struct MANTA *liquid, int i);
197 float manta_liquid_get_snd_particle_velocity_y_at(struct MANTA *liquid, int i);
198 float manta_liquid_get_snd_particle_velocity_z_at(struct MANTA *liquid, int i);
199 
200 #ifdef __cplusplus
201 }
202 #endif
203 
204 #endif /* MANTA_API_H_ */
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble z
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
int manta_liquid_get_flip_particle_flag_at(struct MANTA *liquid, int i)
int manta_liquid_get_snd_particle_flag_at(struct MANTA *liquid, int i)
float * manta_smoke_get_heat_in(struct MANTA *smoke)
bool manta_has_particles(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float manta_liquid_get_normal_x_at(struct MANTA *liquid, int i)
float * manta_smoke_get_shadow(struct MANTA *fluid)
float * manta_smoke_get_color_g(struct MANTA *smoke)
float * manta_get_force_y(struct MANTA *fluid)
bool manta_has_mesh(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float * manta_get_phiobs_in(struct MANTA *fluid)
float manta_liquid_get_vertex_y_at(struct MANTA *liquid, int i)
float * manta_smoke_get_color_b(struct MANTA *smoke)
float manta_liquid_get_flip_particle_velocity_z_at(struct MANTA *liquid, int i)
float * manta_smoke_get_emission_in(struct MANTA *smoke)
int manta_liquid_get_mesh_res_y(struct MANTA *liquid)
float * manta_noise_get_texture_w2(struct MANTA *smoke)
bool manta_ensure_invelocity(struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_read_guiding(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool sourceDomain)
bool manta_has_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_bake_particles(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float * manta_get_phioutstatic_in(struct MANTA *fluid)
float * manta_smoke_get_fuel(struct MANTA *smoke)
float * manta_smoke_get_heat(struct MANTA *smoke)
bool manta_smoke_ensure_colors(struct MANTA *smoke, struct FluidModifierData *fmd)
void manta_free(struct MANTA *fluid)
bool manta_smoke_has_heat(struct MANTA *smoke)
bool manta_noise_has_colors(struct MANTA *smoke)
int manta_liquid_get_num_triangles(struct MANTA *liquid)
bool manta_bake_mesh(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float manta_get_timestep(struct MANTA *fluid)
float * manta_get_in_velocity_x(struct MANTA *fluid)
bool manta_bake_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float * manta_smoke_get_color_g_in(struct MANTA *smoke)
float * manta_smoke_get_color_b_in(struct MANTA *smoke)
float * manta_noise_get_texture_u2(struct MANTA *smoke)
float * manta_smoke_get_color_r_in(struct MANTA *smoke)
int manta_get_frame(struct MANTA *fluid)
float manta_liquid_get_snd_particle_velocity_z_at(struct MANTA *liquid, int i)
float * manta_get_phistatic_in(struct MANTA *fluid)
float * manta_get_guide_velocity_z(struct MANTA *fluid)
size_t manta_get_index2d(int x, int max_x, int y)
float * manta_smoke_get_density(struct MANTA *smoke)
float * manta_smoke_get_color_r(struct MANTA *smoke)
float manta_liquid_get_flip_particle_velocity_y_at(struct MANTA *liquid, int i)
bool manta_read_mesh(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_liquid_ensure_sndparts(struct MANTA *fluid, struct FluidModifierData *fmd)
float * manta_get_force_x(struct MANTA *fluid)
float * manta_get_velocity_x(struct MANTA *fluid)
float * manta_smoke_get_flame(struct MANTA *smoke)
float * manta_noise_get_texture_v2(struct MANTA *smoke)
bool manta_write_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
int * manta_smoke_get_flags(struct MANTA *smoke)
float * manta_get_phi_in(struct MANTA *fluid)
bool manta_smoke_ensure_fire(struct MANTA *smoke, struct FluidModifierData *fmd)
float * manta_get_velocity_y(struct MANTA *fluid)
int manta_liquid_get_mesh_res_x(struct MANTA *liquid)
void manta_noise_get_rgba(struct MANTA *smoke, float *data, int sequential)
void manta_noise_get_res(struct MANTA *smoke, int *res)
float * manta_noise_get_fuel(struct MANTA *smoke)
bool manta_noise_has_fuel(struct MANTA *smoke)
float manta_liquid_get_vertvel_y_at(struct MANTA *liquid, int i)
int manta_liquid_get_num_verts(struct MANTA *liquid)
bool manta_ensure_obstacle(struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_write_config(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float * manta_get_in_velocity_z(struct MANTA *fluid)
float * manta_noise_get_texture_v(struct MANTA *smoke)
bool manta_needs_realloc(struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_has_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float manta_liquid_get_vertvel_z_at(struct MANTA *liquid, int i)
bool manta_read_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool resumable)
float * manta_get_phi(struct MANTA *fluid)
float * manta_get_num_guide(struct MANTA *fluid)
size_t manta_get_index(int x, int max_x, int y, int max_y, int z)
float manta_liquid_get_flip_particle_position_y_at(struct MANTA *liquid, int i)
int manta_liquid_get_mesh_res_z(struct MANTA *liquid)
bool manta_read_particles(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool resumable)
bool manta_write_noise(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float * manta_get_force_z(struct MANTA *fluid)
float manta_liquid_get_vertvel_x_at(struct MANTA *liquid, int i)
int manta_liquid_get_particle_res_y(struct MANTA *liquid)
float * manta_get_ob_velocity_x(struct MANTA *fluid)
float * manta_get_pressure(struct MANTA *fluid)
int manta_liquid_get_particle_upres(struct MANTA *liquid)
float * manta_smoke_get_fuel_in(struct MANTA *smoke)
bool manta_smoke_ensure_heat(struct MANTA *smoke, struct FluidModifierData *fmd)
float manta_liquid_get_flip_particle_position_z_at(struct MANTA *liquid, int i)
void manta_update_pointers(struct MANTA *fluid, struct FluidModifierData *fmd, bool flush)
bool manta_ensure_guiding(struct MANTA *fluid, struct FluidModifierData *fmd)
int manta_get_res_x(struct MANTA *fluid)
float * manta_noise_get_density(struct MANTA *smoke)
bool manta_read_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool resumable)
float * manta_noise_get_color_b(struct MANTA *smoke)
float * manta_get_ob_velocity_z(struct MANTA *fluid)
float * manta_get_guide_velocity_x(struct MANTA *fluid)
float * manta_get_phiout_in(struct MANTA *fluid)
bool manta_has_guiding(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool domain)
float * manta_noise_get_react(struct MANTA *smoke)
float * manta_noise_get_flame(struct MANTA *smoke)
int manta_get_res_z(struct MANTA *fluid)
bool manta_smoke_has_colors(struct MANTA *smoke)
bool manta_read_config(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float manta_liquid_get_vertex_z_at(struct MANTA *liquid, int i)
int manta_liquid_get_mesh_upres(struct MANTA *liquid)
int manta_get_res_y(struct MANTA *fluid)
int manta_liquid_get_num_normals(struct MANTA *liquid)
float * manta_smoke_get_react_in(struct MANTA *smoke)
float manta_liquid_get_snd_particle_position_z_at(struct MANTA *liquid, int i)
float manta_liquid_get_snd_particle_velocity_y_at(struct MANTA *liquid, int i)
float * manta_get_in_velocity_y(struct MANTA *fluid)
float * manta_get_velocity_z(struct MANTA *fluid)
int manta_liquid_get_num_flip_particles(struct MANTA *liquid)
float * manta_noise_get_texture_w(struct MANTA *smoke)
int manta_liquid_get_triangle_z_at(struct MANTA *liquid, int i)
int manta_liquid_get_particle_res_x(struct MANTA *liquid)
bool manta_smoke_has_fuel(struct MANTA *smoke)
float manta_liquid_get_vertex_x_at(struct MANTA *liquid, int i)
float * manta_smoke_get_react(struct MANTA *smoke)
int manta_noise_get_cells(struct MANTA *smoke)
bool manta_liquid_export_script(struct MANTA *smoke, struct FluidModifierData *fmd)
bool manta_ensure_outflow(struct MANTA *fluid, struct FluidModifierData *fmd)
float manta_liquid_get_normal_y_at(struct MANTA *liquid, int i)
void manta_noise_get_rgba_fixed_color(struct MANTA *smoke, float color[3], float *data, int sequential)
void manta_update_variables(struct MANTA *fluid, struct FluidModifierData *fmd)
float manta_liquid_get_flip_particle_position_x_at(struct MANTA *liquid, int i)
int manta_liquid_get_triangle_x_at(struct MANTA *liquid, int i)
float * manta_get_num_obstacle(struct MANTA *fluid)
float * manta_get_phiguide_in(struct MANTA *fluid)
struct MANTA * manta_init(int *res, struct FluidModifierData *fmd)
float * manta_get_guide_velocity_y(struct MANTA *fluid)
float * manta_get_ob_velocity_y(struct MANTA *fluid)
void manta_adapt_timestep(struct MANTA *fluid)
int manta_liquid_get_triangle_y_at(struct MANTA *liquid, int i)
float manta_liquid_get_snd_particle_position_x_at(struct MANTA *liquid, int i)
float manta_liquid_get_snd_particle_position_y_at(struct MANTA *liquid, int i)
float manta_liquid_get_normal_z_at(struct MANTA *liquid, int i)
float * manta_noise_get_texture_u(struct MANTA *smoke)
bool manta_bake_data(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
void manta_smoke_get_rgba(struct MANTA *smoke, float *data, int sequential)
bool manta_smoke_export_script(struct MANTA *smoke, struct FluidModifierData *fmd)
float manta_liquid_get_snd_particle_velocity_x_at(struct MANTA *liquid, int i)
int manta_liquid_get_particle_res_z(struct MANTA *liquid)
void manta_smoke_get_rgba_fixed_color(struct MANTA *smoke, float color[3], float *data, int sequential)
float * manta_noise_get_color_r(struct MANTA *smoke)
int manta_liquid_get_num_snd_particles(struct MANTA *liquid)
bool manta_bake_guiding(struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
float * manta_get_phiobsstatic_in(struct MANTA *fluid)
float manta_liquid_get_flip_particle_velocity_x_at(struct MANTA *liquid, int i)
float * manta_noise_get_color_g(struct MANTA *smoke)
float * manta_smoke_get_density_in(struct MANTA *smoke)