OGS
|
Definition in file PVD2XDMF.cpp.
#include <tclap/CmdLine.h>
#include <mpi.h>
#include <array>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <string>
#include "BaseLib/FileTools.h"
#include "BaseLib/Logging.h"
#include "BaseLib/MemWatch.h"
#include "BaseLib/RunTime.h"
#include "BaseLib/StringTools.h"
#include "InfoLib/GitInfo.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/IO/XDMF/XdmfHdfWriter.h"
#include "MeshLib/IO/readMeshFromFile.h"
#include "MeshLib/Mesh.h"
Go to the source code of this file.
Functions | |
std::vector< std::pair< double, std::string > > | readPvd (std::string const &pvd_filename) |
template<typename T > | |
bool | copyPropertyVector (MeshLib::Properties const &properties, MeshLib::PropertyVectorBase *destination_pv) |
void | testIfMeshesAreEqual (MeshLib::Mesh const &mesh, MeshLib::Mesh const &main_mesh, std::string error_message) |
int | main (int argc, char *argv[]) |
bool copyPropertyVector | ( | MeshLib::Properties const & | properties, |
MeshLib::PropertyVectorBase * | destination_pv ) |
Definition at line 59 of file PVD2XDMF.cpp.
References MeshLib::PropertyVectorBase::getMeshItemType(), MeshLib::PropertyVectorBase::getNumberOfGlobalComponents(), MeshLib::PropertyVectorBase::getPropertyName(), and MeshLib::Properties::getPropertyVector().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 109 of file PVD2XDMF.cpp.
References copyPropertyVector(), DBUG(), BaseLib::extractBaseNameWithoutExtension(), BaseLib::extractPath(), BaseLib::joinPaths(), OGS_FATAL, GitInfoLib::GitInfo::ogs_version, MeshLib::IO::readMeshFromFile(), readPvd(), BaseLib::setConsoleLogLevel(), and testIfMeshesAreEqual().
std::vector< std::pair< double, std::string > > readPvd | ( | std::string const & | pvd_filename | ) |
Definition at line 33 of file PVD2XDMF.cpp.
References DBUG(), and OGS_FATAL.
Referenced by main().
void testIfMeshesAreEqual | ( | MeshLib::Mesh const & | mesh, |
MeshLib::Mesh const & | main_mesh, | ||
std::string | error_message ) |
Definition at line 80 of file PVD2XDMF.cpp.
References MeshLib::Mesh::getDimension(), MeshLib::Mesh::getNumberOfElements(), MeshLib::Mesh::getNumberOfNodes(), and OGS_FATAL.
Referenced by main().