|
[Sponsors] |
February 24, 2016, 13:16 |
Memory Leakage
|
#1 |
New Member
Marco
Join Date: Nov 2014
Location: Germany
Posts: 14
Rep Power: 11 |
Hi all,
I modified a function object to send volume field data to an external C function. I'm basically copying a field vector component to a scalarField variable, then I send a pointer, pointing to the C-data, to an external C++ function "CallScript". Code:
const scalarField fCellValues = values.component(vector::X); const double * const fieldVectorPtr = fCellValues.cdata(); const double response= mlObj.CallScript(mScriptFilename,nCellsPtr,fieldVectorPtr); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Memory bandwidth and memory interleaving | Sly | Hardware | 2 | February 19, 2015 13:41 |
Solver error message - memory usage | Jared1986 | CFX | 12 | December 2, 2014 05:28 |
Run-time memory allocation error | akalopsis | CFX | 0 | November 17, 2014 17:17 |
Lenovo C30 memory configuration and discussions with Lenovo | matthewe | Hardware | 3 | October 17, 2013 10:23 |
CFX CPU time & real time | Nick Strantzias | CFX | 8 | July 23, 2006 17:50 |