GAS_SPHForces Class Reference

#include <GAS_SPHForces.h>

Inheritance diagram for GAS_SPHForces:

GAS_SubSolver SIM_Solver SIM_OptionsUser SIM_Data

List of all members.

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_JobInfoinfo
bool dopressure
bool bool diviscosity
bool bool bool dotension
bool bool bool const UT_JobInfoinfo
SIM_Time timestep
SIM_Time const UT_JobInfoinfo
const UT_JobInfoinfo


Detailed Description

Definition at line 34 of file GAS_SPHForces.h.


Constructor & Destructor Documentation

GAS_SPHForces::GAS_SPHForces ( const SIM_DataFactory factory  )  [explicit, protected]

virtual GAS_SPHForces::~GAS_SPHForces (  )  [protected, virtual]


Member Function Documentation

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]


Member Data Documentation

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.

Definition at line 69 of file GAS_SPHForces.h.

const UT_JobInfo& GAS_SPHForces::info [protected]

Reimplemented from GAS_SubSolver.

Definition at line 87 of file GAS_SPHForces.h.

Reimplemented from GAS_SubSolver.

Definition at line 81 of file GAS_SPHForces.h.

bool bool bool const UT_JobInfo& GAS_SPHForces::info [protected]

Reimplemented from GAS_SubSolver.

Definition at line 76 of file GAS_SPHForces.h.

Reimplemented from GAS_SubSolver.

Definition at line 69 of file GAS_SPHForces.h.

Definition at line 81 of file GAS_SPHForces.h.


The documentation for this class was generated from the following file:

Generated on Thu May 24 00:09:35 2012 for HDK by  doxygen 1.5.9