![]() |
GemaCoreLib
The GeMA Core library
|
Implementation of the GmFileIOUtils namespace. More...
#include "gmFileIOUtils.h"#include "gmMesh.h"#include "gmCellMesh.h"#include "gmElementMesh.h"#include "gmTaskManager.h"#include "gmValueAccessor.h"#include "gmCellAccessor.h"#include "gmGaussAccessor.h"#include "gmCell.h"#include "gmElement.h"
Functions | |
| GMC_API_EXPORT void | GmFileIOUtils::fillNodeAcBuffer (GmTaskManager *tm, const GmMesh *mesh, GmValueAccessor *nac, int dimFilter, const TransformF &transformFunc, const QVector< int > &indexer, int nodeStart, int nodeCount, GmWBuffer &bbuf) |
| Utillity to fill a buffer with node accessor data. Gema tasks are used to speed up accessors with lua user functions. | |
| GMC_API_EXPORT void | GmFileIOUtils::fillCellAcBuffer (GmTaskManager *tm, const GmCellMesh *mesh, const GmCellAccessor *cac, const GmValueAccessor *coordAc, int dimFilter, const QVector< int > &indexer, int cellStart, int cellCount, GmWBuffer &bbuf) |
| Utillity to fill a buffer with cell accessor data. Gema tasks are used to speed up accessors with lua user functions. | |
| GMC_API_EXPORT int | GmFileIOUtils::fillGaussAcBuffer (GmTaskManager *tm, const GmElementMesh *mesh, const GmGaussAccessor *gac, int rule, int dimFilter, const QVector< GmFileFilter::Indexer > &preIndex, int cellStart, int cellCount, int valueStart, GmWBuffer &bbuf) |
| Utillity to fill a buffer with gauss accessor data. Gema tasks are used to speed up accessors with lua user functions. | |
Implementation of the GmFileIOUtils namespace.
| GMC_API_EXPORT void GmFileIOUtils::fillCellAcBuffer | ( | GmTaskManager * | tm, |
| const GmCellMesh * | mesh, | ||
| const GmCellAccessor * | cac, | ||
| const GmValueAccessor * | coordAc, | ||
| int | dimFilter, | ||
| const QVector< int > & | indexer, | ||
| int | cellStart, | ||
| int | cellCount, | ||
| GmWBuffer & | bbuf ) |
Utillity to fill a buffer with cell accessor data. Gema tasks are used to speed up accessors with lua user functions.
| mesh | The mesh that contains the Cell data to be saved |
| cac | The accessor providing Cell data. |
| dimFilter | A filter that can specify that only a single dimension of a vector (or matrix) data should be exported. Use -1 to specify that all dimensions should be saved. |
| Indexer | A vector with cellId and its global index start position |
| cellStart | Where in the Indexer we are starting from |
| cellCount | How many cells we are processing in this batch |
| bbuf | The buffer to write to |
| GMC_API_EXPORT int GmFileIOUtils::fillGaussAcBuffer | ( | GmTaskManager * | tm, |
| const GmElementMesh * | mesh, | ||
| const GmGaussAccessor * | gac, | ||
| int | rule, | ||
| int | dimFilter, | ||
| const QVector< GmFileFilter::Indexer > & | preIndex, | ||
| int | cellStart, | ||
| int | cellCount, | ||
| int | valueStart, | ||
| GmWBuffer & | bbuf ) |
Utillity to fill a buffer with gauss accessor data. Gema tasks are used to speed up accessors with lua user functions.
| mesh | The mesh that contains the Gauss data to be saved |
| gac | The accessor providing Gauss data. |
| rule | The integration rule number |
| dimFilter | A filter that can specify that only a single dimension of a vector (or matrix) data should be exported. Use -1 to specify that all dimensions should be saved. |
| preIndex | A vector with cellId and its global index start position |
| cellStart | Starting cell index |
| cellCount | How many cells we are processing in this batch |
| valueStart | Starting global index for values in this batch |
| bbuf | The buffer to write to |
| GMC_API_EXPORT void GmFileIOUtils::fillNodeAcBuffer | ( | GmTaskManager * | tm, |
| const GmMesh * | mesh, | ||
| GmValueAccessor * | nac, | ||
| int | dimFilter, | ||
| const TransformF & | transformFunc, | ||
| const QVector< int > & | indexer, | ||
| int | nodeStart, | ||
| int | nodeCount, | ||
| GmWBuffer & | bbuf ) |
Utillity to fill a buffer with node accessor data. Gema tasks are used to speed up accessors with lua user functions.
| mesh | The mesh that contains the Cell data to be saved |
| nac | The accessor providing Node data. |
| dimFilter | A filter that can specify that only a single dimension of a vector (or matrix) data should be exported. Use -1 to specify that all dimensions should be saved. |
| Indexer | A vector with nodeId and its global index start position |
| nodeStart | Where in the Indexer we are starting from |
| nodeCount | How many nodes we are processing in this batch |
| bbuf | The buffer to write to |