mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: paraFoam : load pointFields
This commit is contained in:
@ -31,6 +31,7 @@ License
|
|||||||
#include "cellModeller.H"
|
#include "cellModeller.H"
|
||||||
#include "vtkOpenFOAMPoints.H"
|
#include "vtkOpenFOAMPoints.H"
|
||||||
#include "Swap.H"
|
#include "Swap.H"
|
||||||
|
#include "longLong.H"
|
||||||
|
|
||||||
// VTK includes
|
// VTK includes
|
||||||
#include "vtkCellArray.h"
|
#include "vtkCellArray.h"
|
||||||
|
|||||||
@ -195,7 +195,15 @@ void Foam::vtkPV3Foam::convertPointField
|
|||||||
|
|
||||||
// Note: using the name of the original volField
|
// Note: using the name of the original volField
|
||||||
// not the name generated by the interpolation "volPointInterpolate(<name>)"
|
// not the name generated by the interpolation "volPointInterpolate(<name>)"
|
||||||
|
|
||||||
|
if (&tf != &GeometricField<Type, fvPatchField, volMesh>::null())
|
||||||
|
{
|
||||||
pointData->SetName(tf.name().c_str());
|
pointData->SetName(tf.name().c_str());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pointData->SetName(ptf.name().c_str());
|
||||||
|
}
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user