MiPerCellToPerNodeExtractUnstructured Class Reference
[Utilities]

MeshViz Convert data sets bound per cell into data sets bound per node on a given unstructured mesh. More...

#include <MeshVizXLM/extractors/MiPerCellToPerNodeExtractUnstructured.h>

Inheritance diagram for MiPerCellToPerNodeExtractUnstructured:
MiBaseExtractor

List of all members.

Public Member Functions

virtual ~MiPerCellToPerNodeExtractUnstructured ()
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0



static
MiPerCellToPerNodeExtractUnstructured
getNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true)
static
MiPerCellToPerNodeExtractUnstructured
getNewInstance (const MiSurfaceMeshUnstructured &mesh, bool parallel=true)

Detailed Description

MeshViz Convert data sets bound per cell into data sets bound per node on a given unstructured mesh.

This conversion tool is another type of extractor which takes a data set bound per cell on an unstructured mesh as input and produces a new data set bound per node on the same mesh.

The value computed at a given node is the average of values from cells sharing this node, except dead cells.

The following example shows how to convert data sets bound per cell:

   MiPerCellToPerNodeExtractUnstructured* extract =
     MiPerCellToPerNodeExtractUnstructured::getNewInstance(mesh);
   const MeXScalardSetI& perNodeScalarSet = extract->extractScalarSet(perCellScalarSet);
   const MeXVec3dSetI& perNodeVectorSet = extract->extractVec3Set(perCellVectorSet);

Constructor & Destructor Documentation

virtual MiPerCellToPerNodeExtractUnstructured::~MiPerCellToPerNodeExtractUnstructured (  )  [inline, virtual]

Member Function Documentation

virtual const MeXScalardSetI& MiPerCellToPerNodeExtractUnstructured::extractScalarSet ( const MiScalardSetI inputSet  )  [pure virtual]

Converts a PER_CELL scalar set defined on the input mesh into a PER_NODE scalar set.

Parameters:
inputSet The input PER_CELL scalar set defined on the input mesh.
Returns:
The output PER_NODE scalar set defined on the input mesh.
virtual const MeXVec3dSetI& MiPerCellToPerNodeExtractUnstructured::extractVec3Set ( const MiVec3dSetI inputSet  )  [pure virtual]

Converts a PER_CELL vector set defined on the input mesh into a PER_NODE vecto set.

Parameters:
inputSet The input PER_CELL vector set defined on the input mesh.
Returns:
The output PER_NODE vector set defined on the input mesh.
static MiPerCellToPerNodeExtractUnstructured* MiPerCellToPerNodeExtractUnstructured::getNewInstance ( const MiSurfaceMeshUnstructured mesh,
bool  parallel = true 
) [static]

Factory method returning a new instance of a class implementing this abstract class.

Parameters:
mesh The input mesh
parallel When true, tries to create an extract module using a parallel algorithm to speed up the extraction.
Note:
Only some of the extraction algorithms have a parallel implementation.
static MiPerCellToPerNodeExtractUnstructured* MiPerCellToPerNodeExtractUnstructured::getNewInstance ( const MiVolumeMeshUnstructured mesh,
bool  parallel = true 
) [static]

Factory method returning a new instance of a class implementing this abstract class.

Parameters:
mesh The input mesh
parallel When true, tries to create an extract module using a parallel algorithm to speed up the extraction.
Note:
Only some of the extraction algorithms have a parallel implementation.

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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/