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, 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_JobInfoinfo
const GAS_SPHsph
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


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,
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]


Member Data Documentation

const GAS_SPH bool bool GAS_SPHForces::diviscosity [protected]

Definition at line 80 of file GAS_SPHForces.h.

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.

Definition at line 71 of file GAS_SPHForces.h.

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

Reimplemented from GAS_SubSolver.

Definition at line 80 of file GAS_SPHForces.h.

Reimplemented from GAS_SubSolver.

Definition at line 71 of file GAS_SPHForces.h.

Definition at line 80 of file GAS_SPHForces.h.


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

Generated on Mon Jan 28 00:28:38 2013 for HDK by  doxygen 1.5.9