36#ifndef NEKTAR_LIB_UTILITIES_BASIC_UTILS_PTSIO_H
37#define NEKTAR_LIB_UTILITIES_BASIC_UTILS_PTSIO_H
63 bool sharedFilesystem =
false);
76 const bool backup =
false);
#define LIB_UTILITIES_EXPORT
void Write(const std::string &outFile, const PtsFieldSharedPtr &ptsField, const bool backup=false)
Save a pts field to a file.
PtsIO(LibUtilities::CommSharedPtr pComm, bool sharedFilesystem=false)
void SetUpFieldMetaData(const std::string outname)
virtual void v_ImportPtsFieldData(const std::string inFile, PtsFieldSharedPtr &ptsField, DomainRangeShPtr &Range=NullDomainRangeShPtr)
void Import(const std::string &inFile, PtsFieldSharedPtr &ptsField, FieldMetaDataMap &fieldmetadatamap=NullFieldMetaDataMap, DomainRangeShPtr &Range=NullDomainRangeShPtr)
Import a pts field from file.
std::string v_GetFileEnding() const override
std::map< std::string, std::string > PtsMetaDataMap
std::map< std::string, std::string > FieldMetaDataMap
static FieldMetaDataMap NullFieldMetaDataMap
static PtsMetaDataMap NullPtsMetaDataMap
std::shared_ptr< PtsField > PtsFieldSharedPtr
std::shared_ptr< DomainRange > DomainRangeShPtr
std::shared_ptr< PtsIO > PtsIOSharedPtr
static DomainRangeShPtr NullDomainRangeShPtr
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.