RBGen  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
RBGen::NetCDFFileIOHandler Class Reference

FileIOHandler for reading an Epetra_MultiVector from a NetCDF file. More...

#include <RBGen_NetCDFFileIOHandler.h>

Inheritance diagram for RBGen::NetCDFFileIOHandler:
RBGen::FileIOHandler< Epetra_MultiVector >

Public Member Functions

Constructor/Destructor.
 NetCDFFileIOHandler ()
 Default constructor. More...
 
virtual ~NetCDFFileIOHandler ()
 Destructor. More...
 
Initialization/Reset Methods
void Initialize (const Teuchos::RCP< Teuchos::ParameterList > &params)
 Initialize file reader using. More...
 
void Reset ()
 
File Reading Methods
Teuchos::RCP< Epetra_MultiVectorRead (const std::vector< std::string > &filenames)
 Method for reading multiple files and putting them into an Epetra_MultiVector. More...
 
Writing Methods
void Write (const Teuchos::RCP< const Epetra_MultiVector > &MV, const std::string &filename)
 Method for writing one Epetra_MultiVector into a file. More...
 
Handler Status Methods
bool isInitialized () const
 Return initialized status of the handler. More...
 
- Public Member Functions inherited from RBGen::FileIOHandler< Epetra_MultiVector >
 FileIOHandler ()
 Default constructor. More...
 
virtual ~FileIOHandler ()
 Destructor. More...
 
void Reset ()
 

Detailed Description

FileIOHandler for reading an Epetra_MultiVector from a NetCDF file.

Definition at line 18 of file RBGen_NetCDFFileIOHandler.h.

Constructor & Destructor Documentation

RBGen::NetCDFFileIOHandler::NetCDFFileIOHandler ( )

Default constructor.

Definition at line 24 of file RBGen_NetCDFFileIOHandler.cpp.

RBGen::NetCDFFileIOHandler::~NetCDFFileIOHandler ( )
virtual

Destructor.

Definition at line 29 of file RBGen_NetCDFFileIOHandler.cpp.

Member Function Documentation

void RBGen::NetCDFFileIOHandler::Initialize ( const Teuchos::RCP< Teuchos::ParameterList > &  params)
virtual

Initialize file reader using.

Implements RBGen::FileIOHandler< Epetra_MultiVector >.

Definition at line 36 of file RBGen_NetCDFFileIOHandler.cpp.

Teuchos::RCP< Epetra_MultiVector > RBGen::NetCDFFileIOHandler::Read ( const std::vector< std::string > &  filenames)
virtual

Method for reading multiple files and putting them into an Epetra_MultiVector.

Implements RBGen::FileIOHandler< Epetra_MultiVector >.

Definition at line 61 of file RBGen_NetCDFFileIOHandler.cpp.

void RBGen::NetCDFFileIOHandler::Write ( const Teuchos::RCP< const Epetra_MultiVector > &  MV,
const std::string &  filename 
)
virtual

Method for writing one Epetra_MultiVector into a file.

Implements RBGen::FileIOHandler< Epetra_MultiVector >.

Definition at line 361 of file RBGen_NetCDFFileIOHandler.cpp.

bool RBGen::NetCDFFileIOHandler::isInitialized ( ) const
inlinevirtual

Return initialized status of the handler.

Implements RBGen::FileIOHandler< Epetra_MultiVector >.

Definition at line 61 of file RBGen_NetCDFFileIOHandler.h.


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