#include <GAS_SPHForces.h>

Public Member Functions | |
| GET_DATA_FUNC_S (GAS_NAME_GEOMETRY, GeometryName) | |
| GET_DATA_FUNC_F ("gasconstant", GasConstant) | |
| GET_DATA_FUNC_B ("dopressure", DoPressure) | |
| GET_DATA_FUNC_B ("doviscosity", DoViscosity) | |
| GET_DATA_FUNC_B ("dotension", DoTension) | |
| GET_DATA_FUNC_B ("computev", ComputeVelocity) | |
Protected Member Functions | |
| GAS_SPHForces (const SIM_DataFactory *factory) | |
| virtual | ~GAS_SPHForces () |
| virtual bool | solveGasSubclass (SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep) |
| bool | shouldMultiThread () |
| void | calculatePressure (GU_Detail *gdp, fpreal gasconstant, int i=0, int n=-1) |
| void | accumulatePressureForce (GU_Detail *gdp, GAS_SPH *sph, int i=0, int n=-1) |
| void | accumulateViscousForce (GU_Detail *gdp, GAS_SPH *sph, int i=0, int n=-1) |
| void | accumulateSurfaceForce (GU_Detail *gdp, GAS_SPH *sph, int i=0, int n=-1) |
| THREADED_METHOD2 (GAS_SPHForces, shouldMultiThread(), calcPressure, GU_Detail *, gdp, fpreal, gasconstant) void calcPressurePartial(GU_Detail *gdp | |
| THREADED_METHOD4 (GAS_SPHForces, shouldMultiThread(), calcForces, GU_Detail *, gdp, bool, dopressure, bool, doviscosity, bool, dotension) void calcForcesPartial(GU_Detail *gdp | |
| THREADED_METHOD2 (GAS_SPHForces, shouldMultiThread(), applyForces, GU_Detail *, gdp, SIM_Time, timestep) void applyForcesPartial(GU_Detail *gdp | |
| THREADED_METHOD1 (GAS_SPHForces, shouldMultiThread(), clearForces, GU_Detail *, gdp) void clearForcesPartial(GU_Detail *gdp | |
Protected Attributes | |
| fpreal | gasconstant |
| fpreal const UT_JobInfo & | info |
| bool | dopressure |
| bool bool | diviscosity |
| bool bool bool | dotension |
| bool bool bool const UT_JobInfo & | info |
| SIM_Time | timestep |
| SIM_Time const UT_JobInfo & | info |
| const UT_JobInfo & | info |
Definition at line 34 of file GAS_SPHForces.h.
| GAS_SPHForces::GAS_SPHForces | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual GAS_SPHForces::~GAS_SPHForces | ( | ) | [protected, virtual] |
| void GAS_SPHForces::accumulatePressureForce | ( | GU_Detail * | gdp, | |
| GAS_SPH * | sph, | |||
| int | i = 0, |
|||
| int | n = -1 | |||
| ) | [protected] |
| void GAS_SPHForces::accumulateSurfaceForce | ( | GU_Detail * | gdp, | |
| GAS_SPH * | sph, | |||
| int | i = 0, |
|||
| int | n = -1 | |||
| ) | [protected] |
| void GAS_SPHForces::accumulateViscousForce | ( | GU_Detail * | gdp, | |
| GAS_SPH * | sph, | |||
| int | i = 0, |
|||
| int | n = -1 | |||
| ) | [protected] |
| void GAS_SPHForces::calculatePressure | ( | GU_Detail * | gdp, | |
| fpreal | gasconstant, | |||
| int | i = 0, |
|||
| int | n = -1 | |||
| ) | [protected] |
| GAS_SPHForces::GET_DATA_FUNC_B | ( | "computev" | , | |
| ComputeVelocity | ||||
| ) |
| GAS_SPHForces::GET_DATA_FUNC_B | ( | "dotension" | , | |
| DoTension | ||||
| ) |
| GAS_SPHForces::GET_DATA_FUNC_B | ( | "doviscosity" | , | |
| DoViscosity | ||||
| ) |
| GAS_SPHForces::GET_DATA_FUNC_B | ( | "dopressure" | , | |
| DoPressure | ||||
| ) |
| GAS_SPHForces::GET_DATA_FUNC_F | ( | "gasconstant" | , | |
| GasConstant | ||||
| ) |
| GAS_SPHForces::GET_DATA_FUNC_S | ( | GAS_NAME_GEOMETRY | , | |
| GeometryName | ||||
| ) |
| bool GAS_SPHForces::shouldMultiThread | ( | ) | [inline, protected] |
Definition at line 55 of file GAS_SPHForces.h.
| virtual bool GAS_SPHForces::solveGasSubclass | ( | SIM_Engine & | engine, | |
| SIM_Object * | obj, | |||
| SIM_Time | time, | |||
| SIM_Time | timestep | |||
| ) | [protected, virtual] |
Moves the fields given by FieldName by the given velocity field. Moves the points given by GeometryName likewise.
Implements GAS_SubSolver.
| GAS_SPHForces::THREADED_METHOD1 | ( | GAS_SPHForces | , | |
| shouldMultiThread() | , | |||
| clearForces | , | |||
| GU_Detail * | , | |||
| gdp | ||||
| ) | [protected] |
| GAS_SPHForces::THREADED_METHOD2 | ( | GAS_SPHForces | , | |
| shouldMultiThread() | , | |||
| applyForces | , | |||
| GU_Detail * | , | |||
| gdp | , | |||
| SIM_Time | , | |||
| timestep | ||||
| ) | [protected] |
| GAS_SPHForces::THREADED_METHOD2 | ( | GAS_SPHForces | , | |
| shouldMultiThread() | , | |||
| calcPressure | , | |||
| GU_Detail * | , | |||
| gdp | , | |||
| fpreal | , | |||
| gasconstant | ||||
| ) | [protected] |
| GAS_SPHForces::THREADED_METHOD4 | ( | GAS_SPHForces | , | |
| shouldMultiThread() | , | |||
| calcForces | , | |||
| GU_Detail * | , | |||
| gdp | , | |||
| bool | , | |||
| dopressure | , | |||
| bool | , | |||
| doviscosity | , | |||
| bool | , | |||
| dotension | ||||
| ) | [protected] |
bool bool GAS_SPHForces::diviscosity [protected] |
Definition at line 76 of file GAS_SPHForces.h.
bool GAS_SPHForces::dopressure [protected] |
Definition at line 76 of file GAS_SPHForces.h.
bool bool bool GAS_SPHForces::dotension [protected] |
Definition at line 76 of file GAS_SPHForces.h.
fpreal GAS_SPHForces::gasconstant [protected] |
Definition at line 69 of file GAS_SPHForces.h.
const UT_JobInfo& GAS_SPHForces::info [protected] |
SIM_Time const UT_JobInfo& GAS_SPHForces::info [protected] |
bool bool bool const UT_JobInfo& GAS_SPHForces::info [protected] |
fpreal const UT_JobInfo& GAS_SPHForces::info [protected] |
SIM_Time GAS_SPHForces::timestep [protected] |
Definition at line 81 of file GAS_SPHForces.h.
1.5.9