#include <GAS_VorticleForces.h>

Public Member Functions | |
| GET_DATA_FUNC_S (GAS_NAME_VELOCITY, VelocityName) | |
| GET_DATA_FUNC_S ("particlefield", ParticleField) | |
| GET_DATA_FUNC_S (GAS_NAME_GEOMETRY, GeometryName) | |
| GETSET_DATA_FUNCS_F ("confinement", ConfinementStrength) | |
| GET_DATA_FUNC_B ("computev", ComputeVelocity) | |
| GET_DATA_FUNC_B (GAS_NAME_USETIMESTEP, UseTimeStep) | |
| GET_DATA_FUNC_F (GAS_NAME_TIMESCALE, TimeScale) | |
| bool | shouldMultiThread () |
Protected Member Functions | |
| GAS_VorticleForces (const SIM_DataFactory *factory) | |
| virtual | ~GAS_VorticleForces () |
| virtual bool | solveGasSubclass (SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep) |
| THREADED_METHOD3 (GAS_VorticleForces, velocity->getField(0)->shouldMultiThread(), addVorticleForces, SIM_VectorField *, velocity, const GU_Detail *, vorticles, fpreal, timestep) void addVorticleForcesPartial(SIM_VectorField *velocity | |
| THREADED_METHOD4 (GAS_VorticleForces, shouldMultiThread(), calculateVorticleForces, const GU_Detail *, vorticles, GU_Detail *, gdp, fpreal, timestep, fpreal, confinement) void calculateVorticleForcesPartial(const GU_Detail *vorticles | |
Protected Attributes | |
| const GU_Detail * | vorticles |
| const GU_Detail fpreal | timestep |
| const GU_Detail fpreal const UT_JobInfo & | info |
| GU_Detail * | gdp |
| GU_Detail fpreal | timestep |
| GU_Detail fpreal fpreal | confinement |
| GU_Detail fpreal fpreal const UT_JobInfo & | info |
Definition at line 33 of file GAS_VorticleForces.h.
| GAS_VorticleForces::GAS_VorticleForces | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual GAS_VorticleForces::~GAS_VorticleForces | ( | ) | [protected, virtual] |
| GAS_VorticleForces::GET_DATA_FUNC_B | ( | GAS_NAME_USETIMESTEP | , | |
| UseTimeStep | ||||
| ) |
| GAS_VorticleForces::GET_DATA_FUNC_B | ( | "computev" | , | |
| ComputeVelocity | ||||
| ) |
| GAS_VorticleForces::GET_DATA_FUNC_F | ( | GAS_NAME_TIMESCALE | , | |
| TimeScale | ||||
| ) |
| GAS_VorticleForces::GET_DATA_FUNC_S | ( | GAS_NAME_GEOMETRY | , | |
| GeometryName | ||||
| ) |
| GAS_VorticleForces::GET_DATA_FUNC_S | ( | "particlefield" | , | |
| ParticleField | ||||
| ) |
| GAS_VorticleForces::GET_DATA_FUNC_S | ( | GAS_NAME_VELOCITY | , | |
| VelocityName | ||||
| ) |
| GAS_VorticleForces::GETSET_DATA_FUNCS_F | ( | "confinement" | , | |
| ConfinementStrength | ||||
| ) |
| bool GAS_VorticleForces::shouldMultiThread | ( | ) | [inline] |
Definition at line 45 of file GAS_VorticleForces.h.
| virtual bool GAS_VorticleForces::solveGasSubclass | ( | SIM_Engine & | engine, | |
| SIM_Object * | obj, | |||
| SIM_Time | time, | |||
| SIM_Time | timestep | |||
| ) | [protected, virtual] |
Applies a force to the velocity field proportional to the vorticle values.
Implements GAS_SubSolver.
| GAS_VorticleForces::THREADED_METHOD3 | ( | GAS_VorticleForces | , | |
| velocity-> | getField0)->shouldMultiThread(, | |||
| addVorticleForces | , | |||
| SIM_VectorField * | , | |||
| velocity | , | |||
| const GU_Detail * | , | |||
| vorticles | , | |||
| fpreal | , | |||
| timestep | ||||
| ) | [protected] |
| GAS_VorticleForces::THREADED_METHOD4 | ( | GAS_VorticleForces | , | |
| shouldMultiThread() | , | |||
| calculateVorticleForces | , | |||
| const GU_Detail * | , | |||
| vorticles | , | |||
| GU_Detail * | , | |||
| gdp | , | |||
| fpreal | , | |||
| timestep | , | |||
| fpreal | , | |||
| confinement | ||||
| ) | const [protected] |
GU_Detail fpreal fpreal GAS_VorticleForces::confinement [protected] |
Definition at line 74 of file GAS_VorticleForces.h.
GU_Detail* GAS_VorticleForces::gdp [protected] |
Definition at line 74 of file GAS_VorticleForces.h.
GU_Detail fpreal fpreal const UT_JobInfo& GAS_VorticleForces::info [protected] |
const GU_Detail fpreal const UT_JobInfo& GAS_VorticleForces::info [protected] |
GU_Detail fpreal GAS_VorticleForces::timestep [protected] |
const GU_Detail fpreal GAS_VorticleForces::timestep [protected] |
const GU_Detail* GAS_VorticleForces::vorticles [protected] |
Definition at line 64 of file GAS_VorticleForces.h.
1.5.9