Nektar++
Classes | Namespaces | Typedefs | Functions | Variables
FieldIO.h File Reference
#include <LibUtilities/BasicUtils/SessionReader.h>
#include <LibUtilities/BasicUtils/ShapeType.hpp>
#include <LibUtilities/Communication/Comm.h>
#include <LibUtilities/Foundations/Basis.h>
#include <LibUtilities/Foundations/Points.h>
#include <tinyxml.h>
#include <LibUtilities/BasicUtils/NekFactory.hpp>

Go to the source code of this file.

Classes

class  Nektar::LibUtilities::TagWriter
 Base class for writing hierarchical data (XML or HDF5). More...
 
class  Nektar::LibUtilities::DataSource
 
struct  Nektar::LibUtilities::FieldDefinitions
 Metadata that describes the storage properties of field output. More...
 
class  Nektar::LibUtilities::FieldIO
 Class for operating on Nektar++ input/output files. More...
 

Namespaces

namespace  Nektar
 
namespace  Nektar::LibUtilities
 

Typedefs

typedef std::map< std::string, std::string > Nektar::LibUtilities::FieldMetaDataMap
 
typedef std::shared_ptr< TagWriter > Nektar::LibUtilities::TagWriterSharedPtr
 
typedef std::shared_ptr< DataSource > Nektar::LibUtilities::DataSourceSharedPtr
 
typedef std::shared_ptr< FieldDefinitions > Nektar::LibUtilities::FieldDefinitionsSharedPtr
 
typedef LibUtilities::NekFactory< std::string, FieldIO, LibUtilities::CommSharedPtr, bool > Nektar::LibUtilities::FieldIOFactory
 Datatype of the NekFactory used to instantiate classes. More...
 
typedef std::shared_ptr< FieldIO > Nektar::LibUtilities::FieldIOSharedPtr
 

Functions

void Nektar::LibUtilities::Write (const std::string &outFile, std::vector< FieldDefinitionsSharedPtr > &fielddefs, std::vector< std::vector< NekDouble > > &fielddata, const FieldMetaDataMap &fieldinfomap, const bool backup)
 This function allows for data to be written to an FLD file when a session and/or communicator is not instantiated. Typically used in utilities which do not take XML input and operate in serial only. More...
 
void Nektar::LibUtilities::Import (const std::string &infilename, std::vector< FieldDefinitionsSharedPtr > &fielddefs, std::vector< std::vector< NekDouble > > &fielddata, FieldMetaDataMap &fieldinfomap, const Array< OneD, int > &ElementIDs)
 This function allows for data to be imported from an FLD file when a session and/or communicator is not instantiated. Typically used in utilities which only operate in serial. More...
 
FieldIOFactory & Nektar::LibUtilities::GetFieldIOFactory ()
 Returns the FieldIO factory. More...
 

Variables

static FieldMetaDataMap Nektar::LibUtilities::NullFieldMetaDataMap