|
Blender V5.3
|
#include <MANTA_main.h>
Classes | |
| struct | pData |
| struct | pVel |
| struct | Node |
| struct | Triangle |
Static Public Attributes | |
| static atomic< int > | solverID |
| static int | with_debug |
Definition at line 24 of file MANTA_main.h.
| blender::MANTA::MANTA | ( | int * | res, |
| struct FluidModifierData * | fmd ) |
Definition at line 45 of file MANTA_main.cpp.
References blender::FluidDomainSettings::active_fields, blender::BLI_assert(), blender::FluidModifierData::domain, blender::FluidDomainSettings::flags, blender::FluidDomainSettings::fluid, blender::FLUID_DOMAIN_ACTIVE_COLORS, blender::FLUID_DOMAIN_ACTIVE_FIRE, blender::FLUID_DOMAIN_ACTIVE_HEAT, blender::FLUID_DOMAIN_ACTIVE_INVEL, blender::FLUID_DOMAIN_ACTIVE_OBSTACLE, blender::FLUID_DOMAIN_ACTIVE_OUTFLOW, blender::FLUID_DOMAIN_PARTICLE_BUBBLE, blender::FLUID_DOMAIN_PARTICLE_FOAM, blender::FLUID_DOMAIN_PARTICLE_SPRAY, blender::FLUID_DOMAIN_PARTICLE_TRACER, blender::FLUID_DOMAIN_TYPE_GAS, blender::FLUID_DOMAIN_TYPE_LIQUID, blender::FLUID_DOMAIN_USE_DIFFUSION, blender::FLUID_DOMAIN_USE_FRACTIONS, blender::FLUID_DOMAIN_USE_GUIDE, blender::FLUID_DOMAIN_USE_MESH, blender::FLUID_DOMAIN_USE_NOISE, blender::FLUID_DOMAIN_USE_SPEED_VECTORS, blender::FLUID_DOMAIN_USE_VISCOSITY, blender::FluidDomainSettings::guide_parent, blender::FluidDomainSettings::guide_res, initColors(), initColorsHigh(), initCurvature(), initFire(), initFireHigh(), initFractions(), initGuiding(), initHeat(), initInVelocity(), initLiquid(), initLiquidMesh(), initLiquidSndParts(), initLiquidViscosity(), initObstacle(), initOutflow(), initSndParts(), blender::FluidDomainSettings::mesh_scale, blender::FluidDomainSettings::noise_scale, blender::FluidDomainSettings::particle_scale, blender::FluidDomainSettings::particle_type, blender::FluidDomainSettings::res, solverID, blender::FluidDomainSettings::type, updatePointers(), and with_debug.
Referenced by blender::manta_init().
|
virtual |
Definition at line 558 of file MANTA_main.cpp.
References blender::BLI_assert(), manta_import, blender::result, UNUSED_VARS, and with_debug.
| void blender::MANTA::adaptTimestep | ( | ) |
Definition at line 2181 of file MANTA_main.cpp.
References with_debug.
Referenced by blender::manta_adapt_timestep().
| bool blender::MANTA::bakeData | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1573 of file MANTA_main.cpp.
References BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_directory, blender::FluidModifierData::domain, blender::escapePath(), FILE_MAX, FLUID_DOMAIN_DIR_DATA, FLUID_DOMAIN_DIR_GUIDE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_bake_data().
| bool blender::MANTA::bakeGuiding | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1687 of file MANTA_main.cpp.
References BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_directory, blender::FluidModifierData::domain, blender::escapePath(), FILE_MAX, blender::FluidDomainSettings::flags, FLUID_DOMAIN_DIR_GUIDE, blender::FLUID_DOMAIN_USE_RESUMABLE_CACHE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_bake_guiding().
| bool blender::MANTA::bakeMesh | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1630 of file MANTA_main.cpp.
References BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_directory, blender::FluidDomainSettings::cache_mesh_format, blender::FluidModifierData::domain, blender::escapePath(), FILE_MAX, FLUID_DOMAIN_DIR_MESH, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_bake_mesh().
| bool blender::MANTA::bakeNoise | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1603 of file MANTA_main.cpp.
References BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_directory, blender::FluidModifierData::domain, blender::escapePath(), FILE_MAX, FLUID_DOMAIN_DIR_NOISE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_bake_noise().
| bool blender::MANTA::bakeParticles | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1657 of file MANTA_main.cpp.
References BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_directory, blender::FluidModifierData::domain, blender::escapePath(), FILE_MAX, blender::FluidDomainSettings::flags, FLUID_DOMAIN_DIR_PARTICLES, blender::FLUID_DOMAIN_USE_RESUMABLE_CACHE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_bake_particles().
| bool blender::MANTA::exportLiquidScript | ( | struct FluidModifierData * | fmd | ) |
Definition at line 1876 of file MANTA_main.cpp.
References blender::FluidDomainSettings::active_fields, blender::BLI_dir_create_recursive(), BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_directory, blender::FluidModifierData::domain, FILE_MAX, blender::FluidDomainSettings::flags, blender::FLUID_DOMAIN_ACTIVE_GUIDE, blender::FLUID_DOMAIN_ACTIVE_INVEL, blender::FLUID_DOMAIN_ACTIVE_OBSTACLE, blender::FLUID_DOMAIN_ACTIVE_OUTFLOW, FLUID_DOMAIN_DIR_SCRIPT, FLUID_DOMAIN_LIQUID_SCRIPT, blender::FLUID_DOMAIN_PARTICLE_BUBBLE, blender::FLUID_DOMAIN_PARTICLE_FOAM, blender::FLUID_DOMAIN_PARTICLE_SPRAY, blender::FLUID_DOMAIN_PARTICLE_TRACER, blender::FLUID_DOMAIN_USE_FRACTIONS, blender::FLUID_DOMAIN_USE_MESH, blender::FLUID_DOMAIN_USE_VISCOSITY, fluid_solver, fluid_solver_guiding, fluid_solver_mesh, fluid_solver_particles, fluid_solver_viscosity, fluid_time_stepping, fluid_variables, fluid_variables_guiding, fluid_variables_mesh, fluid_variables_particles, fluid_variables_viscosity, liquid_alloc, liquid_alloc_mesh, liquid_alloc_particles, liquid_alloc_viscosity, liquid_init_phi, liquid_variables, liquid_variables_particles, manta_import, blender::FluidDomainSettings::particle_type, and with_debug.
Referenced by blender::manta_liquid_export_script().
| bool blender::MANTA::exportSmokeScript | ( | struct FluidModifierData * | fmd | ) |
Definition at line 1749 of file MANTA_main.cpp.
References blender::FluidDomainSettings::active_fields, blender::BLI_dir_create_recursive(), BLI_path_join, blender::BLI_path_make_safe(), blender::FluidDomainSettings::cache_directory, blender::FluidModifierData::domain, FILE_MAX, blender::FluidDomainSettings::flags, blender::FLUID_DOMAIN_ACTIVE_COLORS, blender::FLUID_DOMAIN_ACTIVE_FIRE, blender::FLUID_DOMAIN_ACTIVE_GUIDE, blender::FLUID_DOMAIN_ACTIVE_HEAT, blender::FLUID_DOMAIN_ACTIVE_INVEL, blender::FLUID_DOMAIN_ACTIVE_OBSTACLE, blender::FLUID_DOMAIN_ACTIVE_OUTFLOW, FLUID_DOMAIN_DIR_SCRIPT, FLUID_DOMAIN_SMOKE_SCRIPT, blender::FLUID_DOMAIN_USE_NOISE, fluid_solver, fluid_solver_guiding, fluid_solver_noise, fluid_time_stepping, fluid_variables, fluid_variables_guiding, fluid_variables_noise, manta_import, smoke_alloc, smoke_alloc_colors, smoke_alloc_colors_noise, smoke_alloc_fire, smoke_alloc_fire_noise, smoke_alloc_heat, smoke_alloc_noise, smoke_variables, smoke_variables_noise, smoke_wavelet_noise, and with_debug.
Referenced by blender::manta_smoke_export_script().
|
inline |
Definition at line 275 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_color_b(), blender::manta_smoke_get_rgba(), and blender::manta_smoke_has_colors().
|
inline |
Definition at line 340 of file MANTA_main.h.
Referenced by blender::manta_noise_get_color_b(), blender::manta_noise_get_rgba(), and blender::manta_noise_has_colors().
|
inline |
Definition at line 299 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_color_b_in().
|
inline |
Definition at line 271 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_color_g(), blender::manta_smoke_get_rgba(), and blender::manta_smoke_has_colors().
|
inline |
Definition at line 336 of file MANTA_main.h.
Referenced by blender::manta_noise_get_color_g(), blender::manta_noise_get_rgba(), and blender::manta_noise_has_colors().
|
inline |
Definition at line 295 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_color_g_in().
|
inline |
Definition at line 267 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_color_r(), blender::manta_smoke_get_rgba(), and blender::manta_smoke_has_colors().
|
inline |
Definition at line 332 of file MANTA_main.h.
Referenced by blender::manta_noise_get_color_r(), blender::manta_noise_get_rgba(), and blender::manta_noise_has_colors().
|
inline |
Definition at line 291 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_color_r_in().
|
inline |
Definition at line 175 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_density(), and blender::manta_smoke_get_rgba().
|
inline |
Definition at line 316 of file MANTA_main.h.
Referenced by blender::manta_noise_get_density(), and blender::manta_noise_get_rgba().
|
inline |
Definition at line 283 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_density_in().
|
inline |
Definition at line 311 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_emission_in().
|
inline |
Definition at line 243 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_flags().
|
inline |
Definition at line 255 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_flame().
|
inline |
Definition at line 320 of file MANTA_main.h.
Referenced by blender::manta_noise_get_flame().
|
inline |
Definition at line 667 of file MANTA_main.h.
|
inline |
Definition at line 536 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_flag_at().
|
inline |
Definition at line 555 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_position_x_at().
|
inline |
Definition at line 564 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_position_y_at().
|
inline |
Definition at line 573 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_position_z_at().
|
inline |
Definition at line 678 of file MANTA_main.h.
|
inline |
Definition at line 611 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_velocity_x_at().
|
inline |
Definition at line 620 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_velocity_y_at().
|
inline |
Definition at line 629 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_flip_particle_velocity_z_at().
|
inline |
Definition at line 231 of file MANTA_main.h.
Referenced by blender::manta_get_force_x().
|
inline |
Definition at line 235 of file MANTA_main.h.
Referenced by blender::manta_get_force_y().
|
inline |
Definition at line 239 of file MANTA_main.h.
Referenced by blender::manta_get_force_z().
| int blender::MANTA::getFrame | ( | ) |
Definition at line 2147 of file MANTA_main.cpp.
References blender::callPythonFunction(), blender::pyObjectToLong(), blender::gpu::to_string(), and with_debug.
Referenced by blender::manta_get_frame().
|
inline |
Definition at line 259 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_fuel(), and blender::manta_smoke_has_fuel().
|
inline |
Definition at line 324 of file MANTA_main.h.
Referenced by blender::manta_noise_get_fuel(), and blender::manta_noise_has_fuel().
|
inline |
Definition at line 303 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_fuel_in().
|
inline |
Definition at line 207 of file MANTA_main.h.
Referenced by blender::manta_get_guide_velocity_x().
|
inline |
Definition at line 211 of file MANTA_main.h.
Referenced by blender::manta_get_guide_velocity_y().
|
inline |
Definition at line 215 of file MANTA_main.h.
Referenced by blender::manta_get_guide_velocity_z().
|
inline |
Definition at line 179 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_heat(), and blender::manta_smoke_has_heat().
|
inline |
Definition at line 287 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_heat_in().
|
inline |
Definition at line 219 of file MANTA_main.h.
Referenced by blender::manta_get_in_velocity_x().
|
inline |
Definition at line 223 of file MANTA_main.h.
Referenced by blender::manta_get_in_velocity_y().
|
inline |
Definition at line 227 of file MANTA_main.h.
Referenced by blender::manta_get_in_velocity_z().
|
inline |
Definition at line 141 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_mesh_res_x().
|
inline |
Definition at line 145 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_mesh_res_y().
|
inline |
Definition at line 149 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_mesh_res_z().
|
inline |
Definition at line 165 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_mesh_upres().
|
inline |
Definition at line 451 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_normal_x_at().
|
inline |
Definition at line 460 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_normal_y_at().
|
inline |
Definition at line 469 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_normal_z_at().
|
inline |
Definition at line 695 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_num_flip_particles().
|
inline |
Definition at line 251 of file MANTA_main.h.
Referenced by blender::manta_get_num_guide().
|
inline |
Definition at line 414 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_num_normals().
|
inline |
Definition at line 247 of file MANTA_main.h.
Referenced by blender::manta_get_num_obstacle().
|
inline |
Definition at line 699 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_num_snd_particles().
|
inline |
Definition at line 418 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_num_triangles().
|
inline |
Definition at line 410 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_num_verts().
|
inline |
Definition at line 195 of file MANTA_main.h.
Referenced by blender::manta_get_ob_velocity_x().
|
inline |
Definition at line 199 of file MANTA_main.h.
Referenced by blender::manta_get_ob_velocity_y().
|
inline |
Definition at line 203 of file MANTA_main.h.
Referenced by blender::manta_get_ob_velocity_z().
|
inline |
Definition at line 129 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_particle_res_x().
|
inline |
Definition at line 133 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_particle_res_y().
|
inline |
Definition at line 137 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_particle_res_z().
|
inline |
Definition at line 169 of file MANTA_main.h.
Referenced by blender::manta_liquid_get_particle_upres().
|
inline |
Definition at line 397 of file MANTA_main.h.
Referenced by blender::manta_get_phi().
|
inline |
Definition at line 385 of file MANTA_main.h.
Referenced by blender::manta_get_phiguide_in().
|
inline |
Definition at line 369 of file MANTA_main.h.
Referenced by blender::manta_get_phi_in().
|
inline |
Definition at line 377 of file MANTA_main.h.
Referenced by blender::manta_get_phiobs_in().
|
inline |
Definition at line 381 of file MANTA_main.h.
Referenced by blender::manta_get_phiobsstatic_in().
|
inline |
Definition at line 389 of file MANTA_main.h.
Referenced by blender::manta_get_phiout_in().
|
inline |
Definition at line 393 of file MANTA_main.h.
Referenced by blender::manta_get_phioutstatic_in().
|
inline |
Definition at line 373 of file MANTA_main.h.
Referenced by blender::manta_get_phistatic_in().
|
inline |
Definition at line 401 of file MANTA_main.h.
Referenced by blender::manta_get_pressure().
|
inline |
Definition at line 263 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_react().
|
inline |
Definition at line 328 of file MANTA_main.h.
Referenced by blender::manta_noise_get_react().
|
inline |
Definition at line 307 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_react_in().
|
inline |
Definition at line 117 of file MANTA_main.h.
Referenced by blender::manta_get_res_x().
|
inline |
Definition at line 153 of file MANTA_main.h.
Referenced by blender::manta_noise_get_cells(), and blender::manta_noise_get_res().
|
inline |
Definition at line 121 of file MANTA_main.h.
Referenced by blender::manta_get_res_y().
|
inline |
Definition at line 157 of file MANTA_main.h.
Referenced by blender::manta_noise_get_cells(), and blender::manta_noise_get_res().
|
inline |
Definition at line 125 of file MANTA_main.h.
Referenced by blender::manta_get_res_z().
|
inline |
Definition at line 161 of file MANTA_main.h.
Referenced by blender::manta_noise_get_cells(), and blender::manta_noise_get_res().
|
inline |
Definition at line 279 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_shadow().
|
inline |
Definition at line 673 of file MANTA_main.h.
|
inline |
Definition at line 545 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_flag_at().
|
inline |
Definition at line 690 of file MANTA_main.h.
|
inline |
Definition at line 583 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_position_x_at().
|
inline |
Definition at line 592 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_position_y_at().
|
inline |
Definition at line 601 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_position_z_at().
|
inline |
Definition at line 684 of file MANTA_main.h.
|
inline |
Definition at line 639 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_velocity_x_at().
|
inline |
Definition at line 648 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_velocity_y_at().
|
inline |
Definition at line 657 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_snd_particle_velocity_z_at().
|
inline |
Definition at line 344 of file MANTA_main.h.
Referenced by blender::manta_noise_get_texture_u().
|
inline |
Definition at line 356 of file MANTA_main.h.
Referenced by blender::manta_noise_get_texture_u2().
|
inline |
Definition at line 348 of file MANTA_main.h.
Referenced by blender::manta_noise_get_texture_v().
|
inline |
Definition at line 360 of file MANTA_main.h.
Referenced by blender::manta_noise_get_texture_v2().
|
inline |
Definition at line 352 of file MANTA_main.h.
Referenced by blender::manta_noise_get_texture_w().
|
inline |
Definition at line 364 of file MANTA_main.h.
Referenced by blender::manta_noise_get_texture_w2().
| float blender::MANTA::getTimestep | ( | ) |
Definition at line 2160 of file MANTA_main.cpp.
References blender::callPythonFunction(), blender::pyObjectToDouble(), blender::gpu::to_string(), and with_debug.
Referenced by blender::manta_get_timestep().
|
inline |
Definition at line 105 of file MANTA_main.h.
Referenced by blender::manta_smoke_get_rgba(), and blender::manta_smoke_get_rgba_fixed_color().
|
inline |
Definition at line 109 of file MANTA_main.h.
Referenced by blender::manta_noise_get_rgba(), and blender::manta_noise_get_rgba_fixed_color().
|
inline |
Definition at line 479 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_triangle_x_at().
|
inline |
Definition at line 488 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_triangle_y_at().
|
inline |
Definition at line 497 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_triangle_z_at().
|
inline |
Definition at line 183 of file MANTA_main.h.
Referenced by blender::manta_get_velocity_x().
|
inline |
Definition at line 187 of file MANTA_main.h.
Referenced by blender::manta_get_velocity_y().
|
inline |
Definition at line 191 of file MANTA_main.h.
Referenced by blender::manta_get_velocity_z().
|
inline |
Definition at line 423 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_vertex_x_at().
|
inline |
Definition at line 432 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_vertex_y_at().
|
inline |
Definition at line 441 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_vertex_z_at().
|
inline |
Definition at line 507 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_vertvel_x_at().
|
inline |
Definition at line 516 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_vertvel_y_at().
|
inline |
Definition at line 525 of file MANTA_main.h.
References blender::gpu::shader::metadata::assert.
Referenced by blender::manta_liquid_get_vertvel_z_at().
| bool blender::MANTA::hasConfig | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 2337 of file MANTA_main.cpp.
References blender::BLI_exists(), FLUID_DOMAIN_DIR_CONFIG, FLUID_DOMAIN_EXTENSION_UNI, and FLUID_NAME_CONFIG.
Referenced by readConfiguration().
| bool blender::MANTA::hasData | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 2344 of file MANTA_main.cpp.
References blender::BLI_exists(), blender::FluidDomainSettings::cache_data_format, blender::FluidModifierData::domain, blender::gpu::shader::parser::filename(), FLUID_DOMAIN_DIR_DATA, FLUID_NAME_DATA, FLUID_NAME_DENSITY, FLUID_NAME_PP, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_has_data(), and readData().
| bool blender::MANTA::hasGuiding | ( | FluidModifierData * | fmd, |
| int | framenr, | ||
| bool | sourceDomain ) |
Definition at line 2434 of file MANTA_main.cpp.
References blender::BLI_exists(), blender::FluidDomainSettings::cache_data_format, blender::FluidModifierData::domain, blender::gpu::shader::parser::filename(), FLUID_DOMAIN_DIR_DATA, FLUID_DOMAIN_DIR_GUIDE, FLUID_NAME_DATA, FLUID_NAME_GUIDEVEL, FLUID_NAME_GUIDING, FLUID_NAME_VEL, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_has_guiding(), and readGuiding().
| bool blender::MANTA::hasMesh | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 2389 of file MANTA_main.cpp.
References blender::BLI_exists(), blender::FluidDomainSettings::cache_mesh_format, blender::FluidModifierData::domain, FLUID_DOMAIN_DIR_MESH, FLUID_NAME_LMESH, FLUID_NAME_MESH, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_has_mesh(), and readMesh().
| bool blender::MANTA::hasNoise | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 2362 of file MANTA_main.cpp.
References blender::BLI_exists(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_noise_format, blender::FluidModifierData::domain, FLUID_DOMAIN_DIR_NOISE, FLUID_NAME_DENSITY_NOISE, FLUID_NAME_NOISE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_has_noise(), and readNoise().
| bool blender::MANTA::hasParticles | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 2407 of file MANTA_main.cpp.
References blender::BLI_exists(), blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_particle_format, blender::FluidModifierData::domain, FLUID_DOMAIN_DIR_PARTICLES, FLUID_NAME_PARTICLES, FLUID_NAME_PP_PARTICLES, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_has_particles(), and readParticles().
| bool blender::MANTA::initColors | ( | struct FluidModifierData * | fmd = nullptr | ) |
Definition at line 384 of file MANTA_main.cpp.
References smoke_alloc_colors, smoke_init_colors, and smoke_with_colors.
Referenced by MANTA(), and blender::manta_smoke_ensure_colors().
| bool blender::MANTA::initColorsHigh | ( | struct FluidModifierData * | fmd = nullptr | ) |
Definition at line 398 of file MANTA_main.cpp.
References smoke_alloc_colors_noise, smoke_init_colors_noise, and smoke_with_colors.
Referenced by MANTA(), and blender::manta_smoke_ensure_colors().
| bool blender::MANTA::initCurvature | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 460 of file MANTA_main.cpp.
References liquid_alloc_curvature.
Referenced by MANTA().
| bool blender::MANTA::initFire | ( | struct FluidModifierData * | fmd = nullptr | ) |
Definition at line 356 of file MANTA_main.cpp.
References smoke_alloc_fire, and smoke_with_fire.
Referenced by MANTA(), and blender::manta_smoke_ensure_fire().
| bool blender::MANTA::initFireHigh | ( | struct FluidModifierData * | fmd = nullptr | ) |
Definition at line 370 of file MANTA_main.cpp.
References smoke_alloc_fire_noise, and smoke_with_fire.
Referenced by MANTA(), and blender::manta_smoke_ensure_fire().
| bool blender::MANTA::initFractions | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 497 of file MANTA_main.cpp.
References fluid_with_fractions.
Referenced by MANTA().
| bool blender::MANTA::initGuiding | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 483 of file MANTA_main.cpp.
References fluid_solver_guiding, and fluid_variables_guiding.
Referenced by MANTA(), and blender::manta_ensure_guiding().
| bool blender::MANTA::initHeat | ( | struct FluidModifierData * | fmd = nullptr | ) |
Definition at line 342 of file MANTA_main.cpp.
References smoke_alloc_heat, and smoke_with_heat.
Referenced by MANTA(), and blender::manta_smoke_ensure_heat().
| bool blender::MANTA::initInVelocity | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 507 of file MANTA_main.cpp.
References fluid_with_invel.
Referenced by MANTA(), and blender::manta_ensure_invelocity().
| bool blender::MANTA::initLiquid | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 412 of file MANTA_main.cpp.
References liquid_alloc, liquid_init_phi, and liquid_variables.
Referenced by MANTA().
| bool blender::MANTA::initLiquidMesh | ( | FluidModifierData * | fmd = nullptr | ) |
| bool blender::MANTA::initLiquidSndParts | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 543 of file MANTA_main.cpp.
References fluid_with_sndparts, liquid_alloc_particles, and liquid_variables_particles.
Referenced by MANTA(), and blender::manta_liquid_ensure_sndparts().
| bool blender::MANTA::initLiquidViscosity | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 449 of file MANTA_main.cpp.
References fluid_solver_viscosity, fluid_variables_viscosity, and liquid_alloc_viscosity.
Referenced by MANTA().
| bool blender::MANTA::initObstacle | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 470 of file MANTA_main.cpp.
References fluid_with_obstacle.
Referenced by MANTA(), and blender::manta_ensure_obstacle().
| bool blender::MANTA::initOutflow | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 520 of file MANTA_main.cpp.
References fluid_with_outflow.
Referenced by MANTA(), and blender::manta_ensure_outflow().
| bool blender::MANTA::initSndParts | ( | FluidModifierData * | fmd = nullptr | ) |
Definition at line 533 of file MANTA_main.cpp.
References fluid_solver_particles, and fluid_variables_particles.
Referenced by MANTA().
| bool blender::MANTA::needsRealloc | ( | FluidModifierData * | fmd | ) |
Definition at line 2173 of file MANTA_main.cpp.
References blender::FluidModifierData::domain, blender::FluidDomainSettings::res_max, and blender::FluidDomainSettings::res_min.
Referenced by blender::manta_needs_realloc().
| bool blender::MANTA::readConfiguration | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1314 of file MANTA_main.cpp.
References blender::FluidDomainSettings::active_color, blender::FluidDomainSettings::active_fields, blender::FluidDomainSettings::base_res, blender::BLI_gzopen(), blender::FluidDomainSettings::cache_id, blender::FluidModifierData::domain, blender::FluidDomainSettings::dp0, blender::FluidDomainSettings::dx, FLUID_DOMAIN_DIR_CONFIG, FLUID_DOMAIN_EXTENSION_UNI, FLUID_NAME_CONFIG, hasConfig(), blender::FluidDomainSettings::obj_shift_f, blender::FluidDomainSettings::obmat, blender::FluidDomainSettings::p0, blender::FluidDomainSettings::p1, blender::FluidDomainSettings::res, blender::FluidDomainSettings::res_max, blender::FluidDomainSettings::res_min, blender::FluidDomainSettings::shift, blender::FluidDomainSettings::time_total, blender::FluidDomainSettings::total_cells, and with_debug.
Referenced by blender::manta_read_config().
| bool blender::MANTA::readData | ( | FluidModifierData * | fmd, |
| int | framenr, | ||
| bool | resumable ) |
Definition at line 1359 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidModifierData::domain, blender::escapePath(), FLUID_DOMAIN_DIR_DATA, blender::getCacheFileEnding(), hasData(), blender::result, and with_debug.
Referenced by blender::manta_read_data().
| bool blender::MANTA::readGuiding | ( | FluidModifierData * | fmd, |
| int | framenr, | ||
| bool | sourceDomain ) |
Definition at line 1532 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidModifierData::domain, blender::escapePath(), FLUID_DOMAIN_DIR_DATA, FLUID_DOMAIN_DIR_GUIDE, blender::getCacheFileEnding(), hasGuiding(), and with_debug.
Referenced by blender::manta_read_guiding().
| bool blender::MANTA::readMesh | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1437 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_mesh_format, blender::FluidModifierData::domain, blender::escapePath(), FLUID_DOMAIN_DIR_MESH, blender::getCacheFileEnding(), hasMesh(), and with_debug.
Referenced by blender::manta_read_mesh().
| bool blender::MANTA::readNoise | ( | FluidModifierData * | fmd, |
| int | framenr, | ||
| bool | resumable ) |
Definition at line 1402 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_id, blender::FluidDomainSettings::cache_noise_format, blender::FluidModifierData::domain, blender::escapePath(), FLUID_CACHE_VERSION, FLUID_DOMAIN_DIR_NOISE, blender::getCacheFileEnding(), hasNoise(), and with_debug.
Referenced by blender::manta_read_noise().
| bool blender::MANTA::readParticles | ( | FluidModifierData * | fmd, |
| int | framenr, | ||
| bool | resumable ) |
Definition at line 1494 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidDomainSettings::cache_id, blender::FluidDomainSettings::cache_particle_format, blender::FluidModifierData::domain, blender::escapePath(), FLUID_CACHE_VERSION, FLUID_DOMAIN_DIR_PARTICLES, blender::getCacheFileEnding(), hasParticles(), and with_debug.
Referenced by blender::manta_read_particles().
| void blender::MANTA::updatePointers | ( | FluidModifierData * | fmd, |
| bool | flush = false ) |
Definition at line 2196 of file MANTA_main.cpp.
References blender::FluidDomainSettings::active_fields, blender::FluidModifierData::domain, blender::FluidDomainSettings::flags, blender::FLUID_DOMAIN_ACTIVE_COLORS, blender::FLUID_DOMAIN_ACTIVE_FIRE, blender::FLUID_DOMAIN_ACTIVE_GUIDE, blender::FLUID_DOMAIN_ACTIVE_HEAT, blender::FLUID_DOMAIN_ACTIVE_INVEL, blender::FLUID_DOMAIN_ACTIVE_OBSTACLE, blender::FLUID_DOMAIN_ACTIVE_OUTFLOW, blender::FLUID_DOMAIN_PARTICLE_BUBBLE, blender::FLUID_DOMAIN_PARTICLE_FOAM, blender::FLUID_DOMAIN_PARTICLE_SPRAY, blender::FLUID_DOMAIN_PARTICLE_TRACER, blender::FLUID_DOMAIN_TYPE_GAS, blender::FLUID_DOMAIN_TYPE_LIQUID, blender::FLUID_DOMAIN_USE_MESH, blender::FLUID_DOMAIN_USE_NOISE, blender::FLUID_DOMAIN_USE_SPEED_VECTORS, blender::getPointer(), blender::FluidDomainSettings::particle_type, blender::gpu::to_string(), blender::FluidDomainSettings::type, and with_debug.
Referenced by MANTA(), and blender::manta_update_pointers().
| bool blender::MANTA::updateVariables | ( | FluidModifierData * | fmd | ) |
Definition at line 1715 of file MANTA_main.cpp.
References fluid_variables, fluid_variables_guiding, fluid_variables_mesh, fluid_variables_noise, fluid_variables_particles, liquid_variables, liquid_variables_particles, smoke_variables, smoke_variables_noise, and smoke_wavelet_noise.
Referenced by blender::manta_update_variables().
|
inline |
Definition at line 704 of file MANTA_main.h.
|
inline |
Definition at line 708 of file MANTA_main.h.
|
inline |
Definition at line 113 of file MANTA_main.h.
Referenced by blender::manta_smoke_ensure_colors(), and blender::manta_smoke_ensure_fire().
|
inline |
Definition at line 712 of file MANTA_main.h.
| bool blender::MANTA::writeConfiguration | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1220 of file MANTA_main.cpp.
References blender::FluidDomainSettings::active_color, blender::FluidDomainSettings::active_fields, blender::FluidDomainSettings::base_res, blender::BLI_dir_create_recursive(), blender::BLI_gzopen(), blender::FluidModifierData::domain, blender::FluidDomainSettings::dp0, blender::FluidDomainSettings::dt, blender::FluidDomainSettings::dx, FLUID_CACHE_VERSION, FLUID_DOMAIN_DIR_CONFIG, FLUID_DOMAIN_EXTENSION_UNI, FLUID_NAME_CONFIG, blender::FluidDomainSettings::obj_shift_f, blender::FluidDomainSettings::obmat, blender::FluidDomainSettings::p0, blender::FluidDomainSettings::p1, blender::FluidDomainSettings::res, blender::FluidDomainSettings::res_max, blender::FluidDomainSettings::res_min, blender::FluidDomainSettings::shift, blender::FluidDomainSettings::time_total, and with_debug.
Referenced by blender::manta_write_config().
| bool blender::MANTA::writeData | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1262 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidModifierData::domain, blender::escapePath(), blender::FluidDomainSettings::flags, FLUID_DOMAIN_DIR_DATA, blender::FLUID_DOMAIN_USE_RESUMABLE_CACHE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_write_data().
| bool blender::MANTA::writeNoise | ( | FluidModifierData * | fmd, |
| int | framenr ) |
Definition at line 1291 of file MANTA_main.cpp.
References blender::FluidDomainSettings::cache_data_format, blender::FluidModifierData::domain, blender::escapePath(), blender::FluidDomainSettings::flags, FLUID_DOMAIN_DIR_NOISE, blender::FLUID_DOMAIN_USE_RESUMABLE_CACHE, blender::getCacheFileEnding(), and with_debug.
Referenced by blender::manta_write_noise().
|
static |
Definition at line 406 of file MANTA_main.h.
Referenced by MANTA().
|
static |
Definition at line 407 of file MANTA_main.h.
Referenced by adaptTimestep(), bakeData(), bakeGuiding(), bakeMesh(), bakeNoise(), bakeParticles(), blender::callPythonFunction(), exportLiquidScript(), exportSmokeScript(), blender::getCacheFileEnding(), getFrame(), getTimestep(), hasData(), hasGuiding(), hasMesh(), hasNoise(), hasParticles(), MANTA(), readConfiguration(), readData(), readGuiding(), readMesh(), readNoise(), readParticles(), updatePointers(), writeConfiguration(), writeData(), writeNoise(), and ~MANTA().