Version: 8.3.0
vtkMEDWriter.cxx File Reference
#include "vtkMEDWriter.h"
#include "vtkAdjacentVertexIterator.h"
#include "vtkIntArray.h"
#include "vtkLongArray.h"
#include "vtkCellData.h"
#include "vtkPointData.h"
#include "vtkFloatArray.h"
#include "vtkCellArray.h"
#include "vtkStreamingDemandDrivenPipeline.h"
#include "vtkInformationDataObjectMetaDataKey.h"
#include "vtkUnstructuredGrid.h"
#include "vtkMultiBlockDataSet.h"
#include "vtkRectilinearGrid.h"
#include "vtkInformationStringKey.h"
#include "vtkAlgorithmOutput.h"
#include "vtkObjectFactory.h"
#include "vtkMutableDirectedGraph.h"
#include "vtkPolyData.h"
#include "vtkDataSet.h"
#include "vtkInformationVector.h"
#include "vtkInformation.h"
#include "vtkDataArraySelection.h"
#include "vtkTimeStamp.h"
#include "vtkInEdgeIterator.h"
#include "vtkInformationDataObjectKey.h"
#include "vtkExecutive.h"
#include "vtkVariantArray.h"
#include "vtkStringArray.h"
#include "vtkDoubleArray.h"
#include "vtkCharArray.h"
#include "vtkUnsignedCharArray.h"
#include "vtkDataSetAttributes.h"
#include "vtkDemandDrivenPipeline.h"
#include "vtkDataObjectTreeIterator.h"
#include "vtkWarpScalar.h"
#include "MEDFileMesh.hxx"
#include "MEDFileField.hxx"
#include "MEDFileData.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MEDCouplingFieldInt.hxx"
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include <map>
#include <deque>
#include <sstream>
Include dependency graph for vtkMEDWriter.cxx:

Data Structures

class  MZCException
 
class  MicroField
 
class  Grp
 
class  Fam
 

Functions

 vtkStandardNewMacro (vtkMEDWriter)
 
std::map< int, int > ComputeMapOfType ()
 
std::string GetMeshNameWithContext (const std::vector< int > &context)
 
DataArrayInt * ConvertVTKArrayToMCArrayInt (vtkDataArray *data)
 
DataArrayDouble * ConvertVTKArrayToMCArrayDouble (vtkDataArray *data)
 
DataArray * ConvertVTKArrayToMCArray (vtkDataArray *data)
 
MEDCouplingUMesh * BuildMeshFromCellArray (vtkCellArray *ca, DataArrayDouble *coords, int meshDim, INTERP_KERNEL::NormalizedCellType type)
 
MEDCouplingUMesh * BuildMeshFromCellArrayTriangleStrip (vtkCellArray *ca, DataArrayDouble *coords, MCAuto< DataArrayInt > &ids)
 
void AppendMCFieldFrom (MEDCoupling::TypeOfField tf, MEDCouplingMesh *mesh, MEDFileData *mfd, MCAuto< DataArray > da, const DataArrayInt *n2oPtr)
 
void PutAtLevelDealOrder (MEDFileData *mfd, int meshDimRel, const MicroField &mf)
 
void AssignSingleGTMeshes (MEDFileData *mfd, const std::vector< MicroField > &ms)
 
DataArrayDouble * BuildCoordsFrom (vtkPointSet *ds)
 
void AddNodeFields (MEDFileData *mfd, vtkDataSetAttributes *dsa)
 
std::vector< MCAuto< DataArray > > AddPartFields (const DataArrayInt *part, vtkDataSetAttributes *dsa)
 
std::vector< MCAuto< DataArray > > AddPartFields2 (int bg, int end, vtkDataSetAttributes *dsa)
 
void ConvertFromRectilinearGrid (MEDFileData *ret, vtkRectilinearGrid *ds, const std::vector< int > &context)
 
void ConvertFromPolyData (MEDFileData *ret, vtkPolyData *ds, const std::vector< int > &context)
 
void ConvertFromUnstructuredGrid (MEDFileData *ret, vtkUnstructuredGrid *ds, const std::vector< int > &context)
 
vtkInformationDataObjectMetaDataKey * GetMEDReaderMetaDataIfAny ()
 
