cee::ug::BulkCalculation Class Reference

Public Member Functions

 BulkCalculation (UnstructGridModel *model, size_t frameIndex)
 Prepares bulk calculation of a given model and frame index. More...
 
bool getCutplaneValues (size_t cuttingPlaneIndex, ResultType resultType, int resultId, std::vector< BulkValues > *cutplaneRegionArr)
 Computes the bulk values for the given cutting plane in the given model and frame. More...
 
bool getPartValues (size_t globalGeometryIndex, int partId, ResultType resultType, int resultId, BulkValues *bulkValues)
 Computes the bulk values for the given part. More...
 

Constructor & Destructor Documentation

cee::ug::BulkCalculation::BulkCalculation ( UnstructGridModel model,
size_t  frameIndex 
)

Prepares bulk calculation of a given model and frame index.

Member Function Documentation

bool cee::ug::BulkCalculation::getCutplaneValues ( size_t  cuttingPlaneIndex,
ResultType  resultType,
int  resultId,
std::vector< BulkValues > *  cutplaneRegionArr 
)

Computes the bulk values for the given cutting plane in the given model and frame.

Bulk calculation can be done on any scalar result and is not limited to the one mapped on the cutting plane.

bool cee::ug::BulkCalculation::getPartValues ( size_t  globalGeometryIndex,
int  partId,
ResultType  resultType,
int  resultId,
BulkValues bulkValues 
)

Computes the bulk values for the given part.

The bulk calculation will be performed on the visible surfaces of the part.