#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, const GAS_SPH *sph, int i=0, int n=-1) |
| void | accumulateViscousForce (GU_Detail *gdp, const GAS_SPH *sph, int i=0, int n=-1) |
| void | accumulateSurfaceForce (GU_Detail *gdp, const 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_METHOD5 (GAS_SPHForces, shouldMultiThread(), calcForces, GU_Detail *, gdp, const GAS_SPH &, sph, bool, dopressure, bool, doviscosity, bool, dotension) void calcForcesPartial(GU_Detail *gdp | |
Protected Attributes | |
| fpreal | gasconstant |
| fpreal const UT_JobInfo & | info |
| const GAS_SPH & | sph |
| const GAS_SPH bool | dopressure |
| const GAS_SPH bool bool | diviscosity |
| const GAS_SPH bool bool bool | dotension |
| const GAS_SPH bool bool bool 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, | |
| const GAS_SPH * | sph, | |||
| int | i = 0, |
|||
| int | n = -1 | |||
| ) | [protected] |
| void GAS_SPHForces::accumulateSurfaceForce | ( | GU_Detail * | gdp, | |
| const GAS_SPH * | sph, | |||
| int | i = 0, |
|||
| int | n = -1 | |||
| ) | [protected] |
| void GAS_SPHForces::accumulateViscousForce | ( | GU_Detail * | gdp, | |
| const 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_METHOD2 | ( | GAS_SPHForces | , | |
| shouldMultiThread() | , | |||
| calcPressure | , | |||
| GU_Detail * | , | |||
| gdp | , | |||
| fpreal | , | |||
| gasconstant | ||||
| ) | [protected] |
| GAS_SPHForces::THREADED_METHOD5 | ( | GAS_SPHForces | , | |
| shouldMultiThread() | , | |||
| calcForces | , | |||
| GU_Detail * | , | |||
| gdp | , | |||
| const GAS_SPH & | , | |||
| sph | , | |||
| bool | , | |||
| dopressure | , | |||
| bool | , | |||
| doviscosity | , | |||
| bool | , | |||
| dotension | ||||
| ) | [protected] |
const GAS_SPH bool bool GAS_SPHForces::diviscosity [protected] |
Definition at line 80 of file GAS_SPHForces.h.
const GAS_SPH bool GAS_SPHForces::dopressure [protected] |
Definition at line 80 of file GAS_SPHForces.h.
const GAS_SPH bool bool bool GAS_SPHForces::dotension [protected] |
Definition at line 80 of file GAS_SPHForces.h.
fpreal GAS_SPHForces::gasconstant [protected] |
Definition at line 71 of file GAS_SPHForces.h.
const GAS_SPH bool bool bool const UT_JobInfo& GAS_SPHForces::info [protected] |
fpreal const UT_JobInfo& GAS_SPHForces::info [protected] |
const GAS_SPH& GAS_SPHForces::sph [protected] |
Definition at line 80 of file GAS_SPHForces.h.
1.5.9