bool IsInformationOK (vtkInformation *info)
 
void LoadFamGrpMapInfo (vtkMutableDirectedGraph *sil, std::string &meshName, std::vector< Grp > &groups, std::vector< Fam > &fams)
 
void WriteMEDFileFromVTKDataSet (MEDFileData *mfd, vtkDataSet *ds, const std::vector< int > &context)
 
void WriteMEDFileFromVTKMultiBlock (MEDFileData *mfd, vtkMultiBlockDataSet *ds, const std::vector< int > &context)
 
void WriteMEDFileFromVTKGDS (MEDFileData *mfd, vtkDataObject *input)
 
void PutFamGrpInfoIfAny (MEDFileData *mfd, const std::string &meshName, const std::vector< Grp > &groups, const std::vector< Fam > &fams)
 

Function Documentation

vtkStandardNewMacro ( vtkMEDWriter  )
std::map<int,int> ComputeMapOfType ( )
std::string GetMeshNameWithContext ( const std::vector< int > &  context)
DataArrayInt* ConvertVTKArrayToMCArrayInt ( vtkDataArray *  data)
DataArrayDouble* ConvertVTKArrayToMCArrayDouble ( vtkDataArray *  data)
DataArray* ConvertVTKArrayToMCArray ( vtkDataArray *  data)
MEDCouplingUMesh* BuildMeshFromCellArray ( vtkCellArray *  ca,
DataArrayDouble *  coords,
int  meshDim,
INTERP_KERNEL::NormalizedCellType  type 
)
MEDCouplingUMesh* BuildMeshFromCellArrayTriangleStrip ( vtkCellArray *  ca,
DataArrayDouble *  coords,
MCAuto< DataArrayInt > &  ids 
)
void AppendMCFieldFrom ( MEDCoupling::TypeOfField  tf,
MEDCouplingMesh *  mesh,
MEDFileData *  mfd,
MCAuto< DataArray >  da,
const DataArrayInt *  n2oPtr 
)
void PutAtLevelDealOrder ( MEDFileData *  mfd,
int  meshDimRel,
const MicroField mf 
)
void AssignSingleGTMeshes ( MEDFileData *  mfd,
const std::vector< MicroField > &  ms 
)

References PutAtLevelDealOrder().

DataArrayDouble* BuildCoordsFrom ( vtkPointSet *  ds)
void AddNodeFields ( MEDFileData *  mfd,
vtkDataSetAttributes *  dsa 
)
std::vector<MCAuto<DataArray> > AddPartFields ( const DataArrayInt *  part,
vtkDataSetAttributes *  dsa 
)
std::vector<MCAuto<DataArray> > AddPartFields2 ( int  bg,
int  end,
vtkDataSetAttributes *  dsa 
)
void ConvertFromRectilinearGrid ( MEDFileData *  ret,
vtkRectilinearGrid *  ds,
const std::vector< int > &  context 
)
void ConvertFromPolyData ( MEDFileData *  ret,
vtkPolyData *  ds,
const std::vector< int > &  context 
)
void ConvertFromUnstructuredGrid ( MEDFileData *  ret,
vtkUnstructuredGrid *  ds,
const std::vector< int > &  context 
)
vtkInformationDataObjectMetaDataKey* GetMEDReaderMetaDataIfAny ( )
bool IsInformationOK ( vtkInformation *  info)
void LoadFamGrpMapInfo ( vtkMutableDirectedGraph *  sil,
std::string &  meshName,
std::vector< Grp > &  groups,
std::vector< Fam > &  fams 
)
void WriteMEDFileFromVTKDataSet ( MEDFileData *  mfd,
vtkDataSet *  ds,
const std::vector< int > &  context 
)
void WriteMEDFileFromVTKMultiBlock ( MEDFileData *  mfd,
vtkMultiBlockDataSet *  ds,
const std::vector< int > &  context 
)
void WriteMEDFileFromVTKGDS ( MEDFileData *  mfd,
vtkDataObject *  input 
)
void PutFamGrpInfoIfAny ( MEDFileData *  mfd,
const std::string &  meshName,
const std::vector< Grp > &  groups,
const std::vector< Fam > &  fams 
)