GAS_Advect Class Reference

#include <GAS_Advect.h>

Inheritance diagram for GAS_Advect:

GAS_SubSolver SIM_Solver SIM_OptionsUser SIM_Data

List of all members.

Public Member Functions

 GET_DATA_FUNC_S (GAS_NAME_FIELD, FieldName)
 GET_DATA_FUNC_S (GAS_NAME_GEOMETRY, GeometryName)
 GET_DATA_FUNC_S (GAS_NAME_COLLISION, CollisionName)
 GET_DATA_FUNC_S (GAS_NAME_VELOCITY, VelocityName)
 GET_DATA_FUNC_B ("usegeometryvelocity", UseGeometryVelocity)
 GET_DATA_FUNC_B ("useneighbour", UseNeighbour)
 GET_DATA_FUNC_I ("advectmethod", AdvectMethod)
 GET_DATA_FUNC_B (GAS_NAME_USETIMESTEP, UseTimeStep)
 GET_DATA_FUNC_F (GAS_NAME_TIMESCALE, TimeScale)

Static Public Member Functions

static UT_Vector3 getVelocity (const UT_Vector3 &p, int jobnum=0)
 Public velocity evaluation function.

Protected Member Functions

 GAS_Advect (const SIM_DataFactory *factory)
virtual ~GAS_Advect ()
virtual bool solveGasSubclass (SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)
 THREADED_METHOD5 (GAS_Advect, gdp->points().entries() > 100, advectPoints, GU_Detail *, gdp, const UT_DMatrix4 &, xform_togeo, const UT_DMatrix4 &, xform_toworld, const SIM_VectorField *, velocity, fpreal, timestep) void advectPointsPartial(GU_Detail *gdp
 Moves the markers according to the velocity field given.
 THREADED_METHOD5 (GAS_Advect, gdp->points().entries() > 100, advectPointsGeo, GU_Detail *, gdp, const UT_DMatrix4 &, xform_togeo, const UT_DMatrix4 &, xform_toworld, fpreal, timestep, fpreal, voxelsize) void advectPointsGeoPartial(GU_Detail *gdp
void advectPointsVel (SIM_Object *obj, GU_Detail *gdp, fpreal timestep)

Protected Attributes

const UT_DMatrix4xform_togeo
const UT_DMatrix4 const
UT_DMatrix4
xform_toworld
const UT_DMatrix4 const
UT_DMatrix4 const
SIM_VectorField
velocity
const UT_DMatrix4 const
UT_DMatrix4 const
SIM_VectorField fpreal 
timestep
const UT_DMatrix4 const
UT_DMatrix4 const
SIM_VectorField fpreal const
UT_JobInfo
info
const UT_DMatrix4 const
UT_DMatrix4 fpreal 
timestep
const UT_DMatrix4 const
UT_DMatrix4 fpreal fpreal 
voxelsize
const UT_DMatrix4 const
UT_DMatrix4 fpreal fpreal
const UT_JobInfo
info


Detailed Description

Definition at line 37 of file GAS_Advect.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

void GAS_Advect::advectPointsVel ( SIM_Object obj,
GU_Detail gdp,
fpreal  timestep 
) [protected]

GAS_Advect::GET_DATA_FUNC_B ( GAS_NAME_USETIMESTEP  ,
UseTimeStep   
)

GAS_Advect::GET_DATA_FUNC_B ( "useneighbour"  ,
UseNeighbour   
)

GAS_Advect::GET_DATA_FUNC_B ( "usegeometryvelocity"  ,
UseGeometryVelocity   
)

GAS_Advect::GET_DATA_FUNC_F ( GAS_NAME_TIMESCALE  ,
TimeScale   
)

GAS_Advect::GET_DATA_FUNC_I ( "advectmethod"  ,
AdvectMethod   
)

GAS_Advect::GET_DATA_FUNC_S ( GAS_NAME_VELOCITY  ,
VelocityName   
)

GAS_Advect::GET_DATA_FUNC_S ( GAS_NAME_COLLISION  ,
CollisionName   
)

GAS_Advect::GET_DATA_FUNC_S ( GAS_NAME_GEOMETRY  ,
GeometryName   
)

GAS_Advect::GET_DATA_FUNC_S ( GAS_NAME_FIELD  ,
FieldName   
)

static UT_Vector3 GAS_Advect::getVelocity ( const UT_Vector3 p,
int  jobnum = 0 
) [static]

Public velocity evaluation function.

virtual bool GAS_Advect::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_Advect::THREADED_METHOD5 ( GAS_Advect  ,
gdp->  points).entries(,
100  ,
advectPointsGeo  ,
GU_Detail ,
gdp  ,
const UT_DMatrix4 ,
xform_togeo  ,
const UT_DMatrix4 ,
xform_toworld  ,
fpreal  ,
timestep  ,
fpreal  ,
voxelsize   
) [protected]

GAS_Advect::THREADED_METHOD5 ( GAS_Advect  ,
gdp->  points).entries(,
100  ,
advectPoints  ,
GU_Detail ,
gdp  ,
const UT_DMatrix4 ,
xform_togeo  ,
const UT_DMatrix4 ,
xform_toworld  ,
const SIM_VectorField ,
velocity  ,
fpreal  ,
timestep   
) [protected]

Moves the markers according to the velocity field given.


Member Data Documentation

Reimplemented from GAS_SubSolver.

Definition at line 87 of file GAS_Advect.h.

Reimplemented from GAS_SubSolver.

Definition at line 74 of file GAS_Advect.h.

Definition at line 87 of file GAS_Advect.h.

Definition at line 74 of file GAS_Advect.h.

Definition at line 74 of file GAS_Advect.h.

Definition at line 87 of file GAS_Advect.h.

const UT_DMatrix4 & GAS_Advect::xform_togeo [protected]

Definition at line 74 of file GAS_Advect.h.

Definition at line 74 of file GAS_Advect.h.


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

Generated on Fri May 25 00:10:22 2012 for HDK by  doxygen 1.5.9