// -*- c++ -*-
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    $RCSfile: vtkExodusFileSeriesReader.h,v $

  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/

/*
 * Copyright 2008 Sandia Corporation.
 * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
 * license for use of this work by or on behalf of the
 * U.S. Government. Redistribution and use in source and binary forms, with
 * or without modification, are permitted provided that this Notice and any
 * statement of authorship are reproduced on all copies.
 */

// .NAME vtkExodusFileSeriesReader - meta-reader to read Exodus file series from simulation restarts
//
// .SECTION Description
//
// Add some special sauce to the superclass that allows it to work with the
// parallel Exodus reader.  Specifically, changing the file name causes
// the selected output arrays to be cleared out.  This class saves and
// restores the information.
//

#ifndef __vtkExodusFileSeriesReader_h
#define __vtkExodusFileSeriesReader_h

#include "vtkFileSeriesReader.h"

class VTK_EXPORT vtkExodusFileSeriesReader : public vtkFileSeriesReader
{
public:
  vtkTypeRevisionMacro(vtkExodusFileSeriesReader, vtkFileSeriesReader);
  static vtkExodusFileSeriesReader *New();
  virtual void PrintSelf(ostream &os, vtkIndent indent);

protected:
  vtkExodusFileSeriesReader();
  ~vtkExodusFileSeriesReader();

  virtual int RequestInformationForInput(int index,
                                         vtkInformation *request,
                                         vtkInformationVector *outputVector);

private:
  vtkExodusFileSeriesReader(const vtkExodusFileSeriesReader &); // Not implemented
  void operator=(const vtkExodusFileSeriesReader &);    // Not implemented
};

#endif //__vtkExodusFileSeriesReader_h
