Blender V4.5
manta_fluid_API.h File Reference
#include <cstddef>

Go to the source code of this file.

Functions

struct MANTAmanta_init (int *res, struct FluidModifierData *fmd)
void manta_free (struct MANTA *fluid)
bool manta_ensure_obstacle (struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_ensure_guiding (struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_ensure_invelocity (struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_ensure_outflow (struct MANTA *fluid, struct FluidModifierData *fmd)
bool manta_write_config (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_write_data (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_write_noise (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_read_config (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_read_data (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool resumable)
bool manta_read_noise (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool resumable)
bool manta_read_mesh (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_read_particles (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool resumable)
bool manta_read_guiding (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool sourceDomain)
bool manta_bake_data (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_bake_noise (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_bake_mesh (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_bake_particles (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_bake_guiding (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_has_data (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_has_noise (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_has_mesh (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_has_particles (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr)
bool manta_has_guiding (struct MANTA *fluid, struct FluidModifierData *fmd, int framenr, bool domain)
void manta_update_variables (struct MANTA *fluid, struct FluidModifierData *fmd)
int manta_get_frame (struct MANTA *fluid)
float manta_get_timestep (struct MANTA *fluid)
void manta_adapt_timestep (struct MANTA *fluid)
bool manta_needs_realloc (struct MANTA *fluid, struct FluidModifierData *fmd)
void manta_update_pointers (struct MANTA *fluid, struct FluidModifierData *fmd, bool flush)
size_t manta_get_index (int x, int max_x, int y, int max_y, int z)
size_t manta_get_index2d (int x, int max_x, int y)
float * manta_get_velocity_x (struct MANTA *fluid)
float * manta_get_velocity_y (struct MANTA *fluid)
float * manta_get_velocity_z (struct MANTA *fluid)
float * manta_get_ob_velocity_x (struct MANTA *fluid)
float * manta_get_ob_velocity_y (struct MANTA *fluid)
float * manta_get_ob_velocity_z (struct MANTA *fluid)
float * manta_get_guide_velocity_x (struct MANTA *fluid)
float * manta_get_guide_velocity_y (struct MANTA *fluid)
float * manta_get_guide_velocity_z (struct MANTA *fluid)
float * manta_get_in_velocity_x (struct MANTA *fluid)
float * manta_get_in_velocity_y (struct MANTA *fluid)
float * manta_get_in_velocity_z (struct MANTA *fluid)
float * manta_get_force_x (struct MANTA *fluid)
float * manta_get_force_y (struct MANTA *fluid)
float * manta_get_force_z (struct MANTA *fluid)
float * manta_get_phiguide_in (struct MANTA *fluid)
float * manta_get_num_obstacle (struct MANTA *fluid)
float * manta_get_num_guide (struct MANTA *fluid)
int manta_get_res_x (struct MANTA *fluid)
int manta_get_res_y (struct MANTA *fluid)
int manta_get_res_z (struct MANTA *fluid)
float * manta_get_phi_in (struct MANTA *fluid)
float * manta_get_phistatic_in (struct MANTA *fluid)
float * manta_get_phiobs_in (struct MANTA *fluid)
float * manta_get_phiobsstatic_in (struct MANTA *fluid)
float * manta_get_phiout_in (struct MANTA *fluid)
float * manta_get_phioutstatic_in (struct MANTA *fluid)
float * manta_get_phi (struct MANTA *fluid)
float * manta_get_pressure (struct MANTA *fluid)
bool manta_smoke_export_script (struct MANTA *smoke, struct FluidModifierData *fmd)
void manta_smoke_get_rgba (struct MANTA *smoke, float *data, int sequential)
void manta_noise_get_rgba (struct MANTA *smoke, float *data, int sequential)
void manta_smoke_get_rgba_fixed_color (struct MANTA *smoke, float color[3], float *data, int sequential)
void manta_noise_get_rgba_fixed_color (struct MANTA *smoke, float color[3], float *data, int sequential)
bool manta_smoke_ensure_heat (struct MANTA *smoke, struct FluidModifierData *fmd)
bool manta_smoke_ensure_fire (struct MANTA *smoke, struct FluidModifierData *fmd)
bool manta_smoke_ensure_colors (struct MANTA *smoke, struct FluidModifierData *fmd)
float * manta_smoke_get_density (struct MANTA *smoke)
float * manta_smoke_get_fuel (struct MANTA *smoke)
float * manta_smoke_get_react (struct MANTA *smoke)
float * manta_smoke_get_heat (struct MANTA *smoke)
float * manta_smoke_get_flame (struct MANTA *smoke)
float * manta_smoke_get_shadow (struct MANTA *smoke)
float * manta_smoke_get_color_r (struct MANTA *smoke)
float * manta_smoke_get_color_g (struct MANTA *smoke)
float * manta_smoke_get_color_b (struct MANTA *smoke)
int * manta_smoke_get_flags (struct MANTA *smoke)
float * manta_smoke_get_density_in (struct MANTA *smoke)
float * manta_smoke_get_heat_in (struct MANTA *smoke)
float * manta_smoke_get_color_r_in (struct MANTA *smoke)
float * manta_smoke_get_color_g_in (struct MANTA *smoke)
float * manta_smoke_get_color_b_in (struct MANTA *smoke)
float * manta_smoke_get_fuel_in (struct MANTA *smoke)
float * manta_smoke_get_react_in (struct MANTA *smoke)
float * manta_smoke_get_emission_in (struct MANTA *smoke)
bool manta_smoke_has_heat (struct MANTA *smoke)
bool manta_smoke_has_fuel (struct MANTA *smoke)
bool manta_smoke_has_colors (struct MANTA *smoke)
float * manta_noise_get_density (struct MANTA *smoke)
float * manta_noise_get_fuel (struct MANTA *smoke)
float * manta_noise_get_react (struct MANTA *smoke)
float * manta_noise_get_color_r (struct MANTA *smoke)
float * manta_noise_get_color_g (struct MANTA *smoke)
float * manta_noise_get_color_b (struct MANTA *smoke)
float * manta_noise_get_texture_u (struct MANTA *smoke)
float * manta_noise_get_texture_v (struct MANTA *smoke)
float * manta_noise_get_texture_w (struct MANTA *smoke)
float * manta_noise_get_texture_u2 (struct MANTA *smoke)
float * manta_noise_get_texture_v2 (struct MANTA *smoke)
float * manta_noise_get_texture_w2 (struct MANTA *smoke)
float * manta_noise_get_flame (struct MANTA *smoke)
bool manta_noise_has_fuel (struct MANTA *smoke)
bool manta_noise_has_colors (struct MANTA *smoke)
void manta_noise_get_res (struct MANTA *smoke, int *res)
int manta_noise_get_cells (struct MANTA *smoke)
bool manta_liquid_export_script (struct MANTA *liquid, struct FluidModifierData *fmd)
bool manta_liquid_ensure_sndparts (struct MANTA *liquid, struct FluidModifierData *fmd)
int manta_liquid_get_particle_res_x (struct MANTA *liquid)
int manta_liquid_get_particle_res_y (struct MANTA *liquid)
int manta_liquid_get_particle_res_z (struct MANTA *liquid)
int manta_liquid_get_mesh_res_x (struct MANTA *liquid)
int manta_liquid_get_mesh_res_y (struct MANTA *liquid)
int manta_liquid_get_mesh_res_z (struct MANTA *liquid)
int manta_liquid_get_particle_upres (struct MANTA *liquid)
int manta_liquid_get_mesh_upres (struct MANTA *liquid)
int manta_liquid_get_num_verts (struct MANTA *liquid)
int manta_liquid_get_num_normals (struct MANTA *liquid)
int manta_liquid_get_num_triangles (struct MANTA *liquid)
float manta_liquid_get_vertex_x_at (struct MANTA *liquid, int i)
float manta_liquid_get_vertex_y_at (struct MANTA *liquid, int i)
float manta_liquid_get_vertex_z_at (struct MANTA *liquid, int i)
float manta_liquid_get_normal_x_at (struct MANTA *liquid, int i)
float manta_liquid_get_normal_y_at (struct MANTA *liquid, int i)
float manta_liquid_get_normal_z_at (struct MANTA *liquid, int i)
int manta_liquid_get_triangle_x_at (struct MANTA *liquid, int i)
int manta_liquid_get_triangle_y_at (struct MANTA *liquid, int i)
int manta_liquid_get_triangle_z_at (struct MANTA *liquid, int i)
float manta_liquid_get_vertvel_x_at (struct MANTA *liquid, int i)
float manta_liquid_get_vertvel_y_at (struct MANTA *liquid, int i)
float manta_liquid_get_vertvel_z_at (struct MANTA *liquid, int i)
int manta_liquid_get_num_flip_particles (struct MANTA *liquid)
int manta_liquid_get_num_snd_particles (struct MANTA *liquid)
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_liquid_get_flip_particle_position_x_at (struct MANTA *liquid, int i)
float manta_liquid_get_flip_particle_position_y_at (struct MANTA *liquid, int i)
float manta_liquid_get_flip_particle_position_z_at (struct MANTA *liquid, int i)
float manta_liquid_get_flip_particle_velocity_x_at (struct MANTA *liquid, int i)
float manta_liquid_get_flip_particle_velocity_y_at (struct MANTA *liquid, int i)
float manta_liquid_get_flip_particle_velocity_z_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_snd_particle_position_z_at (struct MANTA *liquid, int i)
float manta_liquid_get_snd_particle_velocity_x_at (struct MANTA *liquid, int i)
float manta_liquid_get_snd_particle_velocity_y_at (struct MANTA *liquid, int i)
float manta_liquid_get_snd_particle_velocity_z_at (struct MANTA *liquid, int i)

Function Documentation

◆ manta_adapt_timestep()

void manta_adapt_timestep ( struct MANTA * fluid)

Definition at line 149 of file manta_fluid_API.cpp.

References MANTA::adaptTimestep(), and manta_adapt_timestep().

Referenced by manta_adapt_timestep().

◆ manta_bake_data()

bool manta_bake_data ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 84 of file manta_fluid_API.cpp.

References MANTA::bakeData(), and manta_bake_data().

Referenced by manta_bake_data().

◆ manta_bake_guiding()

bool manta_bake_guiding ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 104 of file manta_fluid_API.cpp.

References MANTA::bakeGuiding(), and manta_bake_guiding().

Referenced by manta_bake_guiding().

◆ manta_bake_mesh()

bool manta_bake_mesh ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 94 of file manta_fluid_API.cpp.

References MANTA::bakeMesh(), and manta_bake_mesh().

Referenced by manta_bake_mesh().

◆ manta_bake_noise()

bool manta_bake_noise ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 89 of file manta_fluid_API.cpp.

References MANTA::bakeNoise(), and manta_bake_noise().

Referenced by manta_bake_noise().

◆ manta_bake_particles()

bool manta_bake_particles ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 99 of file manta_fluid_API.cpp.

References MANTA::bakeParticles(), and manta_bake_particles().

Referenced by manta_bake_particles().

◆ manta_ensure_guiding()

bool manta_ensure_guiding ( struct MANTA * fluid,
struct FluidModifierData * fmd )

Definition at line 26 of file manta_fluid_API.cpp.

References MANTA::initGuiding(), and manta_ensure_guiding().

Referenced by manta_ensure_guiding().

◆ manta_ensure_invelocity()

bool manta_ensure_invelocity ( struct MANTA * fluid,
struct FluidModifierData * fmd )

Definition at line 30 of file manta_fluid_API.cpp.

References MANTA::initInVelocity(), and manta_ensure_invelocity().

Referenced by manta_ensure_invelocity().

◆ manta_ensure_obstacle()

bool manta_ensure_obstacle ( struct MANTA * fluid,
struct FluidModifierData * fmd )

Definition at line 22 of file manta_fluid_API.cpp.

References MANTA::initObstacle(), and manta_ensure_obstacle().

Referenced by manta_ensure_obstacle().

◆ manta_ensure_outflow()

bool manta_ensure_outflow ( struct MANTA * fluid,
struct FluidModifierData * fmd )

Definition at line 34 of file manta_fluid_API.cpp.

References MANTA::initOutflow(), and manta_ensure_outflow().

Referenced by manta_ensure_outflow().

◆ manta_free()

void manta_free ( struct MANTA * fluid)

Definition at line 17 of file manta_fluid_API.cpp.

References manta_free().

Referenced by fluid_modifier_freeDomain(), fluid_modifier_reset_ex(), and manta_free().

◆ manta_get_force_x()

float * manta_get_force_x ( struct MANTA * fluid)

Definition at line 225 of file manta_fluid_API.cpp.

References MANTA::getForceX(), and manta_get_force_x().

Referenced by manta_get_force_x().

◆ manta_get_force_y()

float * manta_get_force_y ( struct MANTA * fluid)

Definition at line 229 of file manta_fluid_API.cpp.

References MANTA::getForceY(), and manta_get_force_y().

Referenced by manta_get_force_y().

◆ manta_get_force_z()

float * manta_get_force_z ( struct MANTA * fluid)

Definition at line 233 of file manta_fluid_API.cpp.

References MANTA::getForceZ(), and manta_get_force_z().

Referenced by manta_get_force_z().

◆ manta_get_frame()

int manta_get_frame ( struct MANTA * fluid)

Definition at line 139 of file manta_fluid_API.cpp.

References MANTA::getFrame(), and manta_get_frame().

Referenced by manta_get_frame().

◆ manta_get_guide_velocity_x()

float * manta_get_guide_velocity_x ( struct MANTA * fluid)

◆ manta_get_guide_velocity_y()

float * manta_get_guide_velocity_y ( struct MANTA * fluid)

◆ manta_get_guide_velocity_z()

float * manta_get_guide_velocity_z ( struct MANTA * fluid)

◆ manta_get_in_velocity_x()

float * manta_get_in_velocity_x ( struct MANTA * fluid)

Definition at line 212 of file manta_fluid_API.cpp.

References MANTA::getInVelocityX(), and manta_get_in_velocity_x().

Referenced by manta_get_in_velocity_x().

◆ manta_get_in_velocity_y()

float * manta_get_in_velocity_y ( struct MANTA * fluid)

Definition at line 216 of file manta_fluid_API.cpp.

References MANTA::getInVelocityY(), and manta_get_in_velocity_y().

Referenced by manta_get_in_velocity_y().

◆ manta_get_in_velocity_z()

float * manta_get_in_velocity_z ( struct MANTA * fluid)

Definition at line 220 of file manta_fluid_API.cpp.

References MANTA::getInVelocityZ(), and manta_get_in_velocity_z().

Referenced by manta_get_in_velocity_z().

◆ manta_get_index()

size_t manta_get_index ( int x,
int max_x,
int y,
int max_y,
int z )

Definition at line 165 of file manta_fluid_API.cpp.

References manta_get_index(), x, y, and z().

Referenced by manta_get_index().

◆ manta_get_index2d()

size_t manta_get_index2d ( int x,
int max_x,
int y )

Definition at line 169 of file manta_fluid_API.cpp.

References manta_get_index2d(), x, and y.

Referenced by manta_get_index2d().

◆ manta_get_num_guide()

float * manta_get_num_guide ( struct MANTA * fluid)

Definition at line 247 of file manta_fluid_API.cpp.

References MANTA::getNumGuide(), and manta_get_num_guide().

Referenced by manta_get_num_guide().

◆ manta_get_num_obstacle()

float * manta_get_num_obstacle ( struct MANTA * fluid)

Definition at line 243 of file manta_fluid_API.cpp.

References MANTA::getNumObstacle(), and manta_get_num_obstacle().

Referenced by manta_get_num_obstacle().

◆ manta_get_ob_velocity_x()

float * manta_get_ob_velocity_x ( struct MANTA * fluid)

Definition at line 186 of file manta_fluid_API.cpp.

References MANTA::getObVelocityX(), and manta_get_ob_velocity_x().

Referenced by manta_get_ob_velocity_x().

◆ manta_get_ob_velocity_y()

float * manta_get_ob_velocity_y ( struct MANTA * fluid)

Definition at line 190 of file manta_fluid_API.cpp.

References MANTA::getObVelocityY(), and manta_get_ob_velocity_y().

Referenced by manta_get_ob_velocity_y().

◆ manta_get_ob_velocity_z()

float * manta_get_ob_velocity_z ( struct MANTA * fluid)

Definition at line 194 of file manta_fluid_API.cpp.

References MANTA::getObVelocityZ(), and manta_get_ob_velocity_z().

Referenced by manta_get_ob_velocity_z().

◆ manta_get_phi()

float * manta_get_phi ( struct MANTA * fluid)

Definition at line 289 of file manta_fluid_API.cpp.

References MANTA::getPhi(), and manta_get_phi().

Referenced by manta_get_phi().

◆ manta_get_phi_in()

float * manta_get_phi_in ( struct MANTA * fluid)

Definition at line 265 of file manta_fluid_API.cpp.

References MANTA::getPhiIn(), and manta_get_phi_in().

Referenced by manta_get_phi_in().

◆ manta_get_phiguide_in()

float * manta_get_phiguide_in ( struct MANTA * fluid)

Definition at line 238 of file manta_fluid_API.cpp.

References MANTA::getPhiGuideIn(), and manta_get_phiguide_in().

Referenced by manta_get_phiguide_in().

◆ manta_get_phiobs_in()

float * manta_get_phiobs_in ( struct MANTA * fluid)

Definition at line 273 of file manta_fluid_API.cpp.

References MANTA::getPhiObsIn(), and manta_get_phiobs_in().

Referenced by manta_get_phiobs_in().

◆ manta_get_phiobsstatic_in()

float * manta_get_phiobsstatic_in ( struct MANTA * fluid)

◆ manta_get_phiout_in()

float * manta_get_phiout_in ( struct MANTA * fluid)

Definition at line 281 of file manta_fluid_API.cpp.

References MANTA::getPhiOutIn(), and manta_get_phiout_in().

Referenced by manta_get_phiout_in().

◆ manta_get_phioutstatic_in()

float * manta_get_phioutstatic_in ( struct MANTA * fluid)

◆ manta_get_phistatic_in()

float * manta_get_phistatic_in ( struct MANTA * fluid)

Definition at line 269 of file manta_fluid_API.cpp.

References MANTA::getPhiStaticIn(), and manta_get_phistatic_in().

Referenced by manta_get_phistatic_in().

◆ manta_get_pressure()

float * manta_get_pressure ( struct MANTA * fluid)

Definition at line 293 of file manta_fluid_API.cpp.

References MANTA::getPressure(), and manta_get_pressure().

Referenced by manta_get_pressure().

◆ manta_get_res_x()

int manta_get_res_x ( struct MANTA * fluid)

Definition at line 252 of file manta_fluid_API.cpp.

References MANTA::getResX(), and manta_get_res_x().

Referenced by manta_get_res_x(), and particles_fluid_step().

◆ manta_get_res_y()

int manta_get_res_y ( struct MANTA * fluid)

Definition at line 256 of file manta_fluid_API.cpp.

References MANTA::getResY(), and manta_get_res_y().

Referenced by manta_get_res_y(), and particles_fluid_step().

◆ manta_get_res_z()

int manta_get_res_z ( struct MANTA * fluid)

Definition at line 260 of file manta_fluid_API.cpp.

References MANTA::getResZ(), and manta_get_res_z().

Referenced by manta_get_res_z(), and particles_fluid_step().

◆ manta_get_timestep()

float manta_get_timestep ( struct MANTA * fluid)

Definition at line 144 of file manta_fluid_API.cpp.

References MANTA::getTimestep(), and manta_get_timestep().

Referenced by manta_get_timestep().

◆ manta_get_velocity_x()

float * manta_get_velocity_x ( struct MANTA * fluid)

Definition at line 173 of file manta_fluid_API.cpp.

References MANTA::getVelocityX(), and manta_get_velocity_x().

Referenced by manta_get_velocity_x().

◆ manta_get_velocity_y()

float * manta_get_velocity_y ( struct MANTA * fluid)

Definition at line 177 of file manta_fluid_API.cpp.

References MANTA::getVelocityY(), and manta_get_velocity_y().

Referenced by manta_get_velocity_y().

◆ manta_get_velocity_z()

float * manta_get_velocity_z ( struct MANTA * fluid)

Definition at line 181 of file manta_fluid_API.cpp.

References MANTA::getVelocityZ(), and manta_get_velocity_z().

Referenced by manta_get_velocity_z().

◆ manta_has_data()

bool manta_has_data ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 109 of file manta_fluid_API.cpp.

References MANTA::hasData(), and manta_has_data().

Referenced by manta_has_data().

◆ manta_has_guiding()

bool manta_has_guiding ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr,
bool domain )

Definition at line 129 of file manta_fluid_API.cpp.

References MANTA::hasGuiding(), and manta_has_guiding().

Referenced by manta_has_guiding().

◆ manta_has_mesh()

bool manta_has_mesh ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 119 of file manta_fluid_API.cpp.

References MANTA::hasMesh(), and manta_has_mesh().

Referenced by manta_has_mesh().

◆ manta_has_noise()

bool manta_has_noise ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 114 of file manta_fluid_API.cpp.

References MANTA::hasNoise(), and manta_has_noise().

Referenced by manta_has_noise().

◆ manta_has_particles()

bool manta_has_particles ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 124 of file manta_fluid_API.cpp.

References MANTA::hasParticles(), and manta_has_particles().

Referenced by manta_has_particles().

◆ manta_init()

struct MANTA * manta_init ( int * res,
struct FluidModifierData * fmd )

Definition at line 13 of file manta_fluid_API.cpp.

References MANTA::MANTA(), and manta_init().

Referenced by manta_init().

◆ manta_liquid_ensure_sndparts()

bool manta_liquid_ensure_sndparts ( struct MANTA * liquid,
struct FluidModifierData * fmd )

◆ manta_liquid_export_script()

bool manta_liquid_export_script ( struct MANTA * liquid,
struct FluidModifierData * fmd )

◆ manta_liquid_get_flip_particle_flag_at()

int manta_liquid_get_flip_particle_flag_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_flip_particle_position_x_at()

float manta_liquid_get_flip_particle_position_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_flip_particle_position_y_at()

float manta_liquid_get_flip_particle_position_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_flip_particle_position_z_at()

float manta_liquid_get_flip_particle_position_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_flip_particle_velocity_x_at()

float manta_liquid_get_flip_particle_velocity_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_flip_particle_velocity_y_at()

float manta_liquid_get_flip_particle_velocity_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_flip_particle_velocity_z_at()

float manta_liquid_get_flip_particle_velocity_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_mesh_res_x()

int manta_liquid_get_mesh_res_x ( struct MANTA * liquid)

◆ manta_liquid_get_mesh_res_y()

int manta_liquid_get_mesh_res_y ( struct MANTA * liquid)

◆ manta_liquid_get_mesh_res_z()

int manta_liquid_get_mesh_res_z ( struct MANTA * liquid)

◆ manta_liquid_get_mesh_upres()

int manta_liquid_get_mesh_upres ( struct MANTA * liquid)

◆ manta_liquid_get_normal_x_at()

float manta_liquid_get_normal_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_normal_y_at()

float manta_liquid_get_normal_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_normal_z_at()

float manta_liquid_get_normal_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_num_flip_particles()

int manta_liquid_get_num_flip_particles ( struct MANTA * liquid)

◆ manta_liquid_get_num_normals()

int manta_liquid_get_num_normals ( struct MANTA * liquid)

◆ manta_liquid_get_num_snd_particles()

int manta_liquid_get_num_snd_particles ( struct MANTA * liquid)

◆ manta_liquid_get_num_triangles()

int manta_liquid_get_num_triangles ( struct MANTA * liquid)

◆ manta_liquid_get_num_verts()

int manta_liquid_get_num_verts ( struct MANTA * liquid)

◆ manta_liquid_get_particle_res_x()

int manta_liquid_get_particle_res_x ( struct MANTA * liquid)

◆ manta_liquid_get_particle_res_y()

int manta_liquid_get_particle_res_y ( struct MANTA * liquid)

◆ manta_liquid_get_particle_res_z()

int manta_liquid_get_particle_res_z ( struct MANTA * liquid)

◆ manta_liquid_get_particle_upres()

int manta_liquid_get_particle_upres ( struct MANTA * liquid)

◆ manta_liquid_get_snd_particle_flag_at()

int manta_liquid_get_snd_particle_flag_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_snd_particle_position_x_at()

float manta_liquid_get_snd_particle_position_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_snd_particle_position_y_at()

float manta_liquid_get_snd_particle_position_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_snd_particle_position_z_at()

float manta_liquid_get_snd_particle_position_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_snd_particle_velocity_x_at()

float manta_liquid_get_snd_particle_velocity_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_snd_particle_velocity_y_at()

float manta_liquid_get_snd_particle_velocity_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_snd_particle_velocity_z_at()

float manta_liquid_get_snd_particle_velocity_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_triangle_x_at()

int manta_liquid_get_triangle_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_triangle_y_at()

int manta_liquid_get_triangle_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_triangle_z_at()

int manta_liquid_get_triangle_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_vertex_x_at()

float manta_liquid_get_vertex_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_vertex_y_at()

float manta_liquid_get_vertex_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_vertex_z_at()

float manta_liquid_get_vertex_z_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_vertvel_x_at()

float manta_liquid_get_vertvel_x_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_vertvel_y_at()

float manta_liquid_get_vertvel_y_at ( struct MANTA * liquid,
int i )

◆ manta_liquid_get_vertvel_z_at()

float manta_liquid_get_vertvel_z_at ( struct MANTA * liquid,
int i )

◆ manta_needs_realloc()

bool manta_needs_realloc ( struct MANTA * fluid,
struct FluidModifierData * fmd )

Definition at line 154 of file manta_fluid_API.cpp.

References manta_needs_realloc(), and MANTA::needsRealloc().

Referenced by manta_needs_realloc().

◆ manta_noise_get_cells()

int manta_noise_get_cells ( struct MANTA * smoke)

◆ manta_noise_get_color_b()

float * manta_noise_get_color_b ( struct MANTA * smoke)

Definition at line 520 of file manta_fluid_API.cpp.

References MANTA::getColorBHigh(), and manta_noise_get_color_b().

Referenced by manta_noise_get_color_b().

◆ manta_noise_get_color_g()

float * manta_noise_get_color_g ( struct MANTA * smoke)

Definition at line 516 of file manta_fluid_API.cpp.

References MANTA::getColorGHigh(), and manta_noise_get_color_g().

Referenced by manta_noise_get_color_g().

◆ manta_noise_get_color_r()

float * manta_noise_get_color_r ( struct MANTA * smoke)

Definition at line 512 of file manta_fluid_API.cpp.

References MANTA::getColorRHigh(), and manta_noise_get_color_r().

Referenced by manta_noise_get_color_r().

◆ manta_noise_get_density()

float * manta_noise_get_density ( struct MANTA * smoke)

Definition at line 500 of file manta_fluid_API.cpp.

References MANTA::getDensityHigh(), and manta_noise_get_density().

Referenced by manta_noise_get_density().

◆ manta_noise_get_flame()

float * manta_noise_get_flame ( struct MANTA * smoke)

Definition at line 524 of file manta_fluid_API.cpp.

References MANTA::getFlameHigh(), and manta_noise_get_flame().

Referenced by manta_noise_get_flame().

◆ manta_noise_get_fuel()

float * manta_noise_get_fuel ( struct MANTA * smoke)

Definition at line 504 of file manta_fluid_API.cpp.

References MANTA::getFuelHigh(), and manta_noise_get_fuel().

Referenced by manta_noise_get_fuel().

◆ manta_noise_get_react()

float * manta_noise_get_react ( struct MANTA * smoke)

Definition at line 508 of file manta_fluid_API.cpp.

References MANTA::getReactHigh(), and manta_noise_get_react().

Referenced by manta_noise_get_react().

◆ manta_noise_get_res()

void manta_noise_get_res ( struct MANTA * smoke,
int * res )

◆ manta_noise_get_rgba()

void manta_noise_get_rgba ( struct MANTA * smoke,
float * data,
int sequential )

◆ manta_noise_get_rgba_fixed_color()

void manta_noise_get_rgba_fixed_color ( struct MANTA * smoke,
float color[3],
float * data,
int sequential )

◆ manta_noise_get_texture_u()

float * manta_noise_get_texture_u ( struct MANTA * smoke)

Definition at line 528 of file manta_fluid_API.cpp.

References MANTA::getTextureU(), and manta_noise_get_texture_u().

Referenced by manta_noise_get_texture_u().

◆ manta_noise_get_texture_u2()

float * manta_noise_get_texture_u2 ( struct MANTA * smoke)

Definition at line 540 of file manta_fluid_API.cpp.

References MANTA::getTextureU2(), and manta_noise_get_texture_u2().

Referenced by manta_noise_get_texture_u2().

◆ manta_noise_get_texture_v()

float * manta_noise_get_texture_v ( struct MANTA * smoke)

Definition at line 532 of file manta_fluid_API.cpp.

References MANTA::getTextureV(), and manta_noise_get_texture_v().

Referenced by manta_noise_get_texture_v().

◆ manta_noise_get_texture_v2()

float * manta_noise_get_texture_v2 ( struct MANTA * smoke)

Definition at line 544 of file manta_fluid_API.cpp.

References MANTA::getTextureV2(), and manta_noise_get_texture_v2().

Referenced by manta_noise_get_texture_v2().

◆ manta_noise_get_texture_w()

float * manta_noise_get_texture_w ( struct MANTA * smoke)

Definition at line 536 of file manta_fluid_API.cpp.

References MANTA::getTextureW(), and manta_noise_get_texture_w().

Referenced by manta_noise_get_texture_w().

◆ manta_noise_get_texture_w2()

float * manta_noise_get_texture_w2 ( struct MANTA * smoke)

Definition at line 548 of file manta_fluid_API.cpp.

References MANTA::getTextureW2(), and manta_noise_get_texture_w2().

Referenced by manta_noise_get_texture_w2().

◆ manta_noise_has_colors()

bool manta_noise_has_colors ( struct MANTA * smoke)

◆ manta_noise_has_fuel()

bool manta_noise_has_fuel ( struct MANTA * smoke)

Definition at line 553 of file manta_fluid_API.cpp.

References MANTA::getFuelHigh(), and manta_noise_has_fuel().

Referenced by manta_noise_has_fuel().

◆ manta_read_config()

bool manta_read_config ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 54 of file manta_fluid_API.cpp.

References manta_read_config(), and MANTA::readConfiguration().

Referenced by manta_read_config().

◆ manta_read_data()

bool manta_read_data ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr,
bool resumable )

Definition at line 59 of file manta_fluid_API.cpp.

References manta_read_data(), and MANTA::readData().

Referenced by manta_read_data().

◆ manta_read_guiding()

bool manta_read_guiding ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr,
bool sourceDomain )

Definition at line 79 of file manta_fluid_API.cpp.

References manta_read_guiding(), and MANTA::readGuiding().

Referenced by manta_read_guiding().

◆ manta_read_mesh()

bool manta_read_mesh ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 69 of file manta_fluid_API.cpp.

References manta_read_mesh(), and MANTA::readMesh().

Referenced by manta_read_mesh().

◆ manta_read_noise()

bool manta_read_noise ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr,
bool resumable )

Definition at line 64 of file manta_fluid_API.cpp.

References manta_read_noise(), and MANTA::readNoise().

Referenced by manta_read_noise().

◆ manta_read_particles()

bool manta_read_particles ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr,
bool resumable )

Definition at line 74 of file manta_fluid_API.cpp.

References manta_read_particles(), and MANTA::readParticles().

Referenced by manta_read_particles().

◆ manta_smoke_ensure_colors()

bool manta_smoke_ensure_colors ( struct MANTA * smoke,
struct FluidModifierData * fmd )

◆ manta_smoke_ensure_fire()

bool manta_smoke_ensure_fire ( struct MANTA * smoke,
struct FluidModifierData * fmd )

◆ manta_smoke_ensure_heat()

bool manta_smoke_ensure_heat ( struct MANTA * smoke,
struct FluidModifierData * fmd )

Definition at line 385 of file manta_fluid_API.cpp.

References MANTA::initHeat(), and manta_smoke_ensure_heat().

Referenced by manta_smoke_ensure_heat().

◆ manta_smoke_export_script()

bool manta_smoke_export_script ( struct MANTA * smoke,
struct FluidModifierData * fmd )

◆ manta_smoke_get_color_b()

float * manta_smoke_get_color_b ( struct MANTA * smoke)

Definition at line 442 of file manta_fluid_API.cpp.

References MANTA::getColorB(), and manta_smoke_get_color_b().

Referenced by manta_smoke_get_color_b().

◆ manta_smoke_get_color_b_in()

float * manta_smoke_get_color_b_in ( struct MANTA * smoke)

Definition at line 468 of file manta_fluid_API.cpp.

References MANTA::getColorBIn(), and manta_smoke_get_color_b_in().

Referenced by manta_smoke_get_color_b_in().

◆ manta_smoke_get_color_g()

float * manta_smoke_get_color_g ( struct MANTA * smoke)

Definition at line 438 of file manta_fluid_API.cpp.

References MANTA::getColorG(), and manta_smoke_get_color_g().

Referenced by manta_smoke_get_color_g().

◆ manta_smoke_get_color_g_in()

float * manta_smoke_get_color_g_in ( struct MANTA * smoke)

Definition at line 464 of file manta_fluid_API.cpp.

References MANTA::getColorGIn(), and manta_smoke_get_color_g_in().

Referenced by manta_smoke_get_color_g_in().

◆ manta_smoke_get_color_r()

float * manta_smoke_get_color_r ( struct MANTA * smoke)

Definition at line 434 of file manta_fluid_API.cpp.

References MANTA::getColorR(), and manta_smoke_get_color_r().

Referenced by manta_smoke_get_color_r().

◆ manta_smoke_get_color_r_in()

float * manta_smoke_get_color_r_in ( struct MANTA * smoke)

Definition at line 460 of file manta_fluid_API.cpp.

References MANTA::getColorRIn(), and manta_smoke_get_color_r_in().

Referenced by manta_smoke_get_color_r_in().

◆ manta_smoke_get_density()

float * manta_smoke_get_density ( struct MANTA * smoke)

Definition at line 409 of file manta_fluid_API.cpp.

References MANTA::getDensity(), and manta_smoke_get_density().

Referenced by manta_smoke_get_density().

◆ manta_smoke_get_density_in()

float * manta_smoke_get_density_in ( struct MANTA * smoke)

Definition at line 452 of file manta_fluid_API.cpp.

References MANTA::getDensityIn(), and manta_smoke_get_density_in().

Referenced by manta_smoke_get_density_in().

◆ manta_smoke_get_emission_in()

float * manta_smoke_get_emission_in ( struct MANTA * smoke)

◆ manta_smoke_get_flags()

int * manta_smoke_get_flags ( struct MANTA * smoke)

◆ manta_smoke_get_flame()

float * manta_smoke_get_flame ( struct MANTA * smoke)

Definition at line 425 of file manta_fluid_API.cpp.

References MANTA::getFlame(), and manta_smoke_get_flame().

Referenced by manta_smoke_get_flame().

◆ manta_smoke_get_fuel()

float * manta_smoke_get_fuel ( struct MANTA * smoke)

Definition at line 413 of file manta_fluid_API.cpp.

References MANTA::getFuel(), and manta_smoke_get_fuel().

Referenced by manta_smoke_get_fuel().

◆ manta_smoke_get_fuel_in()

float * manta_smoke_get_fuel_in ( struct MANTA * smoke)

Definition at line 472 of file manta_fluid_API.cpp.

References MANTA::getFuelIn(), and manta_smoke_get_fuel_in().

Referenced by manta_smoke_get_fuel_in().

◆ manta_smoke_get_heat()

float * manta_smoke_get_heat ( struct MANTA * smoke)

Definition at line 421 of file manta_fluid_API.cpp.

References MANTA::getHeat(), and manta_smoke_get_heat().

Referenced by manta_smoke_get_heat().

◆ manta_smoke_get_heat_in()

float * manta_smoke_get_heat_in ( struct MANTA * smoke)

Definition at line 456 of file manta_fluid_API.cpp.

References MANTA::getHeatIn(), and manta_smoke_get_heat_in().

Referenced by manta_smoke_get_heat_in().

◆ manta_smoke_get_react()

float * manta_smoke_get_react ( struct MANTA * smoke)

Definition at line 417 of file manta_fluid_API.cpp.

References MANTA::getReact(), and manta_smoke_get_react().

Referenced by manta_smoke_get_react().

◆ manta_smoke_get_react_in()

float * manta_smoke_get_react_in ( struct MANTA * smoke)

Definition at line 476 of file manta_fluid_API.cpp.

References MANTA::getReactIn(), and manta_smoke_get_react_in().

Referenced by manta_smoke_get_react_in().

◆ manta_smoke_get_rgba()

void manta_smoke_get_rgba ( struct MANTA * smoke,
float * data,
int sequential )

◆ manta_smoke_get_rgba_fixed_color()

void manta_smoke_get_rgba_fixed_color ( struct MANTA * smoke,
float color[3],
float * data,
int sequential )

◆ manta_smoke_get_shadow()

float * manta_smoke_get_shadow ( struct MANTA * smoke)

Definition at line 429 of file manta_fluid_API.cpp.

References MANTA::getShadow(), and manta_smoke_get_shadow().

Referenced by DRW_smoke_ensure(), and manta_smoke_get_shadow().

◆ manta_smoke_has_colors()

bool manta_smoke_has_colors ( struct MANTA * smoke)

◆ manta_smoke_has_fuel()

bool manta_smoke_has_fuel ( struct MANTA * smoke)

Definition at line 490 of file manta_fluid_API.cpp.

References MANTA::getFuel(), and manta_smoke_has_fuel().

Referenced by manta_smoke_has_fuel().

◆ manta_smoke_has_heat()

bool manta_smoke_has_heat ( struct MANTA * smoke)

Definition at line 485 of file manta_fluid_API.cpp.

References MANTA::getHeat(), and manta_smoke_has_heat().

Referenced by manta_smoke_has_heat().

◆ manta_update_pointers()

void manta_update_pointers ( struct MANTA * fluid,
struct FluidModifierData * fmd,
bool flush )

Definition at line 159 of file manta_fluid_API.cpp.

References manta_update_pointers(), and MANTA::updatePointers().

Referenced by manta_update_pointers().

◆ manta_update_variables()

void manta_update_variables ( struct MANTA * fluid,
struct FluidModifierData * fmd )

Definition at line 134 of file manta_fluid_API.cpp.

References manta_update_variables(), and MANTA::updateVariables().

Referenced by manta_update_variables().

◆ manta_write_config()

bool manta_write_config ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 39 of file manta_fluid_API.cpp.

References manta_write_config(), and MANTA::writeConfiguration().

Referenced by manta_write_config().

◆ manta_write_data()

bool manta_write_data ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 44 of file manta_fluid_API.cpp.

References manta_write_data(), and MANTA::writeData().

Referenced by manta_write_data().

◆ manta_write_noise()

bool manta_write_noise ( struct MANTA * fluid,
struct FluidModifierData * fmd,
int framenr )

Definition at line 49 of file manta_fluid_API.cpp.

References manta_write_noise(), and MANTA::writeNoise().

Referenced by manta_write_noise().