|
#include <iostream>
#include <fstream>
#include <Logger.h>
#include "MercuryData.h"
#include "VTKData.h"
Functions | |
template<std::size_t NDIMS> | |
int | transformMercuryToVTK (MercuryDataFile &infile, std::string prefix) |
Templated version to automatically generate VTK output files. More... | |
int | main (int argc, char **argv) |
int main | ( | int argc | , |
char ** | argv | ||
) |
References ERROR, FATAL, MercuryDataFile::isMercuryDataFile(), logger, and VERBOSE.
int transformMercuryToVTK | ( | MercuryDataFile & | infile, |
std::string | prefix | ||
) |
Templated version to automatically generate VTK output files.
this function reads the NDIMS-dimensional Mercury .data file, and writes all the corresponding VTK output files.
References VTKPointDescriptor< T >::addProperty(), VTKCollection::append(), MercuryDataFile::as(), FATAL, INFO, logger, WARN, and VTKUnstructuredGrid< T >::write